<86>Nov 12 06:05:26 userdel[14630]: delete user 'rooter' <86>Nov 12 06:05:26 userdel[14630]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 12 06:05:26 groupadd[14636]: group added to /etc/group: name=rooter, GID=531 <86>Nov 12 06:05:26 groupadd[14636]: group added to /etc/gshadow: name=rooter <86>Nov 12 06:05:26 groupadd[14636]: new group: name=rooter, GID=531 <86>Nov 12 06:05:26 useradd[14641]: new user: name=rooter, UID=531, GID=531, home=/root, shell=/bin/bash <86>Nov 12 06:05:26 userdel[14649]: delete user 'builder' <86>Nov 12 06:05:26 userdel[14649]: removed group 'builder' owned by 'builder' <86>Nov 12 06:05:26 userdel[14649]: removed shadow group 'builder' owned by 'builder' <86>Nov 12 06:05:26 groupadd[14655]: group added to /etc/group: name=builder, GID=532 <86>Nov 12 06:05:26 groupadd[14655]: group added to /etc/gshadow: name=builder <86>Nov 12 06:05:26 groupadd[14655]: new group: name=builder, GID=532 <86>Nov 12 06:05:26 useradd[14659]: new user: name=builder, UID=532, GID=532, home=/usr/src, shell=/bin/bash <13>Nov 12 06:05:30 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed <13>Nov 12 06:05:30 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>Nov 12 06:05:30 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Nov 12 06:05:30 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Nov 12 06:05:30 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Nov 12 06:05:30 rpmi: libwxBase3.0-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed <13>Nov 12 06:05:30 rpmi: perl-XML-NamespaceSupport-1.12-alt1 1491296348 installed <13>Nov 12 06:05:30 rpmi: libidn2-2.2.0-alt1 sisyphus+229970.100.1.1 1558625623 installed <13>Nov 12 06:05:30 rpmi: libwayland-egl-4:18.1.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Nov 12 06:05:30 rpmi: libnettle7-3.5.1-alt1 sisyphus+235265.40.6.1 1566223043 installed <13>Nov 12 06:05:30 rpmi: libsqlite3-3.30.1-alt2 sisyphus+239645.100.1.1 1571835190 installed <13>Nov 12 06:05:30 rpmi: liblcms2-2.9-alt1 1516411888 installed <13>Nov 12 06:05:30 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed <13>Nov 12 06:05:30 rpmi: perl-Compress-Raw-Zlib-2.089-alt1 sisyphus+240408.100.1.1 1573131045 installed <13>Nov 12 06:05:30 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Nov 12 06:05:30 rpmi: perl-XML-SAX-Base-1.09-alt1 1494364363 installed <13>Nov 12 06:05:30 rpmi: libgudev-1:233-alt1 sisyphus+235422.100.1.1 1564855269 installed <13>Nov 12 06:05:30 rpmi: libmspack-0.6-alt1 1530626810 installed <13>Nov 12 06:05:30 rpmi: libfribidi-1.0.7-alt1 sisyphus+238256.100.1.1 1569654630 installed <13>Nov 12 06:05:30 rpmi: libglvnd-7:1.2.0-alt2 sisyphus+239998.100.1.1 1572427239 installed <13>Nov 12 06:05:30 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Nov 12 06:05:30 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066861 installed <13>Nov 12 06:05:30 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Nov 12 06:05:30 rpmi: libtasn1-4.14-alt1 sisyphus+235791.100.1.1 1565282369 installed <13>Nov 12 06:05:30 rpmi: msulogin-1.0-alt1 1366288481 installed <13>Nov 12 06:05:30 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Nov 12 06:05:30 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Nov 12 06:05:30 rpmi: sysvinit-2.88-alt6 sisyphus+240403.100.2.1 1573520131 installed <13>Nov 12 06:05:30 rpmi: libhogweed5-3.5.1-alt1 sisyphus+235265.40.6.1 1566223043 installed <13>Nov 12 06:05:30 rpmi: libgnutls30-3.6.10-alt1 sisyphus+238398.100.1.1 1569857989 installed <13>Nov 12 06:05:31 rpmi: libwxBase3.0-devel-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed <13>Nov 12 06:05:31 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Nov 12 06:05:31 rpmi: libwayland-cursor-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Nov 12 06:05:31 rpmi: libjasper-2.0.16-alt1 sisyphus+231386.100.1.1 1559568071 installed <13>Nov 12 06:05:31 rpmi: libxmlrpcxx-0.7-alt2.git20100306 1437051316 installed <13>Nov 12 06:05:31 rpmi: libchm-0.40-alt6 1523453646 installed <13>Nov 12 06:05:31 rpmi: gcc-c++-common-1.4.24-alt2 sisyphus+240563.100.1.1 1573475389 installed <13>Nov 12 06:05:31 rpmi: libstdc++9-devel-9.2.1-alt2 sisyphus+240563.200.2.1 1573478618 installed <13>Nov 12 06:05:32 rpmi: gcc9-c++-9.2.1-alt2 sisyphus+240563.200.2.1 1573478618 installed <13>Nov 12 06:05:32 rpmi: libxkbcommon-0.9.1-alt1 sisyphus+239553.100.1.1 1571659623 installed <13>Nov 12 06:05:32 rpmi: publicsuffix-list-dafsa-20191108-alt1 sisyphus+240482.100.1.2 1573431390 installed <13>Nov 12 06:05:32 rpmi: libpsl-0.21.0-alt2 sisyphus+237083.100.1.1 1567531663 installed <13>Nov 12 06:05:32 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Nov 12 06:05:32 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Nov 12 06:05:32 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <13>Nov 12 06:05:33 rpmi: libproxy-0.4.15-alt3 sisyphus+227885.100.1.2 1555818596 installed <13>Nov 12 06:05:33 rpmi: libepoxy-1.5.3-alt1 sisyphus+226740.100.2.3 1554619014 installed <13>Nov 12 06:05:33 rpmi: libusb-1.0.23-alt1 sisyphus+237317.100.1.1 1568059904 installed <13>Nov 12 06:05:33 rpmi: udev-rules-1:243-alt4 sisyphus+240263.100.1.1 1573004022 installed <13>Nov 12 06:05:33 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Nov 12 06:05:33 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Nov 12 06:05:33 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed <13>Nov 12 06:05:33 rpmi: perl-Compress-Raw-Bzip2-2.089-alt1 sisyphus+240407.100.1.1 1573129585 installed <13>Nov 12 06:05:33 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Nov 12 06:05:33 rpmi: perl-Term-ANSIColor-4.06-alt1 1479407083 installed <13>Nov 12 06:05:33 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Nov 12 06:05:33 rpmi: perl-Filter-1.59-alt1.1 sisyphus+219907.400.1.1 1548343225 installed <13>Nov 12 06:05:33 rpmi: perl-Encode-3.01-alt1 sisyphus+224923.100.1.1 1552474113 installed <13>Nov 12 06:05:33 rpmi: perl-URI-1.76-alt1 sisyphus+220243.100.1.1 1548863244 installed <13>Nov 12 06:05:33 rpmi: perl-IO-Compress-2.089-alt1 sisyphus+240416.100.1.1 1573134826 installed <13>Nov 12 06:05:33 rpmi: perl-Net-HTTP-6.19-alt1 sisyphus+229756.100.1.1 1558454558 installed <13>Nov 12 06:05:33 rpmi: perl-HTML-Parser-3.72-alt1.2 sisyphus+219907.600.1.1 1548343407 installed <13>Nov 12 06:05:33 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Nov 12 06:05:33 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Nov 12 06:05:33 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Nov 12 06:05:33 rpmi: perl-HTTP-Message-6.18-alt1 1528288416 installed <13>Nov 12 06:05:33 rpmi: perl-HTTP-Cookies-6.05-alt1 sisyphus+239848.100.1.1 1572262163 installed <13>Nov 12 06:05:33 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Nov 12 06:05:33 rpmi: perl-libwww-6.41-alt1 sisyphus+240084.100.1.1 1572552324 installed <13>Nov 12 06:05:33 rpmi: perl-XML-LibXML-2.0201-alt1 sisyphus+231120.200.1.1 1559144562 installed <13>Nov 12 06:05:33 rpmi: perl-XML-SAX-1.02-alt1 sisyphus+232322.100.1.1 1560758406 installed <13>Nov 12 06:05:33 rpmi: perl-XML-Simple-2.25-alt1 1521437714 installed <13>Nov 12 06:05:33 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Nov 12 06:05:34 rpmi: icon-theme-adwaita-3.34.3-alt1 sisyphus+240473.100.1.2 1573463296 installed <13>Nov 12 06:05:34 rpmi: liborc-0.4.31-alt1 sisyphus+240181.100.1.1 1572853313 installed <13>Nov 12 06:05:34 rpmi: wxGTK3.0-i18n-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed <13>Nov 12 06:05:34 rpmi: libdatrie-0.2.9-alt1_6 1511686677 installed <13>Nov 12 06:05:34 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Nov 12 06:05:34 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Nov 12 06:05:34 rpmi: libwebp7-1.0.3-alt1 sisyphus+234493.100.1.1 1563090161 installed <13>Nov 12 06:05:34 rpmi: libjbig-2.1-alt1 1401380921 installed <13>Nov 12 06:05:34 rpmi: libtiff5-4.0.10.0.93.91480d3d-alt1 sisyphus+231496.100.1.1 1559668975 installed <13>Nov 12 06:05:34 rpmi: libgdk-pixbuf-locales-2.40.0-alt1 sisyphus+238952.140.2.1 1570644607 installed <13>Nov 12 06:05:35 rpmi: libgtk+2-locales-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Nov 12 06:05:35 rpmi: libpixman-3:0.38.4-alt1 sisyphus+228006.100.1.1 1556013486 installed <13>Nov 12 06:05:35 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed <13>Nov 12 06:05:35 rpmi: libharfbuzz-2.6.4-alt1 sisyphus+240033.100.1.1 1572506772 installed <13>Nov 12 06:05:35 rpmi: libfreetype-2.10.1-alt1 sisyphus+237471.100.1.1 1568276349 installed <13>Nov 12 06:05:35 rpmi: fontconfig-2.13.1-alt1 sisyphus+226691.100.2.2 1554598717 installed Updating fonts cache: <29>Nov 12 06:05:36 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Nov 12 06:05:36 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Nov 12 06:05:36 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438297 installed <13>Nov 12 06:05:36 rpmi: libdrm-1:2.4.100-alt1 sisyphus+240099.100.1.1 1572599782 installed <13>Nov 12 06:05:36 rpmi: libgbm-4:19.2.3-alt1 sisyphus+240391.100.1.1 1573125441 installed <13>Nov 12 06:05:36 rpmi: libatk-locales-2.34.1-alt1 sisyphus+237956.700.4.2 1569332333 installed <13>Nov 12 06:05:36 rpmi: libatk-2.34.1-alt1 sisyphus+237956.700.4.2 1569332333 installed <13>Nov 12 06:05:36 rpmi: shared-mime-info-1.15-alt1 sisyphus+240378.100.1.1 1573073793 installed <13>Nov 12 06:05:36 rpmi: gsettings-desktop-schemas-data-3.34.0-alt1 sisyphus+237956.300.4.2 1569331130 installed <13>Nov 12 06:05:36 rpmi: libgio-2.62.2-alt1 sisyphus+239591.100.1.1 1571692074 installed <13>Nov 12 06:05:36 rpmi: gsettings-desktop-schemas-3.34.0-alt1 sisyphus+237956.300.4.2 1569331130 installed <13>Nov 12 06:05:36 rpmi: libgdk-pixbuf-2.40.0-alt1 sisyphus+238952.140.2.1 1570644607 installed <13>Nov 12 06:05:36 rpmi: libgstreamer1.0-1.16.1-alt1 sisyphus+238106.200.2.2 1569421652 installed <13>Nov 12 06:05:36 rpmi: gtk-update-icon-cache-3.24.12-alt1 sisyphus+238952.400.5.1 1570658028 installed <13>Nov 12 06:05:36 rpmi: libnotify-0.7.8-alt1 sisyphus+226665.100.1.1 1554498870 installed <13>Nov 12 06:05:36 rpmi: libgusb-0.3.0-alt1 1518891733 installed <13>Nov 12 06:05:36 rpmi: libcolord-1.4.4-alt2 sisyphus+229904.100.1.1 1558606512 installed <13>Nov 12 06:05:36 rpmi: libjson-glib-1.4.4-alt1 sisyphus.213175.100 1537249583 installed <13>Nov 12 06:05:36 rpmi: libdconf-0.34.0-alt1 sisyphus+237956.1500.4.2 1569334199 installed <13>Nov 12 06:05:36 rpmi: libseccomp-2.4.1-alt1 sisyphus+228056.100.1.1 1556057319 installed <13>Nov 12 06:05:36 rpmi: libpcre2-10.33-alt1.1 sisyphus+227856.100.1.2 1555786372 installed <13>Nov 12 06:05:36 rpmi: libiptables-1.8.3-alt2 sisyphus+230708.100.1.1 1559139619 installed <13>Nov 12 06:05:36 rpmi: libjson-c4-0.13.1-alt1 sisyphus+226468.100.8.1 1554723265 installed <13>Nov 12 06:05:36 rpmi: libdevmapper-1.02.165-alt1 sisyphus+239746.100.1.1 1572010848 installed <13>Nov 12 06:05:36 rpmi: libargon2-20190702-alt1 sisyphus+235300.100.1.1 1564606506 installed <13>Nov 12 06:05:36 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Nov 12 06:05:36 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746563 installed <13>Nov 12 06:05:36 rpmi: libsystemd-1:243-alt4 sisyphus+240263.100.1.1 1573004022 installed <13>Nov 12 06:05:36 rpmi: libdbus-1.12.16-alt1 sisyphus+240314.100.1.1 1573030982 installed <13>Nov 12 06:05:36 rpmi: libavahi-0.7-alt1 sisyphus+237493.100.1.1 1568299460 installed <13>Nov 12 06:05:37 rpmi: libcups-2.2.12-alt3 sisyphus+240570.100.1.1 1573481622 installed <13>Nov 12 06:05:37 rpmi: libpolkit-0.116-alt1 sisyphus+228976.400.4.1 1557128960 installed <86>Nov 12 06:05:37 groupadd[18001]: group added to /etc/group: name=colord, GID=499 <86>Nov 12 06:05:37 groupadd[18001]: group added to /etc/gshadow: name=colord <86>Nov 12 06:05:37 groupadd[18001]: new group: name=colord, GID=499 <86>Nov 12 06:05:37 useradd[18008]: new user: name=colord, UID=499, GID=499, home=/var/colord, shell=/dev/null <13>Nov 12 06:05:37 rpmi: colord-1.4.4-alt2 sisyphus+229904.100.1.1 1558606512 installed <13>Nov 12 06:05:37 rpmi: hwclock-1:2.33.2-alt1 sisyphus+227076.100.1.1 1555076778 installed <13>Nov 12 06:05:37 rpmi: mount-2.33.2-alt1 sisyphus+227076.100.1.1 1555076778 installed <13>Nov 12 06:05:37 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Nov 12 06:05:37 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Nov 12 06:05:37 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Nov 12 06:05:37 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Nov 12 06:05:37 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Nov 12 06:05:37 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Nov 12 06:05:37 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Nov 12 06:05:37 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Nov 12 06:05:37 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Nov 12 06:05:37 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Nov 12 06:05:37 rpmi: libGLX-mesa-4:19.2.3-alt1 sisyphus+240391.100.1.1 1573125441 installed <13>Nov 12 06:05:37 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949214 installed <13>Nov 12 06:05:37 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Nov 12 06:05:37 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106975 installed <13>Nov 12 06:05:37 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268223 installed <13>Nov 12 06:05:37 rpmi: libat-spi2-core-2.34.0-alt1 sisyphus+237956.1100.4.2 1569332544 installed <13>Nov 12 06:05:37 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949136 installed <13>Nov 12 06:05:37 rpmi: libEGL-mesa-4:19.2.3-alt1 sisyphus+240391.100.1.1 1573125441 installed <13>Nov 12 06:05:37 rpmi: libEGL-7:1.2.0-alt2 sisyphus+239998.100.1.1 1572427239 installed <13>Nov 12 06:05:37 rpmi: libGLX-7:1.2.0-alt2 sisyphus+239998.100.1.1 1572427239 installed <13>Nov 12 06:05:37 rpmi: libGL-7:1.2.0-alt2 sisyphus+239998.100.1.1 1572427239 installed <13>Nov 12 06:05:37 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed <13>Nov 12 06:05:37 rpmi: libgst-plugins1.0-1.16.1-alt1 sisyphus+239881.400.7.1 1572353385 installed <13>Nov 12 06:05:37 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed <13>Nov 12 06:05:37 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed <13>Nov 12 06:05:37 rpmi: libpango-1.44.7-alt1 sisyphus+239731.100.1.1 1571986941 installed <13>Nov 12 06:05:37 rpmi: libgtk+2-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Nov 12 06:05:38 rpmi: compat-libwxGTK3.0-gtk2-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed <13>Nov 12 06:05:38 rpmi: compat-libwxGTK3.0-gtk2-gl-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed <13>Nov 12 06:05:38 rpmi: compat-libwxGTK3.0-gtk2-media-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed <13>Nov 12 06:05:38 rpmi: libXtst-1.2.2-alt1 1369984880 installed <13>Nov 12 06:05:38 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Nov 12 06:05:38 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Nov 12 06:05:38 rpmi: ca-certificates-2019.10.28-alt1 sisyphus+239875.300.1.1 1572267834 installed <13>Nov 12 06:05:38 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Nov 12 06:05:38 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Nov 12 06:05:38 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <13>Nov 12 06:05:38 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <86>Nov 12 06:05:38 groupadd[19453]: group added to /etc/group: name=_keytab, GID=498 <86>Nov 12 06:05:38 groupadd[19453]: group added to /etc/gshadow: name=_keytab <86>Nov 12 06:05:38 groupadd[19453]: new group: name=_keytab, GID=498 <13>Nov 12 06:05:38 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746443 installed <13>Nov 12 06:05:38 rpmi: libcryptsetup-2.2.0-alt1 sisyphus+236388.100.1.1 1566341901 installed <13>Nov 12 06:05:38 rpmi: libkmod-26-alt1 sisyphus+226359.100.1.1 1554129988 installed <13>Nov 12 06:05:38 rpmi: startup-0.9.9.6-alt1 sisyphus.215964.200 1542884274 installed <13>Nov 12 06:05:39 rpmi: systemd-utils-1:243-alt4 sisyphus+240263.100.1.1 1573004022 installed <13>Nov 12 06:05:39 rpmi: dbus-tools-1.12.16-alt1 sisyphus+240314.100.1.1 1573030982 installed <86>Nov 12 06:05:39 groupadd[19586]: group added to /etc/group: name=messagebus, GID=497 <86>Nov 12 06:05:39 groupadd[19586]: group added to /etc/gshadow: name=messagebus <86>Nov 12 06:05:39 groupadd[19586]: new group: name=messagebus, GID=497 <86>Nov 12 06:05:39 useradd[19594]: new user: name=messagebus, UID=498, GID=497, home=/run/dbus, shell=/dev/null <13>Nov 12 06:05:39 rpmi: dbus-1.12.16-alt1 sisyphus+240314.100.1.1 1573030982 installed System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down <13>Nov 12 06:05:39 rpmi: dbus-tools-gui-1.12.16-alt1 sisyphus+240314.100.1.1 1573030982 installed <13>Nov 12 06:05:39 rpmi: at-spi2-core-2.34.0-alt1 sisyphus+237956.1100.4.2 1569332544 installed <13>Nov 12 06:05:39 rpmi: at-spi2-atk-2.34.1-alt1 sisyphus+238952.300.2.1 1570644690 installed <13>Nov 12 06:05:39 rpmi: dconf-0.34.0-alt1 sisyphus+237956.1500.4.2 1569334199 installed <13>Nov 12 06:05:39 rpmi: libgtk+3-schemas-3.24.12-alt1 sisyphus+238952.400.5.1 1570658028 installed <13>Nov 12 06:05:39 rpmi: glib-networking-2.62.1-alt1 sisyphus+238952.4100.5.1 1570662063 installed <13>Nov 12 06:05:39 rpmi: libsoup-2.68.2-alt1 sisyphus+238952.4140.5.1 1570662161 installed <13>Nov 12 06:05:39 rpmi: libsoup-gnome-2.68.2-alt1 sisyphus+238952.4140.5.1 1570662161 installed <13>Nov 12 06:05:39 rpmi: librest-0.8.1-alt1 1508266396 installed <13>Nov 12 06:05:40 rpmi: libgtk+3-3.24.12-alt1 sisyphus+238952.400.5.1 1570658028 installed <13>Nov 12 06:05:40 rpmi: libwxGTK3.0-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed <13>Nov 12 06:05:40 rpmi: libwxGTK3.0-media-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed <13>Nov 12 06:05:40 rpmi: compat-libwxGTK3.0-gtk2-devel-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed <13>Nov 12 06:05:40 rpmi: libssl-devel-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <13>Nov 12 06:05:40 rpmi: gcc-c++-9-alt1 sisyphus+239632.300.3.1 1571789214 installed <13>Nov 12 06:05:40 rpmi: libchm-devel-0.40-alt6 1523453646 installed <13>Nov 12 06:05:40 rpmi: libxmlrpcxx-devel-0.7-alt2.git20100306 1437051316 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/xchm-1.23-alt4.nosrc.rpm Installing xchm-1.23-alt4.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.166 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf xchm-1.23 + echo 'Source #0 (xchm-1.23.tar.gz):' Source #0 (xchm-1.23.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/xchm-1.23.tar.gz + /bin/tar -xf - + cd xchm-1.23 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.97248 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd xchm-1.23 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: running: autopoint --force Copying file m4/glibc2.m4 Copying file m4/iconv.m4 Copying file m4/intmax.m4 Copying file m4/longdouble.m4 Copying file m4/longlong.m4 Copying file m4/printf-posix.m4 Copying file m4/signed.m4 Copying file m4/size_max.m4 Copying file m4/wchar_t.m4 Copying file m4/wint_t.m4 Copying file m4/xsize.m4 Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot autoreconf-default: running: aclocal --force -I m4 autoreconf-default: configure.ac: tracing autoreconf-default: configure.ac: not using Libtool autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:6: installing './compile' autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ 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 + readlink -e -- ./configure + xargs -ri dirname -- '{}' + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./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 --enable-debug --enable-optimize --enable-xmlrpc configure: WARNING: unrecognized options: --without-included-gettext checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /bin/install -c checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu 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 CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for wx-config... /usr/bin/wx-config checking for wxWidgets version >= 2.8.0... yes (version 3.0.4) checking for wxWidgets static library... no checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of x86_64-alt-linux-gcc... none checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking dependency style of x86_64-alt-linux-g++... none 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 for int32_t... yes checking for int16_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking chm_lib.h usability... yes checking chm_lib.h presence... yes checking for chm_lib.h... yes checking for chm_open in -lchm... yes checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking XmlRpc.h usability... yes checking XmlRpc.h presence... yes checking for XmlRpc.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating art/Makefile config.status: creating po/Makefile.in config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting config.status: creating m4/Makefile config.status: creating config.h config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands configure: WARNING: unrecognized options: --without-included-gettext + make -j8 make all-recursive Making all in m4 make[2]: Nothing to be done for 'all'. Making all in po make[2]: Nothing to be done for 'all'. Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pipe -frecord-gcc-switches -Wall -g -O2 -W -Wall -g -O2 -c -o chminputstream.o chminputstream.cpp In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:1224:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1224 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniChar)': /usr/include/wx-3.0/wx/string.h:1226:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1226 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:1228:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1228 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1230:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1230 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniChar)': /usr/include/wx-3.0/wx/string.h:1995:52: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1995 | wxString& operator<<(wxUniChar ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1996:55: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1996 | wxString& operator<<(wxUniCharRef ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:2039:23: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2039 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:2041:23: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2041 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::Before(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2195:61: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2195 | wxString Before(wxUniChar ch) const { return BeforeLast(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2186:33: note: initializing argument 1 of 'wxString wxString::BeforeLast(wxUniChar, wxString*) const' 2186 | wxString BeforeLast(wxUniChar ch, wxString *rest = NULL) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::After(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2196:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2196 | wxString After(wxUniChar ch) const { return AfterFirst(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2189:33: note: initializing argument 1 of 'wxString wxString::AfterFirst(wxUniChar) const' 2189 | wxString AfterFirst(wxUniChar ch) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'size_t wxString::Index(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2403:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2403 | size_t Index(wxUniChar ch) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2412:51: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2412 | int First( wxUniChar ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniCharRef) const': /usr/include/wx-3.0/wx/string.h:2413:54: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2413 | int First( wxUniCharRef ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2223:25: note: initializing argument 1 of 'int wxString::Find(wxUniCharRef, bool) const' 2223 | int Find(wxUniCharRef ch, bool bFromEnd = false) const | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::Last(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2418:56: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2418 | int Last( wxUniChar ch ) const { return Find(ch, true); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4040:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4040 | inline bool operator==(const wxUniChar& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4041:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4041 | inline bool operator==(const wxUniCharRef& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4045:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4045 | inline bool operator==(const wxString& s, const wxUniChar& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4046:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4046 | inline bool operator==(const wxString& s, const wxUniCharRef& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4049:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4049 | inline bool operator!=(const wxUniChar& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4050:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4050 | inline bool operator!=(const wxUniCharRef& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4054:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4054 | inline bool operator!=(const wxString& s, const wxUniChar& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4055:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4055 | inline bool operator!=(const wxString& s, const wxUniCharRef& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/stream.h:21, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/stream.h:21, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/arrstr.h: In copy constructor 'wxSortedArrayString::wxSortedArrayString(const wxSortedArrayString&)': /usr/include/wx-3.0/wx/arrstr.h:77:40: warning: implicitly-declared 'wxSortedArrayStringBase::wxSortedArrayStringBase(const wxSortedArrayStringBase&)' is deprecated [-Wdeprecated-copy] 77 | : wxSortedArrayStringBase(array) | ^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/stream.h:21, from ./chminputstream.h:26, from chminputstream.cpp:23: /usr/include/wx-3.0/wx/dynarray.h:531:9: note: because 'wxSortedArrayStringBase' has user-provided 'wxSortedArrayStringBase& wxSortedArrayStringBase::operator=(const wxSortedArrayStringBase&)' 531 | name& operator=(const name& src) \ | ^~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:41:1: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' 41 | _WX_DEFINE_SORTED_TYPEARRAY_2(wxString, wxSortedArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/src' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pipe -frecord-gcc-switches -Wall -g -O2 -W -Wall -g -O2 -c -o chmfshandler.o chmfshandler.cpp In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:1224:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1224 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniChar)': /usr/include/wx-3.0/wx/string.h:1226:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1226 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:1228:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1228 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1230:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1230 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniChar)': /usr/include/wx-3.0/wx/string.h:1995:52: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1995 | wxString& operator<<(wxUniChar ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1996:55: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1996 | wxString& operator<<(wxUniCharRef ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:2039:23: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2039 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:2041:23: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2041 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::Before(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2195:61: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2195 | wxString Before(wxUniChar ch) const { return BeforeLast(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2186:33: note: initializing argument 1 of 'wxString wxString::BeforeLast(wxUniChar, wxString*) const' 2186 | wxString BeforeLast(wxUniChar ch, wxString *rest = NULL) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::After(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2196:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2196 | wxString After(wxUniChar ch) const { return AfterFirst(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2189:33: note: initializing argument 1 of 'wxString wxString::AfterFirst(wxUniChar) const' 2189 | wxString AfterFirst(wxUniChar ch) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'size_t wxString::Index(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2403:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2403 | size_t Index(wxUniChar ch) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2412:51: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2412 | int First( wxUniChar ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniCharRef) const': /usr/include/wx-3.0/wx/string.h:2413:54: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2413 | int First( wxUniCharRef ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2223:25: note: initializing argument 1 of 'int wxString::Find(wxUniCharRef, bool) const' 2223 | int Find(wxUniCharRef ch, bool bFromEnd = false) const | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::Last(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2418:56: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2418 | int Last( wxUniChar ch ) const { return Find(ch, true); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4040:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4040 | inline bool operator==(const wxUniChar& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4041:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4041 | inline bool operator==(const wxUniCharRef& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4045:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4045 | inline bool operator==(const wxString& s, const wxUniChar& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4046:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4046 | inline bool operator==(const wxString& s, const wxUniCharRef& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4049:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4049 | inline bool operator!=(const wxUniChar& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4050:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4050 | inline bool operator!=(const wxUniCharRef& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4054:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4054 | inline bool operator!=(const wxString& s, const wxUniChar& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4055:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4055 | inline bool operator!=(const wxString& s, const wxUniCharRef& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/stream.h:19, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/stream.h:21, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/stream.h:21, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/arrstr.h: In copy constructor 'wxSortedArrayString::wxSortedArrayString(const wxSortedArrayString&)': /usr/include/wx-3.0/wx/arrstr.h:77:40: warning: implicitly-declared 'wxSortedArrayStringBase::wxSortedArrayStringBase(const wxSortedArrayStringBase&)' is deprecated [-Wdeprecated-copy] 77 | : wxSortedArrayStringBase(array) | ^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/stream.h:21, from /usr/include/wx-3.0/wx/filesys.h:24, from ./chmfshandler.h:27, from chmfshandler.cpp:23: /usr/include/wx-3.0/wx/dynarray.h:531:9: note: because 'wxSortedArrayStringBase' has user-provided 'wxSortedArrayStringBase& wxSortedArrayStringBase::operator=(const wxSortedArrayStringBase&)' 531 | name& operator=(const name& src) \ | ^~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:41:1: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' 41 | _WX_DEFINE_SORTED_TYPEARRAY_2(wxString, wxSortedArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/src' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pipe -frecord-gcc-switches -Wall -g -O2 -W -Wall -g -O2 -c -o chmhtmlnotebook.o chmhtmlnotebook.cpp In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:1224:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1224 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniChar)': /usr/include/wx-3.0/wx/string.h:1226:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1226 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:1228:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1228 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1230:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1230 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniChar)': /usr/include/wx-3.0/wx/string.h:1995:52: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1995 | wxString& operator<<(wxUniChar ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1996:55: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1996 | wxString& operator<<(wxUniCharRef ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:2039:23: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2039 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:2041:23: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2041 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::Before(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2195:61: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2195 | wxString Before(wxUniChar ch) const { return BeforeLast(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2186:33: note: initializing argument 1 of 'wxString wxString::BeforeLast(wxUniChar, wxString*) const' 2186 | wxString BeforeLast(wxUniChar ch, wxString *rest = NULL) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::After(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2196:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2196 | wxString After(wxUniChar ch) const { return AfterFirst(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2189:33: note: initializing argument 1 of 'wxString wxString::AfterFirst(wxUniChar) const' 2189 | wxString AfterFirst(wxUniChar ch) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'size_t wxString::Index(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2403:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2403 | size_t Index(wxUniChar ch) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2412:51: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2412 | int First( wxUniChar ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniCharRef) const': /usr/include/wx-3.0/wx/string.h:2413:54: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2413 | int First( wxUniCharRef ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2223:25: note: initializing argument 1 of 'int wxString::Find(wxUniCharRef, bool) const' 2223 | int Find(wxUniCharRef ch, bool bFromEnd = false) const | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::Last(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2418:56: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2418 | int Last( wxUniChar ch ) const { return Find(ch, true); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4040:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4040 | inline bool operator==(const wxUniChar& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4041:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4041 | inline bool operator==(const wxUniCharRef& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4045:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4045 | inline bool operator==(const wxString& s, const wxUniChar& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4046:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4046 | inline bool operator==(const wxString& s, const wxUniCharRef& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4049:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4049 | inline bool operator!=(const wxUniChar& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4050:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4050 | inline bool operator!=(const wxUniCharRef& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4054:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4054 | inline bool operator!=(const wxString& s, const wxUniChar& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4055:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4055 | inline bool operator!=(const wxString& s, const wxUniCharRef& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ In file included from /usr/include/wx-3.0/wx/wx.h:16, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/arrstr.h: In copy constructor 'wxSortedArrayString::wxSortedArrayString(const wxSortedArrayString&)': /usr/include/wx-3.0/wx/arrstr.h:77:40: warning: implicitly-declared 'wxSortedArrayStringBase::wxSortedArrayStringBase(const wxSortedArrayStringBase&)' is deprecated [-Wdeprecated-copy] 77 | : wxSortedArrayStringBase(array) | ^ In file included from /usr/include/wx-3.0/wx/wx.h:16, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/dynarray.h:531:9: note: because 'wxSortedArrayStringBase' has user-provided 'wxSortedArrayStringBase& wxSortedArrayStringBase::operator=(const wxSortedArrayStringBase&)' 531 | name& operator=(const name& src) \ | ^~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:41:1: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' 41 | _WX_DEFINE_SORTED_TYPEARRAY_2(wxString, wxSortedArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)': /usr/include/wx-3.0/wx/event.h:1204:24: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1204 | class WXDLLIMPEXP_BASE wxEventAnyPayloadMixin : public wxEventBasicPayloadMixin | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxThreadEvent::wxThreadEvent(const wxThreadEvent&)': /usr/include/wx-3.0/wx/event.h:1295:39: note: synthesized method 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)' first required here 1295 | wxEventAnyPayloadMixin(event) | ^ /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxCommandEvent::wxCommandEvent(const wxCommandEvent&)': /usr/include/wx-3.0/wx/event.h:1540:46: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1540 | m_clientObject(event.m_clientObject) | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxScrollEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:1637:68: warning: implicitly-declared 'wxScrollEvent::wxScrollEvent(const wxScrollEvent&)' is deprecated [-Wdeprecated-copy] 1637 | virtual wxEvent *Clone() const { return new wxScrollEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxScrollEvent' has user-provided 'wxScrollEvent& wxScrollEvent::operator=(const wxScrollEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:1640:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 1640 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxScrollEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2173:67: warning: implicitly-declared 'wxPaintEvent::wxPaintEvent(const wxPaintEvent&)' is deprecated [-Wdeprecated-copy] 2173 | virtual wxEvent *Clone() const { return new wxPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxPaintEvent' has user-provided 'wxPaintEvent& wxPaintEvent::operator=(const wxPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2176:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2176 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxNcPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2186:69: warning: implicitly-declared 'wxNcPaintEvent::wxNcPaintEvent(const wxNcPaintEvent&)' is deprecated [-Wdeprecated-copy] 2186 | virtual wxEvent *Clone() const { return new wxNcPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxNcPaintEvent' has user-provided 'wxNcPaintEvent& wxNcPaintEvent::operator=(const wxNcPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2189:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2189 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxNcPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxChildFocusEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2262:72: warning: implicitly-declared 'wxChildFocusEvent::wxChildFocusEvent(const wxChildFocusEvent&)' is deprecated [-Wdeprecated-copy] 2262 | virtual wxEvent *Clone() const { return new wxChildFocusEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxChildFocusEvent' has user-provided 'wxChildFocusEvent& wxChildFocusEvent::operator=(const wxChildFocusEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2265:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2265 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxChildFocusEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxInitDialogEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2325:72: warning: implicitly-declared 'wxInitDialogEvent::wxInitDialogEvent(const wxInitDialogEvent&)' is deprecated [-Wdeprecated-copy] 2325 | virtual wxEvent *Clone() const { return new wxInitDialogEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxInitDialogEvent' has user-provided 'wxInitDialogEvent& wxInitDialogEvent::operator=(const wxInitDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2328:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2328 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxInitDialogEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxMaximizeEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2493:70: warning: implicitly-declared 'wxMaximizeEvent::wxMaximizeEvent(const wxMaximizeEvent&)' is deprecated [-Wdeprecated-copy] 2493 | virtual wxEvent *Clone() const { return new wxMaximizeEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxMaximizeEvent' has user-provided 'wxMaximizeEvent& wxMaximizeEvent::operator=(const wxMaximizeEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2496:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2496 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxMaximizeEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxSysColourChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2762:78: warning: implicitly-declared 'wxSysColourChangedEvent::wxSysColourChangedEvent(const wxSysColourChangedEvent&)' is deprecated [-Wdeprecated-copy] 2762 | virtual wxEvent *Clone() const { return new wxSysColourChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxSysColourChangedEvent' has user-provided 'wxSysColourChangedEvent& wxSysColourChangedEvent::operator=(const wxSysColourChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2765:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2765 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxSysColourChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxDisplayChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2833:76: warning: implicitly-declared 'wxDisplayChangedEvent::wxDisplayChangedEvent(const wxDisplayChangedEvent&)' is deprecated [-Wdeprecated-copy] 2833 | virtual wxEvent *Clone() const { return new wxDisplayChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxDisplayChangedEvent' has user-provided 'wxDisplayChangedEvent& wxDisplayChangedEvent::operator=(const wxDisplayChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2826:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2826 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxDisplayChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowCreateEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2979:74: warning: implicitly-declared 'wxWindowCreateEvent::wxWindowCreateEvent(const wxWindowCreateEvent&)' is deprecated [-Wdeprecated-copy] 2979 | virtual wxEvent *Clone() const { return new wxWindowCreateEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowCreateEvent' has user-provided 'wxWindowCreateEvent& wxWindowCreateEvent::operator=(const wxWindowCreateEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2982:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2982 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowCreateEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowDestroyEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2992:75: warning: implicitly-declared 'wxWindowDestroyEvent::wxWindowDestroyEvent(const wxWindowDestroyEvent&)' is deprecated [-Wdeprecated-copy] 2992 | virtual wxEvent *Clone() const { return new wxWindowDestroyEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowDestroyEvent' has user-provided 'wxWindowDestroyEvent& wxWindowDestroyEvent::operator=(const wxWindowDestroyEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2995:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2995 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowDestroyEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:31, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/timer.h: In member function 'virtual wxEvent* wxTimerEvent::Clone() const': /usr/include/wx-3.0/wx/timer.h:177:67: warning: implicitly-declared 'wxTimerEvent::wxTimerEvent(const wxTimerEvent&)' is deprecated [-Wdeprecated-copy] 177 | virtual wxEvent *Clone() const { return new wxTimerEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxTimerEvent' has user-provided 'wxTimerEvent& wxTimerEvent::operator=(const wxTimerEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:183:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 183 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxTimerEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/bitmap.h:21, from /usr/include/wx-3.0/wx/generic/panelg.h:14, from /usr/include/wx-3.0/wx/panel.h:69, from /usr/include/wx-3.0/wx/wx.h:40, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/image.h: In member function 'void wxImageHandler::SetAltExtensions(const wxArrayString&)': /usr/include/wx-3.0/wx/image.h:130:74: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 130 | void SetAltExtensions(const wxArrayString& exts) { m_altExtensions = exts; } | ^~~~ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/affinematrix2dbase.h:17, from /usr/include/wx-3.0/wx/affinematrix2d.h:17, from /usr/include/wx-3.0/wx/dc.h:32, from /usr/include/wx-3.0/wx/wx.h:50, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateIntersection(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:618:82: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 618 | { wxRect2DDouble result; Intersect( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateUnion(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:626:78: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 626 | { wxRect2DDouble result; Union( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:63, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/dialog.h: In member function 'virtual wxEvent* wxWindowModalDialogEvent::Clone() const': /usr/include/wx-3.0/wx/dialog.h:384:80: warning: implicitly-declared 'wxWindowModalDialogEvent::wxWindowModalDialogEvent(const wxWindowModalDialogEvent&)' is deprecated [-Wdeprecated-copy] 384 | virtual wxEvent *Clone() const { return new wxWindowModalDialogEvent (*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowModalDialogEvent' has user-provided 'wxWindowModalDialogEvent& wxWindowModalDialogEvent::operator=(const wxWindowModalDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dialog.h:387:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 387 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowModalDialogEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/dataobj.h: In constructor 'wxDataObjectSimple::wxDataObjectSimple(const wxDataFormat&)': /usr/include/wx-3.0/wx/dataobj.h:202:26: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 202 | : m_format(format) | ^ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/dataobj.h: In member function 'virtual wxDataFormat wxDataObjectSimple::GetPreferredFormat(wxDataObjectBase::Direction) const': /usr/include/wx-3.0/wx/dataobj.h:229:18: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 229 | { return m_format; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetIncludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:72:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 72 | void SetIncludes(const wxArrayString& includes) { m_includes = includes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetExcludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:76:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 76 | void SetExcludes(const wxArrayString& excludes) { m_excludes = excludes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/filectrl.h: In member function 'virtual wxEvent* wxFileCtrlEvent::Clone() const': /usr/include/wx-3.0/wx/filectrl.h:101:72: warning: implicitly-declared 'wxFileCtrlEvent::wxFileCtrlEvent(const wxFileCtrlEvent&)' is deprecated [-Wdeprecated-copy] 101 | virtual wxEvent *Clone() const { return new wxFileCtrlEvent( *this ); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxFileCtrlEvent' has user-provided 'wxFileCtrlEvent& wxFileCtrlEvent::operator=(const wxFileCtrlEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/filectrl.h:118:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 118 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN( wxFileCtrlEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/filectrl.h: In member function 'void wxFileCtrlEvent::SetFiles(const wxArrayString&)': /usr/include/wx-3.0/wx/filectrl.h:103:61: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 103 | void SetFiles( const wxArrayString &files ) { m_files = files; } | ^~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:16, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' 880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' 44 | WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); | ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' 880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' 44 | WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); | ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 43 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 43 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./chmhtmlwindow.h:27, from chmhtmlnotebook.cpp:26: /usr/include/wx-3.0/wx/html/htmlwin.h: In member function 'virtual wxEvent* wxHtmlCellEvent::Clone() const': /usr/include/wx-3.0/wx/html/htmlwin.h:594:70: warning: implicitly-declared 'wxHtmlCellEvent::wxHtmlCellEvent(const wxHtmlCellEvent&)' is deprecated [-Wdeprecated-copy] 594 | virtual wxEvent *Clone() const { return new wxHtmlCellEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxHtmlCellEvent' has user-provided 'wxHtmlCellEvent& wxHtmlCellEvent::operator=(const wxHtmlCellEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/html/htmlwin.h:603:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 603 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxHtmlCellEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./chmhtmlwindow.h:27, from chmhtmlnotebook.cpp:26: /usr/include/wx-3.0/wx/html/htmlwin.h: In member function 'virtual wxEvent* wxHtmlLinkEvent::Clone() const': /usr/include/wx-3.0/wx/html/htmlwin.h:625:70: warning: implicitly-declared 'wxHtmlLinkEvent::wxHtmlLinkEvent(const wxHtmlLinkEvent&)' is deprecated [-Wdeprecated-copy] 625 | virtual wxEvent *Clone() const { return new wxHtmlLinkEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxHtmlLinkEvent' has user-provided 'wxHtmlLinkEvent& wxHtmlLinkEvent::operator=(const wxHtmlLinkEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/html/htmlwin.h:630:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 630 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxHtmlLinkEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmhtmlnotebook.cpp:25: chmhtmlnotebook.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmhtmlnotebook.cpp:198:2: note: in expansion of macro 'EVT_MENU' 198 | EVT_MENU(ID_PriorPage, CHMHtmlNotebook::OnGoToPriorPage) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmhtmlnotebook.cpp:199:2: note: in expansion of macro 'EVT_MENU' 199 | EVT_MENU(ID_NextPage, CHMHtmlNotebook::OnGoToNextPage) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxAuiNotebookEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/aui/auibook.h:473:5: note: in expansion of macro 'wx__DECLARE_EVT1' 473 | wx__DECLARE_EVT1(wxEVT_AUINOTEBOOK_PAGE_CHANGED, winid, wxAuiNotebookEventHandler(fn)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/aui/auibook.h:466:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 466 | wxEVENT_HANDLER_CAST(wxAuiNotebookEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/aui/auibook.h:473:61: note: in expansion of macro 'wxAuiNotebookEventHandler' 473 | wx__DECLARE_EVT1(wxEVT_AUINOTEBOOK_PAGE_CHANGED, winid, wxAuiNotebookEventHandler(fn)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ chmhtmlnotebook.cpp:200:2: note: in expansion of macro 'EVT_AUINOTEBOOK_PAGE_CHANGED' 200 | EVT_AUINOTEBOOK_PAGE_CHANGED(wxID_ANY, CHMHtmlNotebook::OnPageChanged) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h: In instantiation of 'bool wxDocChildFrameAny::Create(wxDocument*, wxView*, ParentFrame*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxString&) [with ChildFrame = wxFrame; ParentFrame = wxFrame; wxWindowID = int]': /usr/include/wx-3.0/wx/docview.h:816:37: required from here /usr/include/wx-3.0/wx/event.h:148:30: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxActivateEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^ /usr/include/wx-3.0/wx/event.h:3931:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3931 | wxEVENT_HANDLER_CAST(wxActivateEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h:730:23: note: in expansion of macro 'wxActivateEventHandler' 730 | wxActivateEventHandler(wxDocChildFrameAny::OnActivate)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:30: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCloseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^ /usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3947 | wxEVENT_HANDLER_CAST(wxCloseEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h:732:23: note: in expansion of macro 'wxCloseEventHandler' 732 | wxCloseEventHandler(wxDocChildFrameAny::OnCloseWindow)); | ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h: In instantiation of 'bool wxDocParentFrameAny::Create(wxDocManager*, wxFrame*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxString&) [with BaseFrame = wxFrame; wxWindowID = int]': /usr/include/wx-3.0/wx/docview.h:970:38: required from here /usr/include/wx-3.0/wx/event.h:148:30: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h:899:23: note: in expansion of macro 'wxCommandEventHandler' 899 | wxCommandEventHandler(wxDocParentFrameAny::OnExit)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:30: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCloseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^ /usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3947 | wxEVENT_HANDLER_CAST(wxCloseEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h:901:23: note: in expansion of macro 'wxCloseEventHandler' 901 | wxCloseEventHandler(wxDocParentFrameAny::OnCloseWindow)); | ^~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/src' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pipe -frecord-gcc-switches -Wall -g -O2 -W -Wall -g -O2 -c -o chmfontdialog.o chmfontdialog.cpp In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:1224:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1224 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniChar)': /usr/include/wx-3.0/wx/string.h:1226:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1226 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:1228:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1228 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1230:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1230 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniChar)': /usr/include/wx-3.0/wx/string.h:1995:52: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1995 | wxString& operator<<(wxUniChar ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1996:55: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1996 | wxString& operator<<(wxUniCharRef ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:2039:23: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2039 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:2041:23: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2041 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::Before(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2195:61: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2195 | wxString Before(wxUniChar ch) const { return BeforeLast(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2186:33: note: initializing argument 1 of 'wxString wxString::BeforeLast(wxUniChar, wxString*) const' 2186 | wxString BeforeLast(wxUniChar ch, wxString *rest = NULL) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::After(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2196:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2196 | wxString After(wxUniChar ch) const { return AfterFirst(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2189:33: note: initializing argument 1 of 'wxString wxString::AfterFirst(wxUniChar) const' 2189 | wxString AfterFirst(wxUniChar ch) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'size_t wxString::Index(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2403:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2403 | size_t Index(wxUniChar ch) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2412:51: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2412 | int First( wxUniChar ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniCharRef) const': /usr/include/wx-3.0/wx/string.h:2413:54: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2413 | int First( wxUniCharRef ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2223:25: note: initializing argument 1 of 'int wxString::Find(wxUniCharRef, bool) const' 2223 | int Find(wxUniCharRef ch, bool bFromEnd = false) const | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::Last(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2418:56: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2418 | int Last( wxUniChar ch ) const { return Find(ch, true); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4040:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4040 | inline bool operator==(const wxUniChar& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4041:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4041 | inline bool operator==(const wxUniCharRef& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4045:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4045 | inline bool operator==(const wxString& s, const wxUniChar& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4046:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4046 | inline bool operator==(const wxString& s, const wxUniCharRef& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4049:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4049 | inline bool operator!=(const wxUniChar& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4050:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4050 | inline bool operator!=(const wxUniCharRef& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4054:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4054 | inline bool operator!=(const wxString& s, const wxUniChar& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4055:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4055 | inline bool operator!=(const wxString& s, const wxUniCharRef& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/arrstr.h: In copy constructor 'wxSortedArrayString::wxSortedArrayString(const wxSortedArrayString&)': /usr/include/wx-3.0/wx/arrstr.h:77:40: warning: implicitly-declared 'wxSortedArrayStringBase::wxSortedArrayStringBase(const wxSortedArrayStringBase&)' is deprecated [-Wdeprecated-copy] 77 | : wxSortedArrayStringBase(array) | ^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/dynarray.h:531:9: note: because 'wxSortedArrayStringBase' has user-provided 'wxSortedArrayStringBase& wxSortedArrayStringBase::operator=(const wxSortedArrayStringBase&)' 531 | name& operator=(const name& src) \ | ^~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:41:1: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' 41 | _WX_DEFINE_SORTED_TYPEARRAY_2(wxString, wxSortedArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)': /usr/include/wx-3.0/wx/event.h:1204:24: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1204 | class WXDLLIMPEXP_BASE wxEventAnyPayloadMixin : public wxEventBasicPayloadMixin | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxThreadEvent::wxThreadEvent(const wxThreadEvent&)': /usr/include/wx-3.0/wx/event.h:1295:39: note: synthesized method 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)' first required here 1295 | wxEventAnyPayloadMixin(event) | ^ /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxCommandEvent::wxCommandEvent(const wxCommandEvent&)': /usr/include/wx-3.0/wx/event.h:1540:46: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1540 | m_clientObject(event.m_clientObject) | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxScrollEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:1637:68: warning: implicitly-declared 'wxScrollEvent::wxScrollEvent(const wxScrollEvent&)' is deprecated [-Wdeprecated-copy] 1637 | virtual wxEvent *Clone() const { return new wxScrollEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxScrollEvent' has user-provided 'wxScrollEvent& wxScrollEvent::operator=(const wxScrollEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:1640:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 1640 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxScrollEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2173:67: warning: implicitly-declared 'wxPaintEvent::wxPaintEvent(const wxPaintEvent&)' is deprecated [-Wdeprecated-copy] 2173 | virtual wxEvent *Clone() const { return new wxPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxPaintEvent' has user-provided 'wxPaintEvent& wxPaintEvent::operator=(const wxPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2176:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2176 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxNcPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2186:69: warning: implicitly-declared 'wxNcPaintEvent::wxNcPaintEvent(const wxNcPaintEvent&)' is deprecated [-Wdeprecated-copy] 2186 | virtual wxEvent *Clone() const { return new wxNcPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxNcPaintEvent' has user-provided 'wxNcPaintEvent& wxNcPaintEvent::operator=(const wxNcPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2189:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2189 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxNcPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxChildFocusEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2262:72: warning: implicitly-declared 'wxChildFocusEvent::wxChildFocusEvent(const wxChildFocusEvent&)' is deprecated [-Wdeprecated-copy] 2262 | virtual wxEvent *Clone() const { return new wxChildFocusEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxChildFocusEvent' has user-provided 'wxChildFocusEvent& wxChildFocusEvent::operator=(const wxChildFocusEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2265:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2265 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxChildFocusEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxInitDialogEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2325:72: warning: implicitly-declared 'wxInitDialogEvent::wxInitDialogEvent(const wxInitDialogEvent&)' is deprecated [-Wdeprecated-copy] 2325 | virtual wxEvent *Clone() const { return new wxInitDialogEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxInitDialogEvent' has user-provided 'wxInitDialogEvent& wxInitDialogEvent::operator=(const wxInitDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2328:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2328 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxInitDialogEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxMaximizeEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2493:70: warning: implicitly-declared 'wxMaximizeEvent::wxMaximizeEvent(const wxMaximizeEvent&)' is deprecated [-Wdeprecated-copy] 2493 | virtual wxEvent *Clone() const { return new wxMaximizeEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxMaximizeEvent' has user-provided 'wxMaximizeEvent& wxMaximizeEvent::operator=(const wxMaximizeEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2496:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2496 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxMaximizeEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxSysColourChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2762:78: warning: implicitly-declared 'wxSysColourChangedEvent::wxSysColourChangedEvent(const wxSysColourChangedEvent&)' is deprecated [-Wdeprecated-copy] 2762 | virtual wxEvent *Clone() const { return new wxSysColourChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxSysColourChangedEvent' has user-provided 'wxSysColourChangedEvent& wxSysColourChangedEvent::operator=(const wxSysColourChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2765:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2765 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxSysColourChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxDisplayChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2833:76: warning: implicitly-declared 'wxDisplayChangedEvent::wxDisplayChangedEvent(const wxDisplayChangedEvent&)' is deprecated [-Wdeprecated-copy] 2833 | virtual wxEvent *Clone() const { return new wxDisplayChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxDisplayChangedEvent' has user-provided 'wxDisplayChangedEvent& wxDisplayChangedEvent::operator=(const wxDisplayChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2826:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2826 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxDisplayChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowCreateEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2979:74: warning: implicitly-declared 'wxWindowCreateEvent::wxWindowCreateEvent(const wxWindowCreateEvent&)' is deprecated [-Wdeprecated-copy] 2979 | virtual wxEvent *Clone() const { return new wxWindowCreateEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowCreateEvent' has user-provided 'wxWindowCreateEvent& wxWindowCreateEvent::operator=(const wxWindowCreateEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2982:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2982 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowCreateEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowDestroyEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2992:75: warning: implicitly-declared 'wxWindowDestroyEvent::wxWindowDestroyEvent(const wxWindowDestroyEvent&)' is deprecated [-Wdeprecated-copy] 2992 | virtual wxEvent *Clone() const { return new wxWindowDestroyEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowDestroyEvent' has user-provided 'wxWindowDestroyEvent& wxWindowDestroyEvent::operator=(const wxWindowDestroyEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2995:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2995 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowDestroyEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/bitmap.h:21, from /usr/include/wx-3.0/wx/generic/panelg.h:14, from /usr/include/wx-3.0/wx/panel.h:69, from /usr/include/wx-3.0/wx/scrolwin.h:14, from /usr/include/wx-3.0/wx/html/htmlwin.h:16, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/image.h: In member function 'void wxImageHandler::SetAltExtensions(const wxArrayString&)': /usr/include/wx-3.0/wx/image.h:130:74: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 130 | void SetAltExtensions(const wxArrayString& exts) { m_altExtensions = exts; } | ^~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 43 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 43 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' 880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' 44 | WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); | ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' 880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' 44 | WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); | ^~~~~~~~~~~~~~~~~~~ In file included from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/html/htmlwin.h: In member function 'virtual wxEvent* wxHtmlCellEvent::Clone() const': /usr/include/wx-3.0/wx/html/htmlwin.h:594:70: warning: implicitly-declared 'wxHtmlCellEvent::wxHtmlCellEvent(const wxHtmlCellEvent&)' is deprecated [-Wdeprecated-copy] 594 | virtual wxEvent *Clone() const { return new wxHtmlCellEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxHtmlCellEvent' has user-provided 'wxHtmlCellEvent& wxHtmlCellEvent::operator=(const wxHtmlCellEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/html/htmlwin.h:603:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 603 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxHtmlCellEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/html/htmlwin.h: In member function 'virtual wxEvent* wxHtmlLinkEvent::Clone() const': /usr/include/wx-3.0/wx/html/htmlwin.h:625:70: warning: implicitly-declared 'wxHtmlLinkEvent::wxHtmlLinkEvent(const wxHtmlLinkEvent&)' is deprecated [-Wdeprecated-copy] 625 | virtual wxEvent *Clone() const { return new wxHtmlLinkEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxHtmlLinkEvent' has user-provided 'wxHtmlLinkEvent& wxHtmlLinkEvent::operator=(const wxHtmlLinkEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/html/htmlwin.h:630:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 630 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxHtmlLinkEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./chmfontdialog.h:29, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/dialog.h: In member function 'virtual wxEvent* wxWindowModalDialogEvent::Clone() const': /usr/include/wx-3.0/wx/dialog.h:384:80: warning: implicitly-declared 'wxWindowModalDialogEvent::wxWindowModalDialogEvent(const wxWindowModalDialogEvent&)' is deprecated [-Wdeprecated-copy] 384 | virtual wxEvent *Clone() const { return new wxWindowModalDialogEvent (*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowModalDialogEvent' has user-provided 'wxWindowModalDialogEvent& wxWindowModalDialogEvent::operator=(const wxWindowModalDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dialog.h:387:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 387 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowModalDialogEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:31, from chmfontdialog.cpp:24: /usr/include/wx-3.0/wx/timer.h: In member function 'virtual wxEvent* wxTimerEvent::Clone() const': /usr/include/wx-3.0/wx/timer.h:177:67: warning: implicitly-declared 'wxTimerEvent::wxTimerEvent(const wxTimerEvent&)' is deprecated [-Wdeprecated-copy] 177 | virtual wxEvent *Clone() const { return new wxTimerEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxTimerEvent' has user-provided 'wxTimerEvent& wxTimerEvent::operator=(const wxTimerEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:183:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 183 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxTimerEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/affinematrix2dbase.h:17, from /usr/include/wx-3.0/wx/affinematrix2d.h:17, from /usr/include/wx-3.0/wx/dc.h:32, from /usr/include/wx-3.0/wx/wx.h:50, from chmfontdialog.cpp:24: /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateIntersection(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:618:82: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 618 | { wxRect2DDouble result; Intersect( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateUnion(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:626:78: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 626 | { wxRect2DDouble result; Union( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from chmfontdialog.cpp:24: /usr/include/wx-3.0/wx/dataobj.h: In constructor 'wxDataObjectSimple::wxDataObjectSimple(const wxDataFormat&)': /usr/include/wx-3.0/wx/dataobj.h:202:26: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 202 | : m_format(format) | ^ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from chmfontdialog.cpp:24: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from chmfontdialog.cpp:24: /usr/include/wx-3.0/wx/dataobj.h: In member function 'virtual wxDataFormat wxDataObjectSimple::GetPreferredFormat(wxDataObjectBase::Direction) const': /usr/include/wx-3.0/wx/dataobj.h:229:18: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 229 | { return m_format; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from chmfontdialog.cpp:24: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from chmfontdialog.cpp:24: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetIncludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:72:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 72 | void SetIncludes(const wxArrayString& includes) { m_includes = includes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from chmfontdialog.cpp:24: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetExcludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:76:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 76 | void SetExcludes(const wxArrayString& excludes) { m_excludes = excludes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from chmfontdialog.cpp:24: /usr/include/wx-3.0/wx/filectrl.h: In member function 'virtual wxEvent* wxFileCtrlEvent::Clone() const': /usr/include/wx-3.0/wx/filectrl.h:101:72: warning: implicitly-declared 'wxFileCtrlEvent::wxFileCtrlEvent(const wxFileCtrlEvent&)' is deprecated [-Wdeprecated-copy] 101 | virtual wxEvent *Clone() const { return new wxFileCtrlEvent( *this ); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxFileCtrlEvent' has user-provided 'wxFileCtrlEvent& wxFileCtrlEvent::operator=(const wxFileCtrlEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/filectrl.h:118:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 118 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN( wxFileCtrlEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from chmfontdialog.cpp:24: /usr/include/wx-3.0/wx/filectrl.h: In member function 'void wxFileCtrlEvent::SetFiles(const wxArrayString&)': /usr/include/wx-3.0/wx/filectrl.h:103:61: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 103 | void SetFiles( const wxArrayString &files ) { m_files = files; } | ^~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmfontdialog.h:27, from chmfontdialog.cpp:23: chmfontdialog.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4333:35: note: in expansion of macro 'wx__DECLARE_EVT1' 4333 | #define EVT_COMBOBOX(winid, func) wx__DECLARE_EVT1(wxEVT_COMBOBOX, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4333:75: note: in expansion of macro 'wxCommandEventHandler' 4333 | #define EVT_COMBOBOX(winid, func) wx__DECLARE_EVT1(wxEVT_COMBOBOX, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmfontdialog.cpp:173:2: note: in expansion of macro 'EVT_COMBOBOX' 173 | EVT_COMBOBOX(-1, CHMFontDialog::OnUpdate) | ^~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxSpinEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/spinctrl.h:106:5: note: in expansion of macro 'wx__DECLARE_EVT1' 106 | wx__DECLARE_EVT1(wxEVT_SPINCTRL, id, wxSpinEventHandler(fn)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/spinbutt.h:125:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 125 | wxEVENT_HANDLER_CAST(wxSpinEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/spinctrl.h:106:42: note: in expansion of macro 'wxSpinEventHandler' 106 | wx__DECLARE_EVT1(wxEVT_SPINCTRL, id, wxSpinEventHandler(fn)) | ^~~~~~~~~~~~~~~~~~ chmfontdialog.cpp:174:2: note: in expansion of macro 'EVT_SPINCTRL' 174 | EVT_SPINCTRL(-1, CHMFontDialog::OnUpdateSpin) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/src' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pipe -frecord-gcc-switches -Wall -g -O2 -W -Wall -g -O2 -c -o chmfile.o chmfile.cpp In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:1224:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1224 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniChar)': /usr/include/wx-3.0/wx/string.h:1226:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1226 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:1228:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1228 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1230:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1230 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniChar)': /usr/include/wx-3.0/wx/string.h:1995:52: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1995 | wxString& operator<<(wxUniChar ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1996:55: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1996 | wxString& operator<<(wxUniCharRef ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:2039:23: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2039 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:2041:23: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2041 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::Before(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2195:61: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2195 | wxString Before(wxUniChar ch) const { return BeforeLast(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2186:33: note: initializing argument 1 of 'wxString wxString::BeforeLast(wxUniChar, wxString*) const' 2186 | wxString BeforeLast(wxUniChar ch, wxString *rest = NULL) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::After(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2196:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2196 | wxString After(wxUniChar ch) const { return AfterFirst(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2189:33: note: initializing argument 1 of 'wxString wxString::AfterFirst(wxUniChar) const' 2189 | wxString AfterFirst(wxUniChar ch) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'size_t wxString::Index(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2403:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2403 | size_t Index(wxUniChar ch) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2412:51: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2412 | int First( wxUniChar ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniCharRef) const': /usr/include/wx-3.0/wx/string.h:2413:54: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2413 | int First( wxUniCharRef ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2223:25: note: initializing argument 1 of 'int wxString::Find(wxUniCharRef, bool) const' 2223 | int Find(wxUniCharRef ch, bool bFromEnd = false) const | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::Last(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2418:56: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2418 | int Last( wxUniChar ch ) const { return Find(ch, true); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4040:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4040 | inline bool operator==(const wxUniChar& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4041:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4041 | inline bool operator==(const wxUniCharRef& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4045:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4045 | inline bool operator==(const wxString& s, const wxUniChar& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4046:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4046 | inline bool operator==(const wxString& s, const wxUniCharRef& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4049:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4049 | inline bool operator!=(const wxUniChar& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4050:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4050 | inline bool operator!=(const wxUniCharRef& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4054:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4054 | inline bool operator!=(const wxString& s, const wxUniChar& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4055:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4055 | inline bool operator!=(const wxString& s, const wxUniCharRef& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/list.h:32, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/arrstr.h: In copy constructor 'wxSortedArrayString::wxSortedArrayString(const wxSortedArrayString&)': /usr/include/wx-3.0/wx/arrstr.h:77:40: warning: implicitly-declared 'wxSortedArrayStringBase::wxSortedArrayStringBase(const wxSortedArrayStringBase&)' is deprecated [-Wdeprecated-copy] 77 | : wxSortedArrayStringBase(array) | ^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/dynarray.h:531:9: note: because 'wxSortedArrayStringBase' has user-provided 'wxSortedArrayStringBase& wxSortedArrayStringBase::operator=(const wxSortedArrayStringBase&)' 531 | name& operator=(const name& src) \ | ^~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:41:1: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' 41 | _WX_DEFINE_SORTED_TYPEARRAY_2(wxString, wxSortedArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmfile.cpp:28: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)': /usr/include/wx-3.0/wx/event.h:1204:24: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1204 | class WXDLLIMPEXP_BASE wxEventAnyPayloadMixin : public wxEventBasicPayloadMixin | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/list.h:31, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmfile.cpp:28: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxThreadEvent::wxThreadEvent(const wxThreadEvent&)': /usr/include/wx-3.0/wx/event.h:1295:39: note: synthesized method 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)' first required here 1295 | wxEventAnyPayloadMixin(event) | ^ /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxCommandEvent::wxCommandEvent(const wxCommandEvent&)': /usr/include/wx-3.0/wx/event.h:1540:46: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1540 | m_clientObject(event.m_clientObject) | ^ In file included from /usr/include/wx-3.0/wx/list.h:31, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmfile.cpp:28: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxScrollEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:1637:68: warning: implicitly-declared 'wxScrollEvent::wxScrollEvent(const wxScrollEvent&)' is deprecated [-Wdeprecated-copy] 1637 | virtual wxEvent *Clone() const { return new wxScrollEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/list.h:31, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxScrollEvent' has user-provided 'wxScrollEvent& wxScrollEvent::operator=(const wxScrollEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:1640:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 1640 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxScrollEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmfile.cpp:28: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2173:67: warning: implicitly-declared 'wxPaintEvent::wxPaintEvent(const wxPaintEvent&)' is deprecated [-Wdeprecated-copy] 2173 | virtual wxEvent *Clone() const { return new wxPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/list.h:31, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxPaintEvent' has user-provided 'wxPaintEvent& wxPaintEvent::operator=(const wxPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2176:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2176 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmfile.cpp:28: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxNcPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2186:69: warning: implicitly-declared 'wxNcPaintEvent::wxNcPaintEvent(const wxNcPaintEvent&)' is deprecated [-Wdeprecated-copy] 2186 | virtual wxEvent *Clone() const { return new wxNcPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/list.h:31, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxNcPaintEvent' has user-provided 'wxNcPaintEvent& wxNcPaintEvent::operator=(const wxNcPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2189:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2189 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxNcPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmfile.cpp:28: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxChildFocusEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2262:72: warning: implicitly-declared 'wxChildFocusEvent::wxChildFocusEvent(const wxChildFocusEvent&)' is deprecated [-Wdeprecated-copy] 2262 | virtual wxEvent *Clone() const { return new wxChildFocusEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/list.h:31, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxChildFocusEvent' has user-provided 'wxChildFocusEvent& wxChildFocusEvent::operator=(const wxChildFocusEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2265:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2265 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxChildFocusEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmfile.cpp:28: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxInitDialogEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2325:72: warning: implicitly-declared 'wxInitDialogEvent::wxInitDialogEvent(const wxInitDialogEvent&)' is deprecated [-Wdeprecated-copy] 2325 | virtual wxEvent *Clone() const { return new wxInitDialogEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/list.h:31, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxInitDialogEvent' has user-provided 'wxInitDialogEvent& wxInitDialogEvent::operator=(const wxInitDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2328:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2328 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxInitDialogEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmfile.cpp:28: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxMaximizeEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2493:70: warning: implicitly-declared 'wxMaximizeEvent::wxMaximizeEvent(const wxMaximizeEvent&)' is deprecated [-Wdeprecated-copy] 2493 | virtual wxEvent *Clone() const { return new wxMaximizeEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/list.h:31, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxMaximizeEvent' has user-provided 'wxMaximizeEvent& wxMaximizeEvent::operator=(const wxMaximizeEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2496:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2496 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxMaximizeEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmfile.cpp:28: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxSysColourChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2762:78: warning: implicitly-declared 'wxSysColourChangedEvent::wxSysColourChangedEvent(const wxSysColourChangedEvent&)' is deprecated [-Wdeprecated-copy] 2762 | virtual wxEvent *Clone() const { return new wxSysColourChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/list.h:31, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxSysColourChangedEvent' has user-provided 'wxSysColourChangedEvent& wxSysColourChangedEvent::operator=(const wxSysColourChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2765:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2765 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxSysColourChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmfile.cpp:28: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxDisplayChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2833:76: warning: implicitly-declared 'wxDisplayChangedEvent::wxDisplayChangedEvent(const wxDisplayChangedEvent&)' is deprecated [-Wdeprecated-copy] 2833 | virtual wxEvent *Clone() const { return new wxDisplayChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/list.h:31, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxDisplayChangedEvent' has user-provided 'wxDisplayChangedEvent& wxDisplayChangedEvent::operator=(const wxDisplayChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2826:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2826 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxDisplayChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmfile.cpp:28: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowCreateEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2979:74: warning: implicitly-declared 'wxWindowCreateEvent::wxWindowCreateEvent(const wxWindowCreateEvent&)' is deprecated [-Wdeprecated-copy] 2979 | virtual wxEvent *Clone() const { return new wxWindowCreateEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/list.h:31, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowCreateEvent' has user-provided 'wxWindowCreateEvent& wxWindowCreateEvent::operator=(const wxWindowCreateEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2982:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2982 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowCreateEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmfile.cpp:28: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowDestroyEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2992:75: warning: implicitly-declared 'wxWindowDestroyEvent::wxWindowDestroyEvent(const wxWindowDestroyEvent&)' is deprecated [-Wdeprecated-copy] 2992 | virtual wxEvent *Clone() const { return new wxWindowDestroyEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/list.h:31, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowDestroyEvent' has user-provided 'wxWindowDestroyEvent& wxWindowDestroyEvent::operator=(const wxWindowDestroyEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2995:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2995 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowDestroyEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/bitmap.h:21, from /usr/include/wx-3.0/wx/generic/panelg.h:14, from /usr/include/wx-3.0/wx/panel.h:69, from /usr/include/wx-3.0/wx/scrolwin.h:14, from /usr/include/wx-3.0/wx/generic/listctrl.h:14, from /usr/include/wx-3.0/wx/listctrl.h:35, from ./chmlistctrl.h:29, from chmfile.cpp:28: /usr/include/wx-3.0/wx/image.h: In member function 'void wxImageHandler::SetAltExtensions(const wxArrayString&)': /usr/include/wx-3.0/wx/image.h:130:74: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 130 | void SetAltExtensions(const wxArrayString& exts) { m_altExtensions = exts; } | ^~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:31, from chmfile.cpp:29: /usr/include/wx-3.0/wx/timer.h: In member function 'virtual wxEvent* wxTimerEvent::Clone() const': /usr/include/wx-3.0/wx/timer.h:177:67: warning: implicitly-declared 'wxTimerEvent::wxTimerEvent(const wxTimerEvent&)' is deprecated [-Wdeprecated-copy] 177 | virtual wxEvent *Clone() const { return new wxTimerEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/list.h:31, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxTimerEvent' has user-provided 'wxTimerEvent& wxTimerEvent::operator=(const wxTimerEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:183:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 183 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxTimerEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/affinematrix2dbase.h:17, from /usr/include/wx-3.0/wx/affinematrix2d.h:17, from /usr/include/wx-3.0/wx/dc.h:32, from /usr/include/wx-3.0/wx/wx.h:50, from chmfile.cpp:29: /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateIntersection(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:618:82: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 618 | { wxRect2DDouble result; Intersect( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateUnion(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:626:78: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 626 | { wxRect2DDouble result; Union( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:63, from chmfile.cpp:29: /usr/include/wx-3.0/wx/dialog.h: In member function 'virtual wxEvent* wxWindowModalDialogEvent::Clone() const': /usr/include/wx-3.0/wx/dialog.h:384:80: warning: implicitly-declared 'wxWindowModalDialogEvent::wxWindowModalDialogEvent(const wxWindowModalDialogEvent&)' is deprecated [-Wdeprecated-copy] 384 | virtual wxEvent *Clone() const { return new wxWindowModalDialogEvent (*this); } | ^ In file included from /usr/include/wx-3.0/wx/list.h:31, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowModalDialogEvent' has user-provided 'wxWindowModalDialogEvent& wxWindowModalDialogEvent::operator=(const wxWindowModalDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dialog.h:387:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 387 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowModalDialogEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from chmfile.cpp:29: /usr/include/wx-3.0/wx/dataobj.h: In constructor 'wxDataObjectSimple::wxDataObjectSimple(const wxDataFormat&)': /usr/include/wx-3.0/wx/dataobj.h:202:26: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 202 | : m_format(format) | ^ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from chmfile.cpp:29: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from chmfile.cpp:29: /usr/include/wx-3.0/wx/dataobj.h: In member function 'virtual wxDataFormat wxDataObjectSimple::GetPreferredFormat(wxDataObjectBase::Direction) const': /usr/include/wx-3.0/wx/dataobj.h:229:18: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 229 | { return m_format; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from chmfile.cpp:29: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from chmfile.cpp:29: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetIncludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:72:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 72 | void SetIncludes(const wxArrayString& includes) { m_includes = includes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from chmfile.cpp:29: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetExcludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:76:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 76 | void SetExcludes(const wxArrayString& excludes) { m_excludes = excludes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from chmfile.cpp:29: /usr/include/wx-3.0/wx/filectrl.h: In member function 'virtual wxEvent* wxFileCtrlEvent::Clone() const': /usr/include/wx-3.0/wx/filectrl.h:101:72: warning: implicitly-declared 'wxFileCtrlEvent::wxFileCtrlEvent(const wxFileCtrlEvent&)' is deprecated [-Wdeprecated-copy] 101 | virtual wxEvent *Clone() const { return new wxFileCtrlEvent( *this ); } | ^ In file included from /usr/include/wx-3.0/wx/list.h:31, from /usr/include/wx-3.0/wx/filefn.h:14, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxFileCtrlEvent' has user-provided 'wxFileCtrlEvent& wxFileCtrlEvent::operator=(const wxFileCtrlEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/filectrl.h:118:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 118 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN( wxFileCtrlEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from chmfile.cpp:29: /usr/include/wx-3.0/wx/filectrl.h: In member function 'void wxFileCtrlEvent::SetFiles(const wxArrayString&)': /usr/include/wx-3.0/wx/filectrl.h:103:61: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 103 | void SetFiles( const wxArrayString &files ) { m_files = files; } | ^~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from ./chmfile.h:33, from chmfile.cpp:27: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from chmfile.cpp:38: ./bitfiddle.inl: At global scope: ./bitfiddle.inl:191:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 191 | inline void createCSConvPtr(std::auto_ptr& cvPtr, wxFontEncoding enc) | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from ./bitfiddle.inl:27, from chmfile.cpp:38: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ In file included from chmfile.cpp:38: ./bitfiddle.inl: In function 'wxString translateEncoding(const wxString&, wxFontEncoding)': ./bitfiddle.inl:221:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 221 | std::auto_ptr convToPtr; | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from ./bitfiddle.inl:27, from chmfile.cpp:38: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ In file included from chmfile.cpp:39: ./hhcparser.h: At global scope: ./hhcparser.h:108:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 108 | std::auto_ptr _cvPtr; | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from ./bitfiddle.inl:27, from chmfile.cpp:38: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ chmfile.cpp: In member function 'bool CHMFile::GetIndex(CHMListCtrl*)': chmfile.cpp:643:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 643 | std::auto_ptr cvPtr; | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from ./bitfiddle.inl:27, from chmfile.cpp:38: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ chmfile.cpp: In member function 'bool CHMFile::ProcessWLC(uint64_t, uint64_t, uint32_t, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, chmUnitInfo*, chmUnitInfo*, chmUnitInfo*, chmUnitInfo*, chmUnitInfo*, CHMSearchResults*)': chmfile.cpp:1062:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1062 | std::auto_ptr cvPtr; | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from ./bitfiddle.inl:27, from chmfile.cpp:38: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/src' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pipe -frecord-gcc-switches -Wall -g -O2 -W -Wall -g -O2 -c -o chmlistctrl.o chmlistctrl.cpp In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:1224:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1224 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniChar)': /usr/include/wx-3.0/wx/string.h:1226:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1226 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:1228:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1228 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1230:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1230 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniChar)': /usr/include/wx-3.0/wx/string.h:1995:52: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1995 | wxString& operator<<(wxUniChar ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1996:55: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1996 | wxString& operator<<(wxUniCharRef ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:2039:23: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2039 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:2041:23: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2041 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::Before(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2195:61: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2195 | wxString Before(wxUniChar ch) const { return BeforeLast(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2186:33: note: initializing argument 1 of 'wxString wxString::BeforeLast(wxUniChar, wxString*) const' 2186 | wxString BeforeLast(wxUniChar ch, wxString *rest = NULL) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::After(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2196:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2196 | wxString After(wxUniChar ch) const { return AfterFirst(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2189:33: note: initializing argument 1 of 'wxString wxString::AfterFirst(wxUniChar) const' 2189 | wxString AfterFirst(wxUniChar ch) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'size_t wxString::Index(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2403:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2403 | size_t Index(wxUniChar ch) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2412:51: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2412 | int First( wxUniChar ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniCharRef) const': /usr/include/wx-3.0/wx/string.h:2413:54: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2413 | int First( wxUniCharRef ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2223:25: note: initializing argument 1 of 'int wxString::Find(wxUniCharRef, bool) const' 2223 | int Find(wxUniCharRef ch, bool bFromEnd = false) const | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::Last(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2418:56: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2418 | int Last( wxUniChar ch ) const { return Find(ch, true); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4040:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4040 | inline bool operator==(const wxUniChar& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4041:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4041 | inline bool operator==(const wxUniCharRef& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4045:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4045 | inline bool operator==(const wxString& s, const wxUniChar& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4046:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4046 | inline bool operator==(const wxString& s, const wxUniCharRef& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4049:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4049 | inline bool operator!=(const wxUniChar& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4050:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4050 | inline bool operator!=(const wxUniCharRef& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4054:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4054 | inline bool operator!=(const wxString& s, const wxUniChar& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4055:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4055 | inline bool operator!=(const wxString& s, const wxUniCharRef& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/arrstr.h: In copy constructor 'wxSortedArrayString::wxSortedArrayString(const wxSortedArrayString&)': /usr/include/wx-3.0/wx/arrstr.h:77:40: warning: implicitly-declared 'wxSortedArrayStringBase::wxSortedArrayStringBase(const wxSortedArrayStringBase&)' is deprecated [-Wdeprecated-copy] 77 | : wxSortedArrayStringBase(array) | ^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/dynarray.h:531:9: note: because 'wxSortedArrayStringBase' has user-provided 'wxSortedArrayStringBase& wxSortedArrayStringBase::operator=(const wxSortedArrayStringBase&)' 531 | name& operator=(const name& src) \ | ^~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:41:1: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' 41 | _WX_DEFINE_SORTED_TYPEARRAY_2(wxString, wxSortedArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)': /usr/include/wx-3.0/wx/event.h:1204:24: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1204 | class WXDLLIMPEXP_BASE wxEventAnyPayloadMixin : public wxEventBasicPayloadMixin | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxThreadEvent::wxThreadEvent(const wxThreadEvent&)': /usr/include/wx-3.0/wx/event.h:1295:39: note: synthesized method 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)' first required here 1295 | wxEventAnyPayloadMixin(event) | ^ /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxCommandEvent::wxCommandEvent(const wxCommandEvent&)': /usr/include/wx-3.0/wx/event.h:1540:46: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1540 | m_clientObject(event.m_clientObject) | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxScrollEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:1637:68: warning: implicitly-declared 'wxScrollEvent::wxScrollEvent(const wxScrollEvent&)' is deprecated [-Wdeprecated-copy] 1637 | virtual wxEvent *Clone() const { return new wxScrollEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxScrollEvent' has user-provided 'wxScrollEvent& wxScrollEvent::operator=(const wxScrollEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:1640:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 1640 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxScrollEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2173:67: warning: implicitly-declared 'wxPaintEvent::wxPaintEvent(const wxPaintEvent&)' is deprecated [-Wdeprecated-copy] 2173 | virtual wxEvent *Clone() const { return new wxPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxPaintEvent' has user-provided 'wxPaintEvent& wxPaintEvent::operator=(const wxPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2176:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2176 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxNcPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2186:69: warning: implicitly-declared 'wxNcPaintEvent::wxNcPaintEvent(const wxNcPaintEvent&)' is deprecated [-Wdeprecated-copy] 2186 | virtual wxEvent *Clone() const { return new wxNcPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxNcPaintEvent' has user-provided 'wxNcPaintEvent& wxNcPaintEvent::operator=(const wxNcPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2189:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2189 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxNcPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxChildFocusEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2262:72: warning: implicitly-declared 'wxChildFocusEvent::wxChildFocusEvent(const wxChildFocusEvent&)' is deprecated [-Wdeprecated-copy] 2262 | virtual wxEvent *Clone() const { return new wxChildFocusEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxChildFocusEvent' has user-provided 'wxChildFocusEvent& wxChildFocusEvent::operator=(const wxChildFocusEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2265:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2265 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxChildFocusEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxInitDialogEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2325:72: warning: implicitly-declared 'wxInitDialogEvent::wxInitDialogEvent(const wxInitDialogEvent&)' is deprecated [-Wdeprecated-copy] 2325 | virtual wxEvent *Clone() const { return new wxInitDialogEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxInitDialogEvent' has user-provided 'wxInitDialogEvent& wxInitDialogEvent::operator=(const wxInitDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2328:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2328 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxInitDialogEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxMaximizeEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2493:70: warning: implicitly-declared 'wxMaximizeEvent::wxMaximizeEvent(const wxMaximizeEvent&)' is deprecated [-Wdeprecated-copy] 2493 | virtual wxEvent *Clone() const { return new wxMaximizeEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxMaximizeEvent' has user-provided 'wxMaximizeEvent& wxMaximizeEvent::operator=(const wxMaximizeEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2496:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2496 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxMaximizeEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxSysColourChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2762:78: warning: implicitly-declared 'wxSysColourChangedEvent::wxSysColourChangedEvent(const wxSysColourChangedEvent&)' is deprecated [-Wdeprecated-copy] 2762 | virtual wxEvent *Clone() const { return new wxSysColourChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxSysColourChangedEvent' has user-provided 'wxSysColourChangedEvent& wxSysColourChangedEvent::operator=(const wxSysColourChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2765:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2765 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxSysColourChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxDisplayChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2833:76: warning: implicitly-declared 'wxDisplayChangedEvent::wxDisplayChangedEvent(const wxDisplayChangedEvent&)' is deprecated [-Wdeprecated-copy] 2833 | virtual wxEvent *Clone() const { return new wxDisplayChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxDisplayChangedEvent' has user-provided 'wxDisplayChangedEvent& wxDisplayChangedEvent::operator=(const wxDisplayChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2826:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2826 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxDisplayChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowCreateEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2979:74: warning: implicitly-declared 'wxWindowCreateEvent::wxWindowCreateEvent(const wxWindowCreateEvent&)' is deprecated [-Wdeprecated-copy] 2979 | virtual wxEvent *Clone() const { return new wxWindowCreateEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowCreateEvent' has user-provided 'wxWindowCreateEvent& wxWindowCreateEvent::operator=(const wxWindowCreateEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2982:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2982 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowCreateEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowDestroyEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2992:75: warning: implicitly-declared 'wxWindowDestroyEvent::wxWindowDestroyEvent(const wxWindowDestroyEvent&)' is deprecated [-Wdeprecated-copy] 2992 | virtual wxEvent *Clone() const { return new wxWindowDestroyEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowDestroyEvent' has user-provided 'wxWindowDestroyEvent& wxWindowDestroyEvent::operator=(const wxWindowDestroyEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2995:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2995 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowDestroyEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/bitmap.h:21, from /usr/include/wx-3.0/wx/generic/panelg.h:14, from /usr/include/wx-3.0/wx/panel.h:69, from /usr/include/wx-3.0/wx/scrolwin.h:14, from /usr/include/wx-3.0/wx/generic/listctrl.h:14, from /usr/include/wx-3.0/wx/listctrl.h:35, from ./chmlistctrl.h:29, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/image.h: In member function 'void wxImageHandler::SetAltExtensions(const wxArrayString&)': /usr/include/wx-3.0/wx/image.h:130:74: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 130 | void SetAltExtensions(const wxArrayString& exts) { m_altExtensions = exts; } | ^~~~ In file included from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/aui/framemanager.h:25, from /usr/include/wx-3.0/wx/aui/auibook.h:25, from ./chmhtmlnotebook.h:27, from chmlistctrl.cpp:26: /usr/include/wx-3.0/wx/timer.h: In member function 'virtual wxEvent* wxTimerEvent::Clone() const': /usr/include/wx-3.0/wx/timer.h:177:67: warning: implicitly-declared 'wxTimerEvent::wxTimerEvent(const wxTimerEvent&)' is deprecated [-Wdeprecated-copy] 177 | virtual wxEvent *Clone() const { return new wxTimerEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxTimerEvent' has user-provided 'wxTimerEvent& wxTimerEvent::operator=(const wxTimerEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:183:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 183 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxTimerEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from chmlistctrl.cpp:25: chmlistctrl.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxSizeEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' 4131 | wx__DECLARE_EVT1(evt, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4154:25: note: in expansion of macro 'wx__DECLARE_EVT0' 4154 | #define EVT_SIZE(func) wx__DECLARE_EVT0(wxEVT_SIZE, wxSizeEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3912:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3912 | wxEVENT_HANDLER_CAST(wxSizeEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4154:54: note: in expansion of macro 'wxSizeEventHandler' 4154 | #define EVT_SIZE(func) wx__DECLARE_EVT0(wxEVT_SIZE, wxSizeEventHandler(func)) | ^~~~~~~~~~~~~~~~~~ chmlistctrl.cpp:171:2: note: in expansion of macro 'EVT_SIZE' 171 | EVT_SIZE(CHMListCtrl::OnSize) | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/src' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pipe -frecord-gcc-switches -Wall -g -O2 -W -Wall -g -O2 -c -o hhcparser.o hhcparser.cpp In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:1224:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1224 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniChar)': /usr/include/wx-3.0/wx/string.h:1226:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1226 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:1228:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1228 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1230:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1230 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniChar)': /usr/include/wx-3.0/wx/string.h:1995:52: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1995 | wxString& operator<<(wxUniChar ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1996:55: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1996 | wxString& operator<<(wxUniCharRef ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:2039:23: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2039 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:2041:23: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2041 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::Before(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2195:61: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2195 | wxString Before(wxUniChar ch) const { return BeforeLast(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2186:33: note: initializing argument 1 of 'wxString wxString::BeforeLast(wxUniChar, wxString*) const' 2186 | wxString BeforeLast(wxUniChar ch, wxString *rest = NULL) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::After(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2196:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2196 | wxString After(wxUniChar ch) const { return AfterFirst(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2189:33: note: initializing argument 1 of 'wxString wxString::AfterFirst(wxUniChar) const' 2189 | wxString AfterFirst(wxUniChar ch) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'size_t wxString::Index(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2403:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2403 | size_t Index(wxUniChar ch) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2412:51: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2412 | int First( wxUniChar ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniCharRef) const': /usr/include/wx-3.0/wx/string.h:2413:54: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2413 | int First( wxUniCharRef ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2223:25: note: initializing argument 1 of 'int wxString::Find(wxUniCharRef, bool) const' 2223 | int Find(wxUniCharRef ch, bool bFromEnd = false) const | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::Last(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2418:56: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2418 | int Last( wxUniChar ch ) const { return Find(ch, true); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4040:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4040 | inline bool operator==(const wxUniChar& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4041:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4041 | inline bool operator==(const wxUniCharRef& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4045:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4045 | inline bool operator==(const wxString& s, const wxUniChar& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4046:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4046 | inline bool operator==(const wxString& s, const wxUniCharRef& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4049:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4049 | inline bool operator!=(const wxUniChar& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4050:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4050 | inline bool operator!=(const wxUniCharRef& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4054:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4054 | inline bool operator!=(const wxString& s, const wxUniChar& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4055:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4055 | inline bool operator!=(const wxString& s, const wxUniCharRef& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:15, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/arrstr.h: In copy constructor 'wxSortedArrayString::wxSortedArrayString(const wxSortedArrayString&)': /usr/include/wx-3.0/wx/arrstr.h:77:40: warning: implicitly-declared 'wxSortedArrayStringBase::wxSortedArrayStringBase(const wxSortedArrayStringBase&)' is deprecated [-Wdeprecated-copy] 77 | : wxSortedArrayStringBase(array) | ^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/dynarray.h:531:9: note: because 'wxSortedArrayStringBase' has user-provided 'wxSortedArrayStringBase& wxSortedArrayStringBase::operator=(const wxSortedArrayStringBase&)' 531 | name& operator=(const name& src) \ | ^~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:41:1: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' 41 | _WX_DEFINE_SORTED_TYPEARRAY_2(wxString, wxSortedArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)': /usr/include/wx-3.0/wx/event.h:1204:24: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1204 | class WXDLLIMPEXP_BASE wxEventAnyPayloadMixin : public wxEventBasicPayloadMixin | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxThreadEvent::wxThreadEvent(const wxThreadEvent&)': /usr/include/wx-3.0/wx/event.h:1295:39: note: synthesized method 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)' first required here 1295 | wxEventAnyPayloadMixin(event) | ^ /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxCommandEvent::wxCommandEvent(const wxCommandEvent&)': /usr/include/wx-3.0/wx/event.h:1540:46: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1540 | m_clientObject(event.m_clientObject) | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxScrollEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:1637:68: warning: implicitly-declared 'wxScrollEvent::wxScrollEvent(const wxScrollEvent&)' is deprecated [-Wdeprecated-copy] 1637 | virtual wxEvent *Clone() const { return new wxScrollEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxScrollEvent' has user-provided 'wxScrollEvent& wxScrollEvent::operator=(const wxScrollEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:1640:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 1640 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxScrollEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2173:67: warning: implicitly-declared 'wxPaintEvent::wxPaintEvent(const wxPaintEvent&)' is deprecated [-Wdeprecated-copy] 2173 | virtual wxEvent *Clone() const { return new wxPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxPaintEvent' has user-provided 'wxPaintEvent& wxPaintEvent::operator=(const wxPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2176:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2176 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxNcPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2186:69: warning: implicitly-declared 'wxNcPaintEvent::wxNcPaintEvent(const wxNcPaintEvent&)' is deprecated [-Wdeprecated-copy] 2186 | virtual wxEvent *Clone() const { return new wxNcPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxNcPaintEvent' has user-provided 'wxNcPaintEvent& wxNcPaintEvent::operator=(const wxNcPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2189:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2189 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxNcPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxChildFocusEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2262:72: warning: implicitly-declared 'wxChildFocusEvent::wxChildFocusEvent(const wxChildFocusEvent&)' is deprecated [-Wdeprecated-copy] 2262 | virtual wxEvent *Clone() const { return new wxChildFocusEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxChildFocusEvent' has user-provided 'wxChildFocusEvent& wxChildFocusEvent::operator=(const wxChildFocusEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2265:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2265 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxChildFocusEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxInitDialogEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2325:72: warning: implicitly-declared 'wxInitDialogEvent::wxInitDialogEvent(const wxInitDialogEvent&)' is deprecated [-Wdeprecated-copy] 2325 | virtual wxEvent *Clone() const { return new wxInitDialogEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxInitDialogEvent' has user-provided 'wxInitDialogEvent& wxInitDialogEvent::operator=(const wxInitDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2328:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2328 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxInitDialogEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxMaximizeEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2493:70: warning: implicitly-declared 'wxMaximizeEvent::wxMaximizeEvent(const wxMaximizeEvent&)' is deprecated [-Wdeprecated-copy] 2493 | virtual wxEvent *Clone() const { return new wxMaximizeEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxMaximizeEvent' has user-provided 'wxMaximizeEvent& wxMaximizeEvent::operator=(const wxMaximizeEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2496:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2496 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxMaximizeEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxSysColourChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2762:78: warning: implicitly-declared 'wxSysColourChangedEvent::wxSysColourChangedEvent(const wxSysColourChangedEvent&)' is deprecated [-Wdeprecated-copy] 2762 | virtual wxEvent *Clone() const { return new wxSysColourChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxSysColourChangedEvent' has user-provided 'wxSysColourChangedEvent& wxSysColourChangedEvent::operator=(const wxSysColourChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2765:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2765 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxSysColourChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxDisplayChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2833:76: warning: implicitly-declared 'wxDisplayChangedEvent::wxDisplayChangedEvent(const wxDisplayChangedEvent&)' is deprecated [-Wdeprecated-copy] 2833 | virtual wxEvent *Clone() const { return new wxDisplayChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxDisplayChangedEvent' has user-provided 'wxDisplayChangedEvent& wxDisplayChangedEvent::operator=(const wxDisplayChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2826:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2826 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxDisplayChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowCreateEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2979:74: warning: implicitly-declared 'wxWindowCreateEvent::wxWindowCreateEvent(const wxWindowCreateEvent&)' is deprecated [-Wdeprecated-copy] 2979 | virtual wxEvent *Clone() const { return new wxWindowCreateEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowCreateEvent' has user-provided 'wxWindowCreateEvent& wxWindowCreateEvent::operator=(const wxWindowCreateEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2982:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2982 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowCreateEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/ctrlsub.h:19, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowDestroyEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2992:75: warning: implicitly-declared 'wxWindowDestroyEvent::wxWindowDestroyEvent(const wxWindowDestroyEvent&)' is deprecated [-Wdeprecated-copy] 2992 | virtual wxEvent *Clone() const { return new wxWindowDestroyEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowDestroyEvent' has user-provided 'wxWindowDestroyEvent& wxWindowDestroyEvent::operator=(const wxWindowDestroyEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2995:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2995 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowDestroyEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/bitmap.h:21, from /usr/include/wx-3.0/wx/generic/panelg.h:14, from /usr/include/wx-3.0/wx/panel.h:69, from /usr/include/wx-3.0/wx/scrolwin.h:14, from /usr/include/wx-3.0/wx/generic/listctrl.h:14, from /usr/include/wx-3.0/wx/listctrl.h:35, from ./chmlistctrl.h:29, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/image.h: In member function 'void wxImageHandler::SetAltExtensions(const wxArrayString&)': /usr/include/wx-3.0/wx/image.h:130:74: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 130 | void SetAltExtensions(const wxArrayString& exts) { m_altExtensions = exts; } | ^~~~ In file included from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from hhcparser.cpp:24: ./hhcparser.h: At global scope: ./hhcparser.h:108:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 108 | std::auto_ptr _cvPtr; | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from ./hhcparser.h:30, from hhcparser.cpp:24: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:31, from hhcparser.cpp:27: /usr/include/wx-3.0/wx/timer.h: In member function 'virtual wxEvent* wxTimerEvent::Clone() const': /usr/include/wx-3.0/wx/timer.h:177:67: warning: implicitly-declared 'wxTimerEvent::wxTimerEvent(const wxTimerEvent&)' is deprecated [-Wdeprecated-copy] 177 | virtual wxEvent *Clone() const { return new wxTimerEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxTimerEvent' has user-provided 'wxTimerEvent& wxTimerEvent::operator=(const wxTimerEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:183:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 183 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxTimerEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/affinematrix2dbase.h:17, from /usr/include/wx-3.0/wx/affinematrix2d.h:17, from /usr/include/wx-3.0/wx/dc.h:32, from /usr/include/wx-3.0/wx/wx.h:50, from hhcparser.cpp:27: /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateIntersection(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:618:82: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 618 | { wxRect2DDouble result; Intersect( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateUnion(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:626:78: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 626 | { wxRect2DDouble result; Union( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:63, from hhcparser.cpp:27: /usr/include/wx-3.0/wx/dialog.h: In member function 'virtual wxEvent* wxWindowModalDialogEvent::Clone() const': /usr/include/wx-3.0/wx/dialog.h:384:80: warning: implicitly-declared 'wxWindowModalDialogEvent::wxWindowModalDialogEvent(const wxWindowModalDialogEvent&)' is deprecated [-Wdeprecated-copy] 384 | virtual wxEvent *Clone() const { return new wxWindowModalDialogEvent (*this); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowModalDialogEvent' has user-provided 'wxWindowModalDialogEvent& wxWindowModalDialogEvent::operator=(const wxWindowModalDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dialog.h:387:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 387 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowModalDialogEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from hhcparser.cpp:27: /usr/include/wx-3.0/wx/dataobj.h: In constructor 'wxDataObjectSimple::wxDataObjectSimple(const wxDataFormat&)': /usr/include/wx-3.0/wx/dataobj.h:202:26: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 202 | : m_format(format) | ^ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from hhcparser.cpp:27: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from hhcparser.cpp:27: /usr/include/wx-3.0/wx/dataobj.h: In member function 'virtual wxDataFormat wxDataObjectSimple::GetPreferredFormat(wxDataObjectBase::Direction) const': /usr/include/wx-3.0/wx/dataobj.h:229:18: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 229 | { return m_format; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from hhcparser.cpp:27: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from hhcparser.cpp:27: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetIncludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:72:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 72 | void SetIncludes(const wxArrayString& includes) { m_includes = includes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from hhcparser.cpp:27: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetExcludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:76:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 76 | void SetExcludes(const wxArrayString& excludes) { m_excludes = excludes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from hhcparser.cpp:27: /usr/include/wx-3.0/wx/filectrl.h: In member function 'virtual wxEvent* wxFileCtrlEvent::Clone() const': /usr/include/wx-3.0/wx/filectrl.h:101:72: warning: implicitly-declared 'wxFileCtrlEvent::wxFileCtrlEvent(const wxFileCtrlEvent&)' is deprecated [-Wdeprecated-copy] 101 | virtual wxEvent *Clone() const { return new wxFileCtrlEvent( *this ); } | ^ In file included from /usr/include/wx-3.0/wx/listbox.h:18, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxFileCtrlEvent' has user-provided 'wxFileCtrlEvent& wxFileCtrlEvent::operator=(const wxFileCtrlEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/filectrl.h:118:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 118 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN( wxFileCtrlEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from hhcparser.cpp:27: /usr/include/wx-3.0/wx/filectrl.h: In member function 'void wxFileCtrlEvent::SetFiles(const wxArrayString&)': /usr/include/wx-3.0/wx/filectrl.h:103:61: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 103 | void SetFiles( const wxArrayString &files ) { m_files = files; } | ^~~~~ In file included from /usr/include/wx-3.0/wx/ctrlsub.h:18, from /usr/include/wx-3.0/wx/listbox.h:22, from ./chmlistctrl.h:28, from hhcparser.cpp:23: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from hhcparser.cpp:34: ./bitfiddle.inl: At global scope: ./bitfiddle.inl:191:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 191 | inline void createCSConvPtr(std::auto_ptr& cvPtr, wxFontEncoding enc) | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from ./hhcparser.h:30, from hhcparser.cpp:24: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ In file included from hhcparser.cpp:34: ./bitfiddle.inl: In function 'wxString translateEncoding(const wxString&, wxFontEncoding)': ./bitfiddle.inl:221:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 221 | std::auto_ptr convToPtr; | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from ./hhcparser.h:30, from hhcparser.cpp:24: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ hhcparser.cpp: In member function 'void HHCParser::parse(const char*)': hhcparser.cpp:170:4: warning: this statement may fall through [-Wimplicit-fallthrough=] 170 | if(!_inquote) { | ^~ hhcparser.cpp:177:3: note: here 177 | case '>': | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/src' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pipe -frecord-gcc-switches -Wall -g -O2 -W -Wall -g -O2 -c -o chmhtmlwindow.o chmhtmlwindow.cpp In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:1224:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1224 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniChar)': /usr/include/wx-3.0/wx/string.h:1226:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1226 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:1228:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1228 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1230:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1230 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniChar)': /usr/include/wx-3.0/wx/string.h:1995:52: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1995 | wxString& operator<<(wxUniChar ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1996:55: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1996 | wxString& operator<<(wxUniCharRef ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:2039:23: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2039 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:2041:23: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2041 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::Before(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2195:61: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2195 | wxString Before(wxUniChar ch) const { return BeforeLast(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2186:33: note: initializing argument 1 of 'wxString wxString::BeforeLast(wxUniChar, wxString*) const' 2186 | wxString BeforeLast(wxUniChar ch, wxString *rest = NULL) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::After(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2196:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2196 | wxString After(wxUniChar ch) const { return AfterFirst(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2189:33: note: initializing argument 1 of 'wxString wxString::AfterFirst(wxUniChar) const' 2189 | wxString AfterFirst(wxUniChar ch) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'size_t wxString::Index(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2403:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2403 | size_t Index(wxUniChar ch) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2412:51: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2412 | int First( wxUniChar ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniCharRef) const': /usr/include/wx-3.0/wx/string.h:2413:54: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2413 | int First( wxUniCharRef ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2223:25: note: initializing argument 1 of 'int wxString::Find(wxUniCharRef, bool) const' 2223 | int Find(wxUniCharRef ch, bool bFromEnd = false) const | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::Last(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2418:56: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2418 | int Last( wxUniChar ch ) const { return Find(ch, true); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4040:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4040 | inline bool operator==(const wxUniChar& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4041:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4041 | inline bool operator==(const wxUniCharRef& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4045:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4045 | inline bool operator==(const wxString& s, const wxUniChar& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4046:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4046 | inline bool operator==(const wxString& s, const wxUniCharRef& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4049:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4049 | inline bool operator!=(const wxUniChar& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4050:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4050 | inline bool operator!=(const wxUniCharRef& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4054:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4054 | inline bool operator!=(const wxString& s, const wxUniChar& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4055:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4055 | inline bool operator!=(const wxString& s, const wxUniCharRef& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/arrstr.h: In copy constructor 'wxSortedArrayString::wxSortedArrayString(const wxSortedArrayString&)': /usr/include/wx-3.0/wx/arrstr.h:77:40: warning: implicitly-declared 'wxSortedArrayStringBase::wxSortedArrayStringBase(const wxSortedArrayStringBase&)' is deprecated [-Wdeprecated-copy] 77 | : wxSortedArrayStringBase(array) | ^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/dynarray.h:531:9: note: because 'wxSortedArrayStringBase' has user-provided 'wxSortedArrayStringBase& wxSortedArrayStringBase::operator=(const wxSortedArrayStringBase&)' 531 | name& operator=(const name& src) \ | ^~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:41:1: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' 41 | _WX_DEFINE_SORTED_TYPEARRAY_2(wxString, wxSortedArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)': /usr/include/wx-3.0/wx/event.h:1204:24: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1204 | class WXDLLIMPEXP_BASE wxEventAnyPayloadMixin : public wxEventBasicPayloadMixin | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxThreadEvent::wxThreadEvent(const wxThreadEvent&)': /usr/include/wx-3.0/wx/event.h:1295:39: note: synthesized method 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)' first required here 1295 | wxEventAnyPayloadMixin(event) | ^ /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxCommandEvent::wxCommandEvent(const wxCommandEvent&)': /usr/include/wx-3.0/wx/event.h:1540:46: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1540 | m_clientObject(event.m_clientObject) | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxScrollEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:1637:68: warning: implicitly-declared 'wxScrollEvent::wxScrollEvent(const wxScrollEvent&)' is deprecated [-Wdeprecated-copy] 1637 | virtual wxEvent *Clone() const { return new wxScrollEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxScrollEvent' has user-provided 'wxScrollEvent& wxScrollEvent::operator=(const wxScrollEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:1640:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 1640 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxScrollEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2173:67: warning: implicitly-declared 'wxPaintEvent::wxPaintEvent(const wxPaintEvent&)' is deprecated [-Wdeprecated-copy] 2173 | virtual wxEvent *Clone() const { return new wxPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxPaintEvent' has user-provided 'wxPaintEvent& wxPaintEvent::operator=(const wxPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2176:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2176 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxNcPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2186:69: warning: implicitly-declared 'wxNcPaintEvent::wxNcPaintEvent(const wxNcPaintEvent&)' is deprecated [-Wdeprecated-copy] 2186 | virtual wxEvent *Clone() const { return new wxNcPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxNcPaintEvent' has user-provided 'wxNcPaintEvent& wxNcPaintEvent::operator=(const wxNcPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2189:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2189 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxNcPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxChildFocusEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2262:72: warning: implicitly-declared 'wxChildFocusEvent::wxChildFocusEvent(const wxChildFocusEvent&)' is deprecated [-Wdeprecated-copy] 2262 | virtual wxEvent *Clone() const { return new wxChildFocusEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxChildFocusEvent' has user-provided 'wxChildFocusEvent& wxChildFocusEvent::operator=(const wxChildFocusEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2265:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2265 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxChildFocusEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxInitDialogEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2325:72: warning: implicitly-declared 'wxInitDialogEvent::wxInitDialogEvent(const wxInitDialogEvent&)' is deprecated [-Wdeprecated-copy] 2325 | virtual wxEvent *Clone() const { return new wxInitDialogEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxInitDialogEvent' has user-provided 'wxInitDialogEvent& wxInitDialogEvent::operator=(const wxInitDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2328:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2328 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxInitDialogEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxMaximizeEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2493:70: warning: implicitly-declared 'wxMaximizeEvent::wxMaximizeEvent(const wxMaximizeEvent&)' is deprecated [-Wdeprecated-copy] 2493 | virtual wxEvent *Clone() const { return new wxMaximizeEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxMaximizeEvent' has user-provided 'wxMaximizeEvent& wxMaximizeEvent::operator=(const wxMaximizeEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2496:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2496 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxMaximizeEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxSysColourChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2762:78: warning: implicitly-declared 'wxSysColourChangedEvent::wxSysColourChangedEvent(const wxSysColourChangedEvent&)' is deprecated [-Wdeprecated-copy] 2762 | virtual wxEvent *Clone() const { return new wxSysColourChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxSysColourChangedEvent' has user-provided 'wxSysColourChangedEvent& wxSysColourChangedEvent::operator=(const wxSysColourChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2765:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2765 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxSysColourChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxDisplayChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2833:76: warning: implicitly-declared 'wxDisplayChangedEvent::wxDisplayChangedEvent(const wxDisplayChangedEvent&)' is deprecated [-Wdeprecated-copy] 2833 | virtual wxEvent *Clone() const { return new wxDisplayChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxDisplayChangedEvent' has user-provided 'wxDisplayChangedEvent& wxDisplayChangedEvent::operator=(const wxDisplayChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2826:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2826 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxDisplayChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowCreateEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2979:74: warning: implicitly-declared 'wxWindowCreateEvent::wxWindowCreateEvent(const wxWindowCreateEvent&)' is deprecated [-Wdeprecated-copy] 2979 | virtual wxEvent *Clone() const { return new wxWindowCreateEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowCreateEvent' has user-provided 'wxWindowCreateEvent& wxWindowCreateEvent::operator=(const wxWindowCreateEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2982:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2982 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowCreateEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowDestroyEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2992:75: warning: implicitly-declared 'wxWindowDestroyEvent::wxWindowDestroyEvent(const wxWindowDestroyEvent&)' is deprecated [-Wdeprecated-copy] 2992 | virtual wxEvent *Clone() const { return new wxWindowDestroyEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowDestroyEvent' has user-provided 'wxWindowDestroyEvent& wxWindowDestroyEvent::operator=(const wxWindowDestroyEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2995:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2995 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowDestroyEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/bitmap.h:21, from /usr/include/wx-3.0/wx/generic/panelg.h:14, from /usr/include/wx-3.0/wx/panel.h:69, from /usr/include/wx-3.0/wx/scrolwin.h:14, from /usr/include/wx-3.0/wx/html/htmlwin.h:16, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/image.h: In member function 'void wxImageHandler::SetAltExtensions(const wxArrayString&)': /usr/include/wx-3.0/wx/image.h:130:74: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 130 | void SetAltExtensions(const wxArrayString& exts) { m_altExtensions = exts; } | ^~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 43 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 43 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' 880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' 44 | WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); | ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' 880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' 44 | WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); | ^~~~~~~~~~~~~~~~~~~ In file included from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/html/htmlwin.h: In member function 'virtual wxEvent* wxHtmlCellEvent::Clone() const': /usr/include/wx-3.0/wx/html/htmlwin.h:594:70: warning: implicitly-declared 'wxHtmlCellEvent::wxHtmlCellEvent(const wxHtmlCellEvent&)' is deprecated [-Wdeprecated-copy] 594 | virtual wxEvent *Clone() const { return new wxHtmlCellEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxHtmlCellEvent' has user-provided 'wxHtmlCellEvent& wxHtmlCellEvent::operator=(const wxHtmlCellEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/html/htmlwin.h:603:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 603 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxHtmlCellEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/html/htmlwin.h: In member function 'virtual wxEvent* wxHtmlLinkEvent::Clone() const': /usr/include/wx-3.0/wx/html/htmlwin.h:625:70: warning: implicitly-declared 'wxHtmlLinkEvent::wxHtmlLinkEvent(const wxHtmlLinkEvent&)' is deprecated [-Wdeprecated-copy] 625 | virtual wxEvent *Clone() const { return new wxHtmlLinkEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxHtmlLinkEvent' has user-provided 'wxHtmlLinkEvent& wxHtmlLinkEvent::operator=(const wxHtmlLinkEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/html/htmlwin.h:630:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 630 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxHtmlLinkEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./chmfinddialog.h:27, from ./chmhtmlwindow.h:31, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/dialog.h: In member function 'virtual wxEvent* wxWindowModalDialogEvent::Clone() const': /usr/include/wx-3.0/wx/dialog.h:384:80: warning: implicitly-declared 'wxWindowModalDialogEvent::wxWindowModalDialogEvent(const wxWindowModalDialogEvent&)' is deprecated [-Wdeprecated-copy] 384 | virtual wxEvent *Clone() const { return new wxWindowModalDialogEvent (*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowModalDialogEvent' has user-provided 'wxWindowModalDialogEvent& wxWindowModalDialogEvent::operator=(const wxWindowModalDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dialog.h:387:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 387 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowModalDialogEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/aui/framemanager.h:25, from /usr/include/wx-3.0/wx/aui/auibook.h:25, from ./chmhtmlnotebook.h:27, from chmhtmlwindow.cpp:28: /usr/include/wx-3.0/wx/timer.h: In member function 'virtual wxEvent* wxTimerEvent::Clone() const': /usr/include/wx-3.0/wx/timer.h:177:67: warning: implicitly-declared 'wxTimerEvent::wxTimerEvent(const wxTimerEvent&)' is deprecated [-Wdeprecated-copy] 177 | virtual wxEvent *Clone() const { return new wxTimerEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxTimerEvent' has user-provided 'wxTimerEvent& wxTimerEvent::operator=(const wxTimerEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:183:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 183 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxTimerEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chmhtmlwindow.cpp:29: ./hhcparser.h: At global scope: ./hhcparser.h:108:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 108 | std::auto_ptr _cvPtr; | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from ./hhcparser.h:30, from chmhtmlwindow.cpp:29: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/affinematrix2dbase.h:17, from /usr/include/wx-3.0/wx/affinematrix2d.h:17, from /usr/include/wx-3.0/wx/dc.h:32, from /usr/include/wx-3.0/wx/wx.h:50, from ./chmframe.h:26, from chmhtmlwindow.cpp:31: /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateIntersection(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:618:82: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 618 | { wxRect2DDouble result; Intersect( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateUnion(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:626:78: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 626 | { wxRect2DDouble result; Union( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from ./chmframe.h:26, from chmhtmlwindow.cpp:31: /usr/include/wx-3.0/wx/dataobj.h: In constructor 'wxDataObjectSimple::wxDataObjectSimple(const wxDataFormat&)': /usr/include/wx-3.0/wx/dataobj.h:202:26: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 202 | : m_format(format) | ^ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from ./chmframe.h:26, from chmhtmlwindow.cpp:31: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from ./chmframe.h:26, from chmhtmlwindow.cpp:31: /usr/include/wx-3.0/wx/dataobj.h: In member function 'virtual wxDataFormat wxDataObjectSimple::GetPreferredFormat(wxDataObjectBase::Direction) const': /usr/include/wx-3.0/wx/dataobj.h:229:18: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 229 | { return m_format; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from ./chmframe.h:26, from chmhtmlwindow.cpp:31: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from ./chmframe.h:26, from chmhtmlwindow.cpp:31: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetIncludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:72:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 72 | void SetIncludes(const wxArrayString& includes) { m_includes = includes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from ./chmframe.h:26, from chmhtmlwindow.cpp:31: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetExcludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:76:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 76 | void SetExcludes(const wxArrayString& excludes) { m_excludes = excludes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from ./chmframe.h:26, from chmhtmlwindow.cpp:31: /usr/include/wx-3.0/wx/filectrl.h: In member function 'virtual wxEvent* wxFileCtrlEvent::Clone() const': /usr/include/wx-3.0/wx/filectrl.h:101:72: warning: implicitly-declared 'wxFileCtrlEvent::wxFileCtrlEvent(const wxFileCtrlEvent&)' is deprecated [-Wdeprecated-copy] 101 | virtual wxEvent *Clone() const { return new wxFileCtrlEvent( *this ); } | ^ In file included from /usr/include/wx-3.0/wx/html/htmlwin.h:12, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxFileCtrlEvent' has user-provided 'wxFileCtrlEvent& wxFileCtrlEvent::operator=(const wxFileCtrlEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/filectrl.h:118:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 118 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN( wxFileCtrlEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from ./chmframe.h:26, from chmhtmlwindow.cpp:31: /usr/include/wx-3.0/wx/filectrl.h: In member function 'void wxFileCtrlEvent::SetFiles(const wxArrayString&)': /usr/include/wx-3.0/wx/filectrl.h:103:61: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 103 | void SetFiles( const wxArrayString &files ) { m_files = files; } | ^~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ chmhtmlwindow.cpp: In member function 'void CHMHtmlWindow::OnSaveLinkAs(wxCommandEvent&)': chmhtmlwindow.cpp:304:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 304 | std::auto_ptr f(m_FS->OpenFile(_link)); | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from ./hhcparser.h:30, from chmhtmlwindow.cpp:29: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/html/htmlwin.h:15, from ./chmhtmlwindow.h:27, from chmhtmlwindow.cpp:27: chmhtmlwindow.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmhtmlwindow.cpp:454:2: note: in expansion of macro 'EVT_MENU' 454 | EVT_MENU(ID_CopySel, CHMHtmlWindow::OnCopy) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmhtmlwindow.cpp:455:2: note: in expansion of macro 'EVT_MENU' 455 | EVT_MENU(ID_PopupFind, CHMHtmlWindow::OnFind) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmhtmlwindow.cpp:456:2: note: in expansion of macro 'EVT_MENU' 456 | EVT_MENU(ID_PopupForward, CHMHtmlWindow::OnForward) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmhtmlwindow.cpp:457:2: note: in expansion of macro 'EVT_MENU' 457 | EVT_MENU(ID_PopupBack, CHMHtmlWindow::OnBack) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmhtmlwindow.cpp:458:2: note: in expansion of macro 'EVT_MENU' 458 | EVT_MENU(ID_CopyLink, CHMHtmlWindow::OnCopyLink) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmhtmlwindow.cpp:459:2: note: in expansion of macro 'EVT_MENU' 459 | EVT_MENU(ID_SaveLinkAs, CHMHtmlWindow::OnSaveLinkAs) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmhtmlwindow.cpp:460:2: note: in expansion of macro 'EVT_MENU' 460 | EVT_MENU(ID_OpenInNewTab, CHMHtmlWindow::OnOpenInNewTab) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmhtmlwindow.cpp:461:2: note: in expansion of macro 'EVT_MENU' 461 | EVT_MENU(ID_PopupFullScreen, CHMHtmlWindow::OnToggleFullScreen) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxKeyEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' 4131 | wx__DECLARE_EVT1(evt, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4166:25: note: in expansion of macro 'wx__DECLARE_EVT0' 4166 | #define EVT_CHAR(func) wx__DECLARE_EVT0(wxEVT_CHAR, wxCharEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3924:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3924 | wxEVENT_HANDLER_CAST(wxCharEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4166:54: note: in expansion of macro 'wxCharEventHandler' 4166 | #define EVT_CHAR(func) wx__DECLARE_EVT0(wxEVT_CHAR, wxCharEventHandler(func)) | ^~~~~~~~~~~~~~~~~~ chmhtmlwindow.cpp:462:2: note: in expansion of macro 'EVT_CHAR' 462 | EVT_CHAR(CHMHtmlWindow::OnChar) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' 4131 | wx__DECLARE_EVT1(evt, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4206:30: note: in expansion of macro 'wx__DECLARE_EVT0' 4206 | #define EVT_RIGHT_DOWN(func) wx__DECLARE_EVT0(wxEVT_RIGHT_DOWN, wxMouseEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3922 | wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4206:65: note: in expansion of macro 'wxMouseEventHandler' 4206 | #define EVT_RIGHT_DOWN(func) wx__DECLARE_EVT0(wxEVT_RIGHT_DOWN, wxMouseEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~ chmhtmlwindow.cpp:463:2: note: in expansion of macro 'EVT_RIGHT_DOWN' 463 | EVT_RIGHT_DOWN(CHMHtmlWindow::OnRightClick) | ^~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxSizeEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' 4131 | wx__DECLARE_EVT1(evt, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4154:25: note: in expansion of macro 'wx__DECLARE_EVT0' 4154 | #define EVT_SIZE(func) wx__DECLARE_EVT0(wxEVT_SIZE, wxSizeEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3912:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3912 | wxEVENT_HANDLER_CAST(wxSizeEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4154:54: note: in expansion of macro 'wxSizeEventHandler' 4154 | #define EVT_SIZE(func) wx__DECLARE_EVT0(wxEVT_SIZE, wxSizeEventHandler(func)) | ^~~~~~~~~~~~~~~~~~ chmhtmlwindow.cpp:464:2: note: in expansion of macro 'EVT_SIZE' 464 | EVT_SIZE(CHMHtmlWindow::OnSize) | ^~~~~~~~ /usr/include/wx-3.0/wx/docview.h: In instantiation of 'bool wxDocChildFrameAny::Create(wxDocument*, wxView*, ParentFrame*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxString&) [with ChildFrame = wxFrame; ParentFrame = wxFrame; wxWindowID = int]': /usr/include/wx-3.0/wx/docview.h:816:37: required from here /usr/include/wx-3.0/wx/event.h:148:30: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxActivateEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^ /usr/include/wx-3.0/wx/event.h:3931:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3931 | wxEVENT_HANDLER_CAST(wxActivateEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h:730:23: note: in expansion of macro 'wxActivateEventHandler' 730 | wxActivateEventHandler(wxDocChildFrameAny::OnActivate)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:30: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCloseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^ /usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3947 | wxEVENT_HANDLER_CAST(wxCloseEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h:732:23: note: in expansion of macro 'wxCloseEventHandler' 732 | wxCloseEventHandler(wxDocChildFrameAny::OnCloseWindow)); | ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h: In instantiation of 'bool wxDocParentFrameAny::Create(wxDocManager*, wxFrame*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxString&) [with BaseFrame = wxFrame; wxWindowID = int]': /usr/include/wx-3.0/wx/docview.h:970:38: required from here /usr/include/wx-3.0/wx/event.h:148:30: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h:899:23: note: in expansion of macro 'wxCommandEventHandler' 899 | wxCommandEventHandler(wxDocParentFrameAny::OnExit)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:30: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCloseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^ /usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3947 | wxEVENT_HANDLER_CAST(wxCloseEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h:901:23: note: in expansion of macro 'wxCloseEventHandler' 901 | wxCloseEventHandler(wxDocParentFrameAny::OnCloseWindow)); | ^~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/src' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pipe -frecord-gcc-switches -Wall -g -O2 -W -Wall -g -O2 -c -o chmindexpanel.o chmindexpanel.cpp In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:1224:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1224 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniChar)': /usr/include/wx-3.0/wx/string.h:1226:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1226 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:1228:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1228 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1230:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1230 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniChar)': /usr/include/wx-3.0/wx/string.h:1995:52: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1995 | wxString& operator<<(wxUniChar ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1996:55: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1996 | wxString& operator<<(wxUniCharRef ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:2039:23: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2039 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:2041:23: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2041 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::Before(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2195:61: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2195 | wxString Before(wxUniChar ch) const { return BeforeLast(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2186:33: note: initializing argument 1 of 'wxString wxString::BeforeLast(wxUniChar, wxString*) const' 2186 | wxString BeforeLast(wxUniChar ch, wxString *rest = NULL) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::After(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2196:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2196 | wxString After(wxUniChar ch) const { return AfterFirst(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2189:33: note: initializing argument 1 of 'wxString wxString::AfterFirst(wxUniChar) const' 2189 | wxString AfterFirst(wxUniChar ch) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'size_t wxString::Index(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2403:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2403 | size_t Index(wxUniChar ch) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2412:51: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2412 | int First( wxUniChar ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniCharRef) const': /usr/include/wx-3.0/wx/string.h:2413:54: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2413 | int First( wxUniCharRef ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2223:25: note: initializing argument 1 of 'int wxString::Find(wxUniCharRef, bool) const' 2223 | int Find(wxUniCharRef ch, bool bFromEnd = false) const | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::Last(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2418:56: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2418 | int Last( wxUniChar ch ) const { return Find(ch, true); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4040:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4040 | inline bool operator==(const wxUniChar& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4041:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4041 | inline bool operator==(const wxUniCharRef& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4045:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4045 | inline bool operator==(const wxString& s, const wxUniChar& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4046:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4046 | inline bool operator==(const wxString& s, const wxUniCharRef& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4049:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4049 | inline bool operator!=(const wxUniChar& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4050:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4050 | inline bool operator!=(const wxUniCharRef& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4054:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4054 | inline bool operator!=(const wxString& s, const wxUniChar& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4055:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4055 | inline bool operator!=(const wxString& s, const wxUniCharRef& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/arrstr.h: In copy constructor 'wxSortedArrayString::wxSortedArrayString(const wxSortedArrayString&)': /usr/include/wx-3.0/wx/arrstr.h:77:40: warning: implicitly-declared 'wxSortedArrayStringBase::wxSortedArrayStringBase(const wxSortedArrayStringBase&)' is deprecated [-Wdeprecated-copy] 77 | : wxSortedArrayStringBase(array) | ^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/dynarray.h:531:9: note: because 'wxSortedArrayStringBase' has user-provided 'wxSortedArrayStringBase& wxSortedArrayStringBase::operator=(const wxSortedArrayStringBase&)' 531 | name& operator=(const name& src) \ | ^~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:41:1: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' 41 | _WX_DEFINE_SORTED_TYPEARRAY_2(wxString, wxSortedArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)': /usr/include/wx-3.0/wx/event.h:1204:24: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1204 | class WXDLLIMPEXP_BASE wxEventAnyPayloadMixin : public wxEventBasicPayloadMixin | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxThreadEvent::wxThreadEvent(const wxThreadEvent&)': /usr/include/wx-3.0/wx/event.h:1295:39: note: synthesized method 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)' first required here 1295 | wxEventAnyPayloadMixin(event) | ^ /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxCommandEvent::wxCommandEvent(const wxCommandEvent&)': /usr/include/wx-3.0/wx/event.h:1540:46: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1540 | m_clientObject(event.m_clientObject) | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxScrollEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:1637:68: warning: implicitly-declared 'wxScrollEvent::wxScrollEvent(const wxScrollEvent&)' is deprecated [-Wdeprecated-copy] 1637 | virtual wxEvent *Clone() const { return new wxScrollEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxScrollEvent' has user-provided 'wxScrollEvent& wxScrollEvent::operator=(const wxScrollEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:1640:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 1640 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxScrollEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2173:67: warning: implicitly-declared 'wxPaintEvent::wxPaintEvent(const wxPaintEvent&)' is deprecated [-Wdeprecated-copy] 2173 | virtual wxEvent *Clone() const { return new wxPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxPaintEvent' has user-provided 'wxPaintEvent& wxPaintEvent::operator=(const wxPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2176:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2176 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxNcPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2186:69: warning: implicitly-declared 'wxNcPaintEvent::wxNcPaintEvent(const wxNcPaintEvent&)' is deprecated [-Wdeprecated-copy] 2186 | virtual wxEvent *Clone() const { return new wxNcPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxNcPaintEvent' has user-provided 'wxNcPaintEvent& wxNcPaintEvent::operator=(const wxNcPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2189:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2189 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxNcPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxChildFocusEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2262:72: warning: implicitly-declared 'wxChildFocusEvent::wxChildFocusEvent(const wxChildFocusEvent&)' is deprecated [-Wdeprecated-copy] 2262 | virtual wxEvent *Clone() const { return new wxChildFocusEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxChildFocusEvent' has user-provided 'wxChildFocusEvent& wxChildFocusEvent::operator=(const wxChildFocusEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2265:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2265 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxChildFocusEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxInitDialogEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2325:72: warning: implicitly-declared 'wxInitDialogEvent::wxInitDialogEvent(const wxInitDialogEvent&)' is deprecated [-Wdeprecated-copy] 2325 | virtual wxEvent *Clone() const { return new wxInitDialogEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxInitDialogEvent' has user-provided 'wxInitDialogEvent& wxInitDialogEvent::operator=(const wxInitDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2328:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2328 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxInitDialogEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxMaximizeEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2493:70: warning: implicitly-declared 'wxMaximizeEvent::wxMaximizeEvent(const wxMaximizeEvent&)' is deprecated [-Wdeprecated-copy] 2493 | virtual wxEvent *Clone() const { return new wxMaximizeEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxMaximizeEvent' has user-provided 'wxMaximizeEvent& wxMaximizeEvent::operator=(const wxMaximizeEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2496:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2496 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxMaximizeEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxSysColourChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2762:78: warning: implicitly-declared 'wxSysColourChangedEvent::wxSysColourChangedEvent(const wxSysColourChangedEvent&)' is deprecated [-Wdeprecated-copy] 2762 | virtual wxEvent *Clone() const { return new wxSysColourChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxSysColourChangedEvent' has user-provided 'wxSysColourChangedEvent& wxSysColourChangedEvent::operator=(const wxSysColourChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2765:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2765 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxSysColourChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxDisplayChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2833:76: warning: implicitly-declared 'wxDisplayChangedEvent::wxDisplayChangedEvent(const wxDisplayChangedEvent&)' is deprecated [-Wdeprecated-copy] 2833 | virtual wxEvent *Clone() const { return new wxDisplayChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxDisplayChangedEvent' has user-provided 'wxDisplayChangedEvent& wxDisplayChangedEvent::operator=(const wxDisplayChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2826:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2826 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxDisplayChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowCreateEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2979:74: warning: implicitly-declared 'wxWindowCreateEvent::wxWindowCreateEvent(const wxWindowCreateEvent&)' is deprecated [-Wdeprecated-copy] 2979 | virtual wxEvent *Clone() const { return new wxWindowCreateEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowCreateEvent' has user-provided 'wxWindowCreateEvent& wxWindowCreateEvent::operator=(const wxWindowCreateEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2982:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2982 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowCreateEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowDestroyEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2992:75: warning: implicitly-declared 'wxWindowDestroyEvent::wxWindowDestroyEvent(const wxWindowDestroyEvent&)' is deprecated [-Wdeprecated-copy] 2992 | virtual wxEvent *Clone() const { return new wxWindowDestroyEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowDestroyEvent' has user-provided 'wxWindowDestroyEvent& wxWindowDestroyEvent::operator=(const wxWindowDestroyEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2995:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2995 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowDestroyEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/bitmap.h:21, from /usr/include/wx-3.0/wx/generic/panelg.h:14, from /usr/include/wx-3.0/wx/panel.h:69, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/image.h: In member function 'void wxImageHandler::SetAltExtensions(const wxArrayString&)': /usr/include/wx-3.0/wx/image.h:130:74: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 130 | void SetAltExtensions(const wxArrayString& exts) { m_altExtensions = exts; } | ^~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 43 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 43 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' 880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' 44 | WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); | ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' 880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' 44 | WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); | ^~~~~~~~~~~~~~~~~~~ In file included from ./chmhtmlwindow.h:27, from chmindexpanel.cpp:24: /usr/include/wx-3.0/wx/html/htmlwin.h: In member function 'virtual wxEvent* wxHtmlCellEvent::Clone() const': /usr/include/wx-3.0/wx/html/htmlwin.h:594:70: warning: implicitly-declared 'wxHtmlCellEvent::wxHtmlCellEvent(const wxHtmlCellEvent&)' is deprecated [-Wdeprecated-copy] 594 | virtual wxEvent *Clone() const { return new wxHtmlCellEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxHtmlCellEvent' has user-provided 'wxHtmlCellEvent& wxHtmlCellEvent::operator=(const wxHtmlCellEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/html/htmlwin.h:603:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 603 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxHtmlCellEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./chmhtmlwindow.h:27, from chmindexpanel.cpp:24: /usr/include/wx-3.0/wx/html/htmlwin.h: In member function 'virtual wxEvent* wxHtmlLinkEvent::Clone() const': /usr/include/wx-3.0/wx/html/htmlwin.h:625:70: warning: implicitly-declared 'wxHtmlLinkEvent::wxHtmlLinkEvent(const wxHtmlLinkEvent&)' is deprecated [-Wdeprecated-copy] 625 | virtual wxEvent *Clone() const { return new wxHtmlLinkEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxHtmlLinkEvent' has user-provided 'wxHtmlLinkEvent& wxHtmlLinkEvent::operator=(const wxHtmlLinkEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/html/htmlwin.h:630:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 630 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxHtmlLinkEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./chmfinddialog.h:27, from ./chmhtmlwindow.h:31, from chmindexpanel.cpp:24: /usr/include/wx-3.0/wx/dialog.h: In member function 'virtual wxEvent* wxWindowModalDialogEvent::Clone() const': /usr/include/wx-3.0/wx/dialog.h:384:80: warning: implicitly-declared 'wxWindowModalDialogEvent::wxWindowModalDialogEvent(const wxWindowModalDialogEvent&)' is deprecated [-Wdeprecated-copy] 384 | virtual wxEvent *Clone() const { return new wxWindowModalDialogEvent (*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowModalDialogEvent' has user-provided 'wxWindowModalDialogEvent& wxWindowModalDialogEvent::operator=(const wxWindowModalDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dialog.h:387:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 387 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowModalDialogEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmindexpanel.h:27, from chmindexpanel.cpp:23: chmindexpanel.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:862:26: note: in expansion of macro 'wx__DECLARE_EVT1' 862 | #define EVT_TEXT(id, fn) wx__DECLARE_EVT1(wxEVT_TEXT, id, wxTextEventHandler(fn)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:852:34: note: in expansion of macro 'wxCommandEventHandler' 852 | #define wxTextEventHandler(func) wxCommandEventHandler(func) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:862:59: note: in expansion of macro 'wxTextEventHandler' 862 | #define EVT_TEXT(id, fn) wx__DECLARE_EVT1(wxEVT_TEXT, id, wxTextEventHandler(fn)) | ^~~~~~~~~~~~~~~~~~ chmindexpanel.cpp:87:2: note: in expansion of macro 'EVT_TEXT' 87 | EVT_TEXT(ID_SearchIndex, CHMIndexPanel::OnText) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:857:5: note: in expansion of macro 'wx__DECLARE_EVT1' 857 | wx__DECLARE_EVT1(wxEVT_TEXT_ ## evt, id, wxTextEventHandler(fn)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:852:34: note: in expansion of macro 'wxCommandEventHandler' 852 | #define wxTextEventHandler(func) wxCommandEventHandler(func) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:857:46: note: in expansion of macro 'wxTextEventHandler' 857 | wx__DECLARE_EVT1(wxEVT_TEXT_ ## evt, id, wxTextEventHandler(fn)) | ^~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:863:32: note: in expansion of macro 'wx__DECLARE_TEXTEVT' 863 | #define EVT_TEXT_ENTER(id, fn) wx__DECLARE_TEXTEVT(ENTER, id, fn) | ^~~~~~~~~~~~~~~~~~~ chmindexpanel.cpp:88:2: note: in expansion of macro 'EVT_TEXT_ENTER' 88 | EVT_TEXT_ENTER(ID_SearchIndex, CHMIndexPanel::OnIndexSelRet) | ^~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxListEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/listbase.h:583:5: note: in expansion of macro 'wx__DECLARE_EVT1' 583 | wx__DECLARE_EVT1(wxEVT_LIST_ ## evt, id, wxListEventHandler(fn)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/listbase.h:580:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 580 | wxEVENT_HANDLER_CAST(wxListEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/listbase.h:583:46: note: in expansion of macro 'wxListEventHandler' 583 | wx__DECLARE_EVT1(wxEVT_LIST_ ## evt, id, wxListEventHandler(fn)) | ^~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/listbase.h:600:40: note: in expansion of macro 'wx__DECLARE_LISTEVT' 600 | #define EVT_LIST_ITEM_SELECTED(id, fn) wx__DECLARE_LISTEVT(ITEM_SELECTED, id, fn) | ^~~~~~~~~~~~~~~~~~~ chmindexpanel.cpp:89:2: note: in expansion of macro 'EVT_LIST_ITEM_SELECTED' 89 | EVT_LIST_ITEM_SELECTED(ID_IndexClicked, CHMIndexPanel::OnIndexSel) | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/src' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pipe -frecord-gcc-switches -Wall -g -O2 -W -Wall -g -O2 -c -o chmapp.o chmapp.cpp In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:1224:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1224 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniChar)': /usr/include/wx-3.0/wx/string.h:1226:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1226 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:1228:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1228 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1230:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1230 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniChar)': /usr/include/wx-3.0/wx/string.h:1995:52: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1995 | wxString& operator<<(wxUniChar ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1996:55: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1996 | wxString& operator<<(wxUniCharRef ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:2039:23: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2039 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:2041:23: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2041 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::Before(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2195:61: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2195 | wxString Before(wxUniChar ch) const { return BeforeLast(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2186:33: note: initializing argument 1 of 'wxString wxString::BeforeLast(wxUniChar, wxString*) const' 2186 | wxString BeforeLast(wxUniChar ch, wxString *rest = NULL) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::After(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2196:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2196 | wxString After(wxUniChar ch) const { return AfterFirst(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2189:33: note: initializing argument 1 of 'wxString wxString::AfterFirst(wxUniChar) const' 2189 | wxString AfterFirst(wxUniChar ch) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'size_t wxString::Index(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2403:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2403 | size_t Index(wxUniChar ch) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2412:51: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2412 | int First( wxUniChar ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniCharRef) const': /usr/include/wx-3.0/wx/string.h:2413:54: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2413 | int First( wxUniCharRef ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2223:25: note: initializing argument 1 of 'int wxString::Find(wxUniCharRef, bool) const' 2223 | int Find(wxUniCharRef ch, bool bFromEnd = false) const | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::Last(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2418:56: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2418 | int Last( wxUniChar ch ) const { return Find(ch, true); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4040:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4040 | inline bool operator==(const wxUniChar& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4041:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4041 | inline bool operator==(const wxUniCharRef& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4045:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4045 | inline bool operator==(const wxString& s, const wxUniChar& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4046:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4046 | inline bool operator==(const wxString& s, const wxUniCharRef& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4049:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4049 | inline bool operator!=(const wxUniChar& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4050:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4050 | inline bool operator!=(const wxUniCharRef& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4054:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4054 | inline bool operator!=(const wxString& s, const wxUniChar& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4055:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4055 | inline bool operator!=(const wxString& s, const wxUniCharRef& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ In file included from /usr/include/wx-3.0/wx/wx.h:16, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/arrstr.h: In copy constructor 'wxSortedArrayString::wxSortedArrayString(const wxSortedArrayString&)': /usr/include/wx-3.0/wx/arrstr.h:77:40: warning: implicitly-declared 'wxSortedArrayStringBase::wxSortedArrayStringBase(const wxSortedArrayStringBase&)' is deprecated [-Wdeprecated-copy] 77 | : wxSortedArrayStringBase(array) | ^ In file included from /usr/include/wx-3.0/wx/wx.h:16, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/dynarray.h:531:9: note: because 'wxSortedArrayStringBase' has user-provided 'wxSortedArrayStringBase& wxSortedArrayStringBase::operator=(const wxSortedArrayStringBase&)' 531 | name& operator=(const name& src) \ | ^~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:41:1: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' 41 | _WX_DEFINE_SORTED_TYPEARRAY_2(wxString, wxSortedArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)': /usr/include/wx-3.0/wx/event.h:1204:24: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1204 | class WXDLLIMPEXP_BASE wxEventAnyPayloadMixin : public wxEventBasicPayloadMixin | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxThreadEvent::wxThreadEvent(const wxThreadEvent&)': /usr/include/wx-3.0/wx/event.h:1295:39: note: synthesized method 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)' first required here 1295 | wxEventAnyPayloadMixin(event) | ^ /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxCommandEvent::wxCommandEvent(const wxCommandEvent&)': /usr/include/wx-3.0/wx/event.h:1540:46: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1540 | m_clientObject(event.m_clientObject) | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxScrollEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:1637:68: warning: implicitly-declared 'wxScrollEvent::wxScrollEvent(const wxScrollEvent&)' is deprecated [-Wdeprecated-copy] 1637 | virtual wxEvent *Clone() const { return new wxScrollEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxScrollEvent' has user-provided 'wxScrollEvent& wxScrollEvent::operator=(const wxScrollEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:1640:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 1640 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxScrollEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2173:67: warning: implicitly-declared 'wxPaintEvent::wxPaintEvent(const wxPaintEvent&)' is deprecated [-Wdeprecated-copy] 2173 | virtual wxEvent *Clone() const { return new wxPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxPaintEvent' has user-provided 'wxPaintEvent& wxPaintEvent::operator=(const wxPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2176:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2176 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxNcPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2186:69: warning: implicitly-declared 'wxNcPaintEvent::wxNcPaintEvent(const wxNcPaintEvent&)' is deprecated [-Wdeprecated-copy] 2186 | virtual wxEvent *Clone() const { return new wxNcPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxNcPaintEvent' has user-provided 'wxNcPaintEvent& wxNcPaintEvent::operator=(const wxNcPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2189:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2189 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxNcPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxChildFocusEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2262:72: warning: implicitly-declared 'wxChildFocusEvent::wxChildFocusEvent(const wxChildFocusEvent&)' is deprecated [-Wdeprecated-copy] 2262 | virtual wxEvent *Clone() const { return new wxChildFocusEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxChildFocusEvent' has user-provided 'wxChildFocusEvent& wxChildFocusEvent::operator=(const wxChildFocusEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2265:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2265 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxChildFocusEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxInitDialogEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2325:72: warning: implicitly-declared 'wxInitDialogEvent::wxInitDialogEvent(const wxInitDialogEvent&)' is deprecated [-Wdeprecated-copy] 2325 | virtual wxEvent *Clone() const { return new wxInitDialogEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxInitDialogEvent' has user-provided 'wxInitDialogEvent& wxInitDialogEvent::operator=(const wxInitDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2328:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2328 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxInitDialogEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxMaximizeEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2493:70: warning: implicitly-declared 'wxMaximizeEvent::wxMaximizeEvent(const wxMaximizeEvent&)' is deprecated [-Wdeprecated-copy] 2493 | virtual wxEvent *Clone() const { return new wxMaximizeEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxMaximizeEvent' has user-provided 'wxMaximizeEvent& wxMaximizeEvent::operator=(const wxMaximizeEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2496:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2496 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxMaximizeEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxSysColourChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2762:78: warning: implicitly-declared 'wxSysColourChangedEvent::wxSysColourChangedEvent(const wxSysColourChangedEvent&)' is deprecated [-Wdeprecated-copy] 2762 | virtual wxEvent *Clone() const { return new wxSysColourChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxSysColourChangedEvent' has user-provided 'wxSysColourChangedEvent& wxSysColourChangedEvent::operator=(const wxSysColourChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2765:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2765 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxSysColourChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxDisplayChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2833:76: warning: implicitly-declared 'wxDisplayChangedEvent::wxDisplayChangedEvent(const wxDisplayChangedEvent&)' is deprecated [-Wdeprecated-copy] 2833 | virtual wxEvent *Clone() const { return new wxDisplayChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxDisplayChangedEvent' has user-provided 'wxDisplayChangedEvent& wxDisplayChangedEvent::operator=(const wxDisplayChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2826:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2826 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxDisplayChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowCreateEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2979:74: warning: implicitly-declared 'wxWindowCreateEvent::wxWindowCreateEvent(const wxWindowCreateEvent&)' is deprecated [-Wdeprecated-copy] 2979 | virtual wxEvent *Clone() const { return new wxWindowCreateEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowCreateEvent' has user-provided 'wxWindowCreateEvent& wxWindowCreateEvent::operator=(const wxWindowCreateEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2982:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2982 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowCreateEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowDestroyEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2992:75: warning: implicitly-declared 'wxWindowDestroyEvent::wxWindowDestroyEvent(const wxWindowDestroyEvent&)' is deprecated [-Wdeprecated-copy] 2992 | virtual wxEvent *Clone() const { return new wxWindowDestroyEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowDestroyEvent' has user-provided 'wxWindowDestroyEvent& wxWindowDestroyEvent::operator=(const wxWindowDestroyEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2995:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2995 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowDestroyEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:31, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/timer.h: In member function 'virtual wxEvent* wxTimerEvent::Clone() const': /usr/include/wx-3.0/wx/timer.h:177:67: warning: implicitly-declared 'wxTimerEvent::wxTimerEvent(const wxTimerEvent&)' is deprecated [-Wdeprecated-copy] 177 | virtual wxEvent *Clone() const { return new wxTimerEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxTimerEvent' has user-provided 'wxTimerEvent& wxTimerEvent::operator=(const wxTimerEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:183:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 183 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxTimerEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/bitmap.h:21, from /usr/include/wx-3.0/wx/generic/panelg.h:14, from /usr/include/wx-3.0/wx/panel.h:69, from /usr/include/wx-3.0/wx/wx.h:40, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/image.h: In member function 'void wxImageHandler::SetAltExtensions(const wxArrayString&)': /usr/include/wx-3.0/wx/image.h:130:74: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 130 | void SetAltExtensions(const wxArrayString& exts) { m_altExtensions = exts; } | ^~~~ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/affinematrix2dbase.h:17, from /usr/include/wx-3.0/wx/affinematrix2d.h:17, from /usr/include/wx-3.0/wx/dc.h:32, from /usr/include/wx-3.0/wx/wx.h:50, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateIntersection(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:618:82: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 618 | { wxRect2DDouble result; Intersect( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateUnion(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:626:78: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 626 | { wxRect2DDouble result; Union( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:63, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/dialog.h: In member function 'virtual wxEvent* wxWindowModalDialogEvent::Clone() const': /usr/include/wx-3.0/wx/dialog.h:384:80: warning: implicitly-declared 'wxWindowModalDialogEvent::wxWindowModalDialogEvent(const wxWindowModalDialogEvent&)' is deprecated [-Wdeprecated-copy] 384 | virtual wxEvent *Clone() const { return new wxWindowModalDialogEvent (*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowModalDialogEvent' has user-provided 'wxWindowModalDialogEvent& wxWindowModalDialogEvent::operator=(const wxWindowModalDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dialog.h:387:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 387 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowModalDialogEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/dataobj.h: In constructor 'wxDataObjectSimple::wxDataObjectSimple(const wxDataFormat&)': /usr/include/wx-3.0/wx/dataobj.h:202:26: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 202 | : m_format(format) | ^ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/dataobj.h: In member function 'virtual wxDataFormat wxDataObjectSimple::GetPreferredFormat(wxDataObjectBase::Direction) const': /usr/include/wx-3.0/wx/dataobj.h:229:18: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 229 | { return m_format; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetIncludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:72:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 72 | void SetIncludes(const wxArrayString& includes) { m_includes = includes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetExcludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:76:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 76 | void SetExcludes(const wxArrayString& excludes) { m_excludes = excludes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/filectrl.h: In member function 'virtual wxEvent* wxFileCtrlEvent::Clone() const': /usr/include/wx-3.0/wx/filectrl.h:101:72: warning: implicitly-declared 'wxFileCtrlEvent::wxFileCtrlEvent(const wxFileCtrlEvent&)' is deprecated [-Wdeprecated-copy] 101 | virtual wxEvent *Clone() const { return new wxFileCtrlEvent( *this ); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxFileCtrlEvent' has user-provided 'wxFileCtrlEvent& wxFileCtrlEvent::operator=(const wxFileCtrlEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/filectrl.h:118:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 118 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN( wxFileCtrlEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/filectrl.h: In member function 'void wxFileCtrlEvent::SetFiles(const wxArrayString&)': /usr/include/wx-3.0/wx/filectrl.h:103:61: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 103 | void SetFiles( const wxArrayString &files ) { m_files = files; } | ^~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:16, from ./chmapp.h:30, from chmapp.cpp:26: /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' 880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' 44 | WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); | ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' 880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' 44 | WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); | ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 43 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 43 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chmapp.cpp:35: ./bitfiddle.inl: At global scope: ./bitfiddle.inl:191:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 191 | inline void createCSConvPtr(std::auto_ptr& cvPtr, wxFontEncoding enc) | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from ./bitfiddle.inl:27, from chmapp.cpp:35: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ In file included from chmapp.cpp:35: ./bitfiddle.inl: In function 'wxString translateEncoding(const wxString&, wxFontEncoding)': ./bitfiddle.inl:221:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 221 | std::auto_ptr convToPtr; | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from ./bitfiddle.inl:27, from chmapp.cpp:35: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmapp.h:30, from chmapp.cpp:26: chmapp.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxTimerEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:5: note: in expansion of macro 'wx__DECLARE_EVT1' 192 | wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:189:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 189 | wxEVENT_HANDLER_CAST(wxTimerEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:44: note: in expansion of macro 'wxTimerEventHandler' 192 | wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~ chmapp.cpp:272:2: note: in expansion of macro 'EVT_TIMER' 272 | EVT_TIMER(TIMER_ID, CHMApp::WatchForXMLRPC ) | ^~~~~~~~~ /usr/include/wx-3.0/wx/docview.h: In instantiation of 'bool wxDocChildFrameAny::Create(wxDocument*, wxView*, ParentFrame*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxString&) [with ChildFrame = wxFrame; ParentFrame = wxFrame; wxWindowID = int]': /usr/include/wx-3.0/wx/docview.h:816:37: required from here /usr/include/wx-3.0/wx/event.h:148:30: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxActivateEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^ /usr/include/wx-3.0/wx/event.h:3931:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3931 | wxEVENT_HANDLER_CAST(wxActivateEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h:730:23: note: in expansion of macro 'wxActivateEventHandler' 730 | wxActivateEventHandler(wxDocChildFrameAny::OnActivate)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:30: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCloseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^ /usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3947 | wxEVENT_HANDLER_CAST(wxCloseEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h:732:23: note: in expansion of macro 'wxCloseEventHandler' 732 | wxCloseEventHandler(wxDocChildFrameAny::OnCloseWindow)); | ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h: In instantiation of 'bool wxDocParentFrameAny::Create(wxDocManager*, wxFrame*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxString&) [with BaseFrame = wxFrame; wxWindowID = int]': /usr/include/wx-3.0/wx/docview.h:970:38: required from here /usr/include/wx-3.0/wx/event.h:148:30: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h:899:23: note: in expansion of macro 'wxCommandEventHandler' 899 | wxCommandEventHandler(wxDocParentFrameAny::OnExit)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:30: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCloseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^ /usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3947 | wxEVENT_HANDLER_CAST(wxCloseEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h:901:23: note: in expansion of macro 'wxCloseEventHandler' 901 | wxCloseEventHandler(wxDocParentFrameAny::OnCloseWindow)); | ^~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/src' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pipe -frecord-gcc-switches -Wall -g -O2 -W -Wall -g -O2 -c -o chmfinddialog.o chmfinddialog.cpp In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:1224:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1224 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniChar)': /usr/include/wx-3.0/wx/string.h:1226:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1226 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:1228:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1228 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1230:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1230 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniChar)': /usr/include/wx-3.0/wx/string.h:1995:52: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1995 | wxString& operator<<(wxUniChar ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1996:55: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1996 | wxString& operator<<(wxUniCharRef ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:2039:23: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2039 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:2041:23: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2041 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::Before(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2195:61: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2195 | wxString Before(wxUniChar ch) const { return BeforeLast(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2186:33: note: initializing argument 1 of 'wxString wxString::BeforeLast(wxUniChar, wxString*) const' 2186 | wxString BeforeLast(wxUniChar ch, wxString *rest = NULL) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::After(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2196:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2196 | wxString After(wxUniChar ch) const { return AfterFirst(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2189:33: note: initializing argument 1 of 'wxString wxString::AfterFirst(wxUniChar) const' 2189 | wxString AfterFirst(wxUniChar ch) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'size_t wxString::Index(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2403:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2403 | size_t Index(wxUniChar ch) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2412:51: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2412 | int First( wxUniChar ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniCharRef) const': /usr/include/wx-3.0/wx/string.h:2413:54: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2413 | int First( wxUniCharRef ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2223:25: note: initializing argument 1 of 'int wxString::Find(wxUniCharRef, bool) const' 2223 | int Find(wxUniCharRef ch, bool bFromEnd = false) const | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::Last(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2418:56: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2418 | int Last( wxUniChar ch ) const { return Find(ch, true); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4040:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4040 | inline bool operator==(const wxUniChar& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4041:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4041 | inline bool operator==(const wxUniCharRef& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4045:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4045 | inline bool operator==(const wxString& s, const wxUniChar& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4046:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4046 | inline bool operator==(const wxString& s, const wxUniCharRef& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4049:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4049 | inline bool operator!=(const wxUniChar& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4050:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4050 | inline bool operator!=(const wxUniCharRef& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4054:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4054 | inline bool operator!=(const wxString& s, const wxUniChar& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4055:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4055 | inline bool operator!=(const wxString& s, const wxUniCharRef& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/arrstr.h: In copy constructor 'wxSortedArrayString::wxSortedArrayString(const wxSortedArrayString&)': /usr/include/wx-3.0/wx/arrstr.h:77:40: warning: implicitly-declared 'wxSortedArrayStringBase::wxSortedArrayStringBase(const wxSortedArrayStringBase&)' is deprecated [-Wdeprecated-copy] 77 | : wxSortedArrayStringBase(array) | ^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/dynarray.h:531:9: note: because 'wxSortedArrayStringBase' has user-provided 'wxSortedArrayStringBase& wxSortedArrayStringBase::operator=(const wxSortedArrayStringBase&)' 531 | name& operator=(const name& src) \ | ^~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:41:1: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' 41 | _WX_DEFINE_SORTED_TYPEARRAY_2(wxString, wxSortedArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)': /usr/include/wx-3.0/wx/event.h:1204:24: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1204 | class WXDLLIMPEXP_BASE wxEventAnyPayloadMixin : public wxEventBasicPayloadMixin | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxThreadEvent::wxThreadEvent(const wxThreadEvent&)': /usr/include/wx-3.0/wx/event.h:1295:39: note: synthesized method 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)' first required here 1295 | wxEventAnyPayloadMixin(event) | ^ /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxCommandEvent::wxCommandEvent(const wxCommandEvent&)': /usr/include/wx-3.0/wx/event.h:1540:46: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1540 | m_clientObject(event.m_clientObject) | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxScrollEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:1637:68: warning: implicitly-declared 'wxScrollEvent::wxScrollEvent(const wxScrollEvent&)' is deprecated [-Wdeprecated-copy] 1637 | virtual wxEvent *Clone() const { return new wxScrollEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxScrollEvent' has user-provided 'wxScrollEvent& wxScrollEvent::operator=(const wxScrollEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:1640:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 1640 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxScrollEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2173:67: warning: implicitly-declared 'wxPaintEvent::wxPaintEvent(const wxPaintEvent&)' is deprecated [-Wdeprecated-copy] 2173 | virtual wxEvent *Clone() const { return new wxPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxPaintEvent' has user-provided 'wxPaintEvent& wxPaintEvent::operator=(const wxPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2176:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2176 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxNcPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2186:69: warning: implicitly-declared 'wxNcPaintEvent::wxNcPaintEvent(const wxNcPaintEvent&)' is deprecated [-Wdeprecated-copy] 2186 | virtual wxEvent *Clone() const { return new wxNcPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxNcPaintEvent' has user-provided 'wxNcPaintEvent& wxNcPaintEvent::operator=(const wxNcPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2189:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2189 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxNcPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxChildFocusEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2262:72: warning: implicitly-declared 'wxChildFocusEvent::wxChildFocusEvent(const wxChildFocusEvent&)' is deprecated [-Wdeprecated-copy] 2262 | virtual wxEvent *Clone() const { return new wxChildFocusEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxChildFocusEvent' has user-provided 'wxChildFocusEvent& wxChildFocusEvent::operator=(const wxChildFocusEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2265:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2265 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxChildFocusEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxInitDialogEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2325:72: warning: implicitly-declared 'wxInitDialogEvent::wxInitDialogEvent(const wxInitDialogEvent&)' is deprecated [-Wdeprecated-copy] 2325 | virtual wxEvent *Clone() const { return new wxInitDialogEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxInitDialogEvent' has user-provided 'wxInitDialogEvent& wxInitDialogEvent::operator=(const wxInitDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2328:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2328 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxInitDialogEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxMaximizeEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2493:70: warning: implicitly-declared 'wxMaximizeEvent::wxMaximizeEvent(const wxMaximizeEvent&)' is deprecated [-Wdeprecated-copy] 2493 | virtual wxEvent *Clone() const { return new wxMaximizeEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxMaximizeEvent' has user-provided 'wxMaximizeEvent& wxMaximizeEvent::operator=(const wxMaximizeEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2496:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2496 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxMaximizeEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxSysColourChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2762:78: warning: implicitly-declared 'wxSysColourChangedEvent::wxSysColourChangedEvent(const wxSysColourChangedEvent&)' is deprecated [-Wdeprecated-copy] 2762 | virtual wxEvent *Clone() const { return new wxSysColourChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxSysColourChangedEvent' has user-provided 'wxSysColourChangedEvent& wxSysColourChangedEvent::operator=(const wxSysColourChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2765:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2765 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxSysColourChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxDisplayChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2833:76: warning: implicitly-declared 'wxDisplayChangedEvent::wxDisplayChangedEvent(const wxDisplayChangedEvent&)' is deprecated [-Wdeprecated-copy] 2833 | virtual wxEvent *Clone() const { return new wxDisplayChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxDisplayChangedEvent' has user-provided 'wxDisplayChangedEvent& wxDisplayChangedEvent::operator=(const wxDisplayChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2826:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2826 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxDisplayChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowCreateEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2979:74: warning: implicitly-declared 'wxWindowCreateEvent::wxWindowCreateEvent(const wxWindowCreateEvent&)' is deprecated [-Wdeprecated-copy] 2979 | virtual wxEvent *Clone() const { return new wxWindowCreateEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowCreateEvent' has user-provided 'wxWindowCreateEvent& wxWindowCreateEvent::operator=(const wxWindowCreateEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2982:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2982 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowCreateEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowDestroyEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2992:75: warning: implicitly-declared 'wxWindowDestroyEvent::wxWindowDestroyEvent(const wxWindowDestroyEvent&)' is deprecated [-Wdeprecated-copy] 2992 | virtual wxEvent *Clone() const { return new wxWindowDestroyEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowDestroyEvent' has user-provided 'wxWindowDestroyEvent& wxWindowDestroyEvent::operator=(const wxWindowDestroyEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2995:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2995 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowDestroyEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/bitmap.h:21, from /usr/include/wx-3.0/wx/generic/icon.h:14, from /usr/include/wx-3.0/wx/icon.h:37, from /usr/include/wx-3.0/wx/iconbndl.h:16, from /usr/include/wx-3.0/wx/toplevel.h:21, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/image.h: In member function 'void wxImageHandler::SetAltExtensions(const wxArrayString&)': /usr/include/wx-3.0/wx/image.h:130:74: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 130 | void SetAltExtensions(const wxArrayString& exts) { m_altExtensions = exts; } | ^~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/dialog.h: In member function 'virtual wxEvent* wxWindowModalDialogEvent::Clone() const': /usr/include/wx-3.0/wx/dialog.h:384:80: warning: implicitly-declared 'wxWindowModalDialogEvent::wxWindowModalDialogEvent(const wxWindowModalDialogEvent&)' is deprecated [-Wdeprecated-copy] 384 | virtual wxEvent *Clone() const { return new wxWindowModalDialogEvent (*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowModalDialogEvent' has user-provided 'wxWindowModalDialogEvent& wxWindowModalDialogEvent::operator=(const wxWindowModalDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dialog.h:387:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 387 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowModalDialogEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 43 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 43 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' 880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' 44 | WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); | ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' 880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' 44 | WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); | ^~~~~~~~~~~~~~~~~~~ In file included from ./chmhtmlwindow.h:27, from chmfinddialog.cpp:24: /usr/include/wx-3.0/wx/html/htmlwin.h: In member function 'virtual wxEvent* wxHtmlCellEvent::Clone() const': /usr/include/wx-3.0/wx/html/htmlwin.h:594:70: warning: implicitly-declared 'wxHtmlCellEvent::wxHtmlCellEvent(const wxHtmlCellEvent&)' is deprecated [-Wdeprecated-copy] 594 | virtual wxEvent *Clone() const { return new wxHtmlCellEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxHtmlCellEvent' has user-provided 'wxHtmlCellEvent& wxHtmlCellEvent::operator=(const wxHtmlCellEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/html/htmlwin.h:603:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 603 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxHtmlCellEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./chmhtmlwindow.h:27, from chmfinddialog.cpp:24: /usr/include/wx-3.0/wx/html/htmlwin.h: In member function 'virtual wxEvent* wxHtmlLinkEvent::Clone() const': /usr/include/wx-3.0/wx/html/htmlwin.h:625:70: warning: implicitly-declared 'wxHtmlLinkEvent::wxHtmlLinkEvent(const wxHtmlLinkEvent&)' is deprecated [-Wdeprecated-copy] 625 | virtual wxEvent *Clone() const { return new wxHtmlLinkEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxHtmlLinkEvent' has user-provided 'wxHtmlLinkEvent& wxHtmlLinkEvent::operator=(const wxHtmlLinkEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/html/htmlwin.h:630:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 630 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxHtmlLinkEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:31, from chmfinddialog.cpp:29: /usr/include/wx-3.0/wx/timer.h: In member function 'virtual wxEvent* wxTimerEvent::Clone() const': /usr/include/wx-3.0/wx/timer.h:177:67: warning: implicitly-declared 'wxTimerEvent::wxTimerEvent(const wxTimerEvent&)' is deprecated [-Wdeprecated-copy] 177 | virtual wxEvent *Clone() const { return new wxTimerEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxTimerEvent' has user-provided 'wxTimerEvent& wxTimerEvent::operator=(const wxTimerEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:183:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 183 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxTimerEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/affinematrix2dbase.h:17, from /usr/include/wx-3.0/wx/affinematrix2d.h:17, from /usr/include/wx-3.0/wx/dc.h:32, from /usr/include/wx-3.0/wx/wx.h:50, from chmfinddialog.cpp:29: /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateIntersection(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:618:82: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 618 | { wxRect2DDouble result; Intersect( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateUnion(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:626:78: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 626 | { wxRect2DDouble result; Union( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from chmfinddialog.cpp:29: /usr/include/wx-3.0/wx/dataobj.h: In constructor 'wxDataObjectSimple::wxDataObjectSimple(const wxDataFormat&)': /usr/include/wx-3.0/wx/dataobj.h:202:26: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 202 | : m_format(format) | ^ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from chmfinddialog.cpp:29: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from chmfinddialog.cpp:29: /usr/include/wx-3.0/wx/dataobj.h: In member function 'virtual wxDataFormat wxDataObjectSimple::GetPreferredFormat(wxDataObjectBase::Direction) const': /usr/include/wx-3.0/wx/dataobj.h:229:18: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 229 | { return m_format; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from chmfinddialog.cpp:29: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from chmfinddialog.cpp:29: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetIncludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:72:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 72 | void SetIncludes(const wxArrayString& includes) { m_includes = includes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from chmfinddialog.cpp:29: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetExcludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:76:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 76 | void SetExcludes(const wxArrayString& excludes) { m_excludes = excludes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from chmfinddialog.cpp:29: /usr/include/wx-3.0/wx/filectrl.h: In member function 'virtual wxEvent* wxFileCtrlEvent::Clone() const': /usr/include/wx-3.0/wx/filectrl.h:101:72: warning: implicitly-declared 'wxFileCtrlEvent::wxFileCtrlEvent(const wxFileCtrlEvent&)' is deprecated [-Wdeprecated-copy] 101 | virtual wxEvent *Clone() const { return new wxFileCtrlEvent( *this ); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxFileCtrlEvent' has user-provided 'wxFileCtrlEvent& wxFileCtrlEvent::operator=(const wxFileCtrlEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/filectrl.h:118:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 118 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN( wxFileCtrlEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from chmfinddialog.cpp:29: /usr/include/wx-3.0/wx/filectrl.h: In member function 'void wxFileCtrlEvent::SetFiles(const wxArrayString&)': /usr/include/wx-3.0/wx/filectrl.h:103:61: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 103 | void SetFiles( const wxArrayString &files ) { m_files = files; } | ^~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/nonownedwnd.h:14, from /usr/include/wx-3.0/wx/toplevel.h:20, from /usr/include/wx-3.0/wx/dialog.h:14, from ./chmfinddialog.h:27, from chmfinddialog.cpp:23: chmfinddialog.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:857:5: note: in expansion of macro 'wx__DECLARE_EVT1' 857 | wx__DECLARE_EVT1(wxEVT_TEXT_ ## evt, id, wxTextEventHandler(fn)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:852:34: note: in expansion of macro 'wxCommandEventHandler' 852 | #define wxTextEventHandler(func) wxCommandEventHandler(func) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:857:46: note: in expansion of macro 'wxTextEventHandler' 857 | wx__DECLARE_EVT1(wxEVT_TEXT_ ## evt, id, wxTextEventHandler(fn)) | ^~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:863:32: note: in expansion of macro 'wx__DECLARE_TEXTEVT' 863 | #define EVT_TEXT_ENTER(id, fn) wx__DECLARE_TEXTEVT(ENTER, id, fn) | ^~~~~~~~~~~~~~~~~~~ chmfinddialog.cpp:124:5: note: in expansion of macro 'EVT_TEXT_ENTER' 124 | EVT_TEXT_ENTER(ID_TextFind, CHMFindDialog::OnFind) | ^~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4325:35: note: in expansion of macro 'wx__DECLARE_EVT1' 4325 | # define EVT_BUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_BUTTON, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4325:73: note: in expansion of macro 'wxCommandEventHandler' 4325 | # define EVT_BUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_BUTTON, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmfinddialog.cpp:125:5: note: in expansion of macro 'EVT_BUTTON' 125 | EVT_BUTTON(ID_FindNext, CHMFindDialog::OnFind) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/src' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pipe -frecord-gcc-switches -Wall -g -O2 -W -Wall -g -O2 -c -o chmsearchpanel.o chmsearchpanel.cpp In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:1224:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1224 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniChar)': /usr/include/wx-3.0/wx/string.h:1226:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1226 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:1228:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1228 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1230:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1230 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniChar)': /usr/include/wx-3.0/wx/string.h:1995:52: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1995 | wxString& operator<<(wxUniChar ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1996:55: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1996 | wxString& operator<<(wxUniCharRef ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:2039:23: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2039 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:2041:23: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2041 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::Before(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2195:61: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2195 | wxString Before(wxUniChar ch) const { return BeforeLast(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2186:33: note: initializing argument 1 of 'wxString wxString::BeforeLast(wxUniChar, wxString*) const' 2186 | wxString BeforeLast(wxUniChar ch, wxString *rest = NULL) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::After(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2196:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2196 | wxString After(wxUniChar ch) const { return AfterFirst(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2189:33: note: initializing argument 1 of 'wxString wxString::AfterFirst(wxUniChar) const' 2189 | wxString AfterFirst(wxUniChar ch) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'size_t wxString::Index(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2403:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2403 | size_t Index(wxUniChar ch) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2412:51: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2412 | int First( wxUniChar ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniCharRef) const': /usr/include/wx-3.0/wx/string.h:2413:54: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2413 | int First( wxUniCharRef ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2223:25: note: initializing argument 1 of 'int wxString::Find(wxUniCharRef, bool) const' 2223 | int Find(wxUniCharRef ch, bool bFromEnd = false) const | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::Last(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2418:56: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2418 | int Last( wxUniChar ch ) const { return Find(ch, true); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4040:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4040 | inline bool operator==(const wxUniChar& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4041:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4041 | inline bool operator==(const wxUniCharRef& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4045:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4045 | inline bool operator==(const wxString& s, const wxUniChar& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4046:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4046 | inline bool operator==(const wxString& s, const wxUniCharRef& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4049:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4049 | inline bool operator!=(const wxUniChar& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4050:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4050 | inline bool operator!=(const wxUniCharRef& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4054:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4054 | inline bool operator!=(const wxString& s, const wxUniChar& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4055:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4055 | inline bool operator!=(const wxString& s, const wxUniCharRef& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/event.h:16, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/arrstr.h: In copy constructor 'wxSortedArrayString::wxSortedArrayString(const wxSortedArrayString&)': /usr/include/wx-3.0/wx/arrstr.h:77:40: warning: implicitly-declared 'wxSortedArrayStringBase::wxSortedArrayStringBase(const wxSortedArrayStringBase&)' is deprecated [-Wdeprecated-copy] 77 | : wxSortedArrayStringBase(array) | ^ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/dynarray.h:531:9: note: because 'wxSortedArrayStringBase' has user-provided 'wxSortedArrayStringBase& wxSortedArrayStringBase::operator=(const wxSortedArrayStringBase&)' 531 | name& operator=(const name& src) \ | ^~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:41:1: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' 41 | _WX_DEFINE_SORTED_TYPEARRAY_2(wxString, wxSortedArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)': /usr/include/wx-3.0/wx/event.h:1204:24: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1204 | class WXDLLIMPEXP_BASE wxEventAnyPayloadMixin : public wxEventBasicPayloadMixin | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxThreadEvent::wxThreadEvent(const wxThreadEvent&)': /usr/include/wx-3.0/wx/event.h:1295:39: note: synthesized method 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)' first required here 1295 | wxEventAnyPayloadMixin(event) | ^ /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxCommandEvent::wxCommandEvent(const wxCommandEvent&)': /usr/include/wx-3.0/wx/event.h:1540:46: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1540 | m_clientObject(event.m_clientObject) | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxScrollEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:1637:68: warning: implicitly-declared 'wxScrollEvent::wxScrollEvent(const wxScrollEvent&)' is deprecated [-Wdeprecated-copy] 1637 | virtual wxEvent *Clone() const { return new wxScrollEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxScrollEvent' has user-provided 'wxScrollEvent& wxScrollEvent::operator=(const wxScrollEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:1640:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 1640 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxScrollEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2173:67: warning: implicitly-declared 'wxPaintEvent::wxPaintEvent(const wxPaintEvent&)' is deprecated [-Wdeprecated-copy] 2173 | virtual wxEvent *Clone() const { return new wxPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxPaintEvent' has user-provided 'wxPaintEvent& wxPaintEvent::operator=(const wxPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2176:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2176 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxNcPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2186:69: warning: implicitly-declared 'wxNcPaintEvent::wxNcPaintEvent(const wxNcPaintEvent&)' is deprecated [-Wdeprecated-copy] 2186 | virtual wxEvent *Clone() const { return new wxNcPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxNcPaintEvent' has user-provided 'wxNcPaintEvent& wxNcPaintEvent::operator=(const wxNcPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2189:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2189 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxNcPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxChildFocusEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2262:72: warning: implicitly-declared 'wxChildFocusEvent::wxChildFocusEvent(const wxChildFocusEvent&)' is deprecated [-Wdeprecated-copy] 2262 | virtual wxEvent *Clone() const { return new wxChildFocusEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxChildFocusEvent' has user-provided 'wxChildFocusEvent& wxChildFocusEvent::operator=(const wxChildFocusEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2265:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2265 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxChildFocusEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxInitDialogEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2325:72: warning: implicitly-declared 'wxInitDialogEvent::wxInitDialogEvent(const wxInitDialogEvent&)' is deprecated [-Wdeprecated-copy] 2325 | virtual wxEvent *Clone() const { return new wxInitDialogEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxInitDialogEvent' has user-provided 'wxInitDialogEvent& wxInitDialogEvent::operator=(const wxInitDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2328:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2328 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxInitDialogEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxMaximizeEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2493:70: warning: implicitly-declared 'wxMaximizeEvent::wxMaximizeEvent(const wxMaximizeEvent&)' is deprecated [-Wdeprecated-copy] 2493 | virtual wxEvent *Clone() const { return new wxMaximizeEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxMaximizeEvent' has user-provided 'wxMaximizeEvent& wxMaximizeEvent::operator=(const wxMaximizeEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2496:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2496 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxMaximizeEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxSysColourChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2762:78: warning: implicitly-declared 'wxSysColourChangedEvent::wxSysColourChangedEvent(const wxSysColourChangedEvent&)' is deprecated [-Wdeprecated-copy] 2762 | virtual wxEvent *Clone() const { return new wxSysColourChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxSysColourChangedEvent' has user-provided 'wxSysColourChangedEvent& wxSysColourChangedEvent::operator=(const wxSysColourChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2765:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2765 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxSysColourChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxDisplayChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2833:76: warning: implicitly-declared 'wxDisplayChangedEvent::wxDisplayChangedEvent(const wxDisplayChangedEvent&)' is deprecated [-Wdeprecated-copy] 2833 | virtual wxEvent *Clone() const { return new wxDisplayChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxDisplayChangedEvent' has user-provided 'wxDisplayChangedEvent& wxDisplayChangedEvent::operator=(const wxDisplayChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2826:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2826 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxDisplayChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowCreateEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2979:74: warning: implicitly-declared 'wxWindowCreateEvent::wxWindowCreateEvent(const wxWindowCreateEvent&)' is deprecated [-Wdeprecated-copy] 2979 | virtual wxEvent *Clone() const { return new wxWindowCreateEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowCreateEvent' has user-provided 'wxWindowCreateEvent& wxWindowCreateEvent::operator=(const wxWindowCreateEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2982:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2982 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowCreateEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowDestroyEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2992:75: warning: implicitly-declared 'wxWindowDestroyEvent::wxWindowDestroyEvent(const wxWindowDestroyEvent&)' is deprecated [-Wdeprecated-copy] 2992 | virtual wxEvent *Clone() const { return new wxWindowDestroyEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowDestroyEvent' has user-provided 'wxWindowDestroyEvent& wxWindowDestroyEvent::operator=(const wxWindowDestroyEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2995:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2995 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowDestroyEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/bitmap.h:21, from /usr/include/wx-3.0/wx/generic/panelg.h:14, from /usr/include/wx-3.0/wx/panel.h:69, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/image.h: In member function 'void wxImageHandler::SetAltExtensions(const wxArrayString&)': /usr/include/wx-3.0/wx/image.h:130:74: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 130 | void SetAltExtensions(const wxArrayString& exts) { m_altExtensions = exts; } | ^~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 43 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 43 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' 880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' 44 | WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); | ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' 880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' 44 | WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); | ^~~~~~~~~~~~~~~~~~~ In file included from ./chmsearchpanel.h:34, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/html/htmlwin.h: In member function 'virtual wxEvent* wxHtmlCellEvent::Clone() const': /usr/include/wx-3.0/wx/html/htmlwin.h:594:70: warning: implicitly-declared 'wxHtmlCellEvent::wxHtmlCellEvent(const wxHtmlCellEvent&)' is deprecated [-Wdeprecated-copy] 594 | virtual wxEvent *Clone() const { return new wxHtmlCellEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxHtmlCellEvent' has user-provided 'wxHtmlCellEvent& wxHtmlCellEvent::operator=(const wxHtmlCellEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/html/htmlwin.h:603:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 603 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxHtmlCellEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./chmsearchpanel.h:34, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/html/htmlwin.h: In member function 'virtual wxEvent* wxHtmlLinkEvent::Clone() const': /usr/include/wx-3.0/wx/html/htmlwin.h:625:70: warning: implicitly-declared 'wxHtmlLinkEvent::wxHtmlLinkEvent(const wxHtmlLinkEvent&)' is deprecated [-Wdeprecated-copy] 625 | virtual wxEvent *Clone() const { return new wxHtmlLinkEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxHtmlLinkEvent' has user-provided 'wxHtmlLinkEvent& wxHtmlLinkEvent::operator=(const wxHtmlLinkEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/html/htmlwin.h:630:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 630 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxHtmlLinkEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chmsearchpanel.cpp:23: ./hhcparser.h: At global scope: ./hhcparser.h:108:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 108 | std::auto_ptr _cvPtr; | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from ./hhcparser.h:30, from chmsearchpanel.cpp:23: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/aui/framemanager.h:25, from /usr/include/wx-3.0/wx/aui/auibook.h:25, from ./chmhtmlnotebook.h:27, from chmsearchpanel.cpp:26: /usr/include/wx-3.0/wx/timer.h: In member function 'virtual wxEvent* wxTimerEvent::Clone() const': /usr/include/wx-3.0/wx/timer.h:177:67: warning: implicitly-declared 'wxTimerEvent::wxTimerEvent(const wxTimerEvent&)' is deprecated [-Wdeprecated-copy] 177 | virtual wxEvent *Clone() const { return new wxTimerEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxTimerEvent' has user-provided 'wxTimerEvent& wxTimerEvent::operator=(const wxTimerEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:183:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 183 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxTimerEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/affinematrix2dbase.h:17, from /usr/include/wx-3.0/wx/affinematrix2d.h:17, from /usr/include/wx-3.0/wx/dc.h:32, from /usr/include/wx-3.0/wx/wx.h:50, from chmsearchpanel.cpp:27: /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateIntersection(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:618:82: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 618 | { wxRect2DDouble result; Intersect( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateUnion(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:626:78: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 626 | { wxRect2DDouble result; Union( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:63, from chmsearchpanel.cpp:27: /usr/include/wx-3.0/wx/dialog.h: In member function 'virtual wxEvent* wxWindowModalDialogEvent::Clone() const': /usr/include/wx-3.0/wx/dialog.h:384:80: warning: implicitly-declared 'wxWindowModalDialogEvent::wxWindowModalDialogEvent(const wxWindowModalDialogEvent&)' is deprecated [-Wdeprecated-copy] 384 | virtual wxEvent *Clone() const { return new wxWindowModalDialogEvent (*this); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowModalDialogEvent' has user-provided 'wxWindowModalDialogEvent& wxWindowModalDialogEvent::operator=(const wxWindowModalDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dialog.h:387:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 387 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowModalDialogEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from chmsearchpanel.cpp:27: /usr/include/wx-3.0/wx/dataobj.h: In constructor 'wxDataObjectSimple::wxDataObjectSimple(const wxDataFormat&)': /usr/include/wx-3.0/wx/dataobj.h:202:26: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 202 | : m_format(format) | ^ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from chmsearchpanel.cpp:27: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from chmsearchpanel.cpp:27: /usr/include/wx-3.0/wx/dataobj.h: In member function 'virtual wxDataFormat wxDataObjectSimple::GetPreferredFormat(wxDataObjectBase::Direction) const': /usr/include/wx-3.0/wx/dataobj.h:229:18: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 229 | { return m_format; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from chmsearchpanel.cpp:27: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from chmsearchpanel.cpp:27: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetIncludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:72:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 72 | void SetIncludes(const wxArrayString& includes) { m_includes = includes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from chmsearchpanel.cpp:27: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetExcludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:76:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 76 | void SetExcludes(const wxArrayString& excludes) { m_excludes = excludes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from chmsearchpanel.cpp:27: /usr/include/wx-3.0/wx/filectrl.h: In member function 'virtual wxEvent* wxFileCtrlEvent::Clone() const': /usr/include/wx-3.0/wx/filectrl.h:101:72: warning: implicitly-declared 'wxFileCtrlEvent::wxFileCtrlEvent(const wxFileCtrlEvent&)' is deprecated [-Wdeprecated-copy] 101 | virtual wxEvent *Clone() const { return new wxFileCtrlEvent( *this ); } | ^ In file included from /usr/include/wx-3.0/wx/event.h:14, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxFileCtrlEvent' has user-provided 'wxFileCtrlEvent& wxFileCtrlEvent::operator=(const wxFileCtrlEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/filectrl.h:118:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 118 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN( wxFileCtrlEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from chmsearchpanel.cpp:27: /usr/include/wx-3.0/wx/filectrl.h: In member function 'void wxFileCtrlEvent::SetFiles(const wxArrayString&)': /usr/include/wx-3.0/wx/filectrl.h:103:61: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 103 | void SetFiles( const wxArrayString &files ) { m_files = files; } | ^~~~~ In file included from /usr/include/wx-3.0/wx/filefn.h:15, from /usr/include/wx-3.0/wx/utils.h:20, from /usr/include/wx-3.0/wx/cursor.h:69, from /usr/include/wx-3.0/wx/event.h:21, from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from ./chmsearchpanel.h:27, from chmsearchpanel.cpp:22: chmsearchpanel.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxListEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/listbase.h:583:5: note: in expansion of macro 'wx__DECLARE_EVT1' 583 | wx__DECLARE_EVT1(wxEVT_LIST_ ## evt, id, wxListEventHandler(fn)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/listbase.h:580:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 580 | wxEVENT_HANDLER_CAST(wxListEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/listbase.h:583:46: note: in expansion of macro 'wxListEventHandler' 583 | wx__DECLARE_EVT1(wxEVT_LIST_ ## evt, id, wxListEventHandler(fn)) | ^~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/listbase.h:600:40: note: in expansion of macro 'wx__DECLARE_LISTEVT' 600 | #define EVT_LIST_ITEM_SELECTED(id, fn) wx__DECLARE_LISTEVT(ITEM_SELECTED, id, fn) | ^~~~~~~~~~~~~~~~~~~ chmsearchpanel.cpp:291:5: note: in expansion of macro 'EVT_LIST_ITEM_SELECTED' 291 | EVT_LIST_ITEM_SELECTED(ID_Results, CHMSearchPanel::OnSearchSel) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4325:35: note: in expansion of macro 'wx__DECLARE_EVT1' 4325 | # define EVT_BUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_BUTTON, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4325:73: note: in expansion of macro 'wxCommandEventHandler' 4325 | # define EVT_BUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_BUTTON, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmsearchpanel.cpp:292:5: note: in expansion of macro 'EVT_BUTTON' 292 | EVT_BUTTON(ID_SearchButton, CHMSearchPanel::OnSearch) | ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:857:5: note: in expansion of macro 'wx__DECLARE_EVT1' 857 | wx__DECLARE_EVT1(wxEVT_TEXT_ ## evt, id, wxTextEventHandler(fn)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:852:34: note: in expansion of macro 'wxCommandEventHandler' 852 | #define wxTextEventHandler(func) wxCommandEventHandler(func) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:857:46: note: in expansion of macro 'wxTextEventHandler' 857 | wx__DECLARE_EVT1(wxEVT_TEXT_ ## evt, id, wxTextEventHandler(fn)) | ^~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:863:32: note: in expansion of macro 'wx__DECLARE_TEXTEVT' 863 | #define EVT_TEXT_ENTER(id, fn) wx__DECLARE_TEXTEVT(ENTER, id, fn) | ^~~~~~~~~~~~~~~~~~~ chmsearchpanel.cpp:293:5: note: in expansion of macro 'EVT_TEXT_ENTER' 293 | EVT_TEXT_ENTER(ID_SearchText, CHMSearchPanel::OnSearch) | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/src' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pipe -frecord-gcc-switches -Wall -g -O2 -W -Wall -g -O2 -c -o chmframe.o chmframe.cpp In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:1224:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1224 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniChar)': /usr/include/wx-3.0/wx/string.h:1226:25: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1226 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2667:40: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniChar)' 2667 | wxString& assign(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:1228:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1228 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In constructor 'wxString::wxString(size_t, wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1230:25: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1230 | { assign(nRepeat, ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2681:43: note: initializing argument 2 of 'wxString& wxString::assign(size_t, wxUniCharRef)' 2681 | wxString& assign(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniChar)': /usr/include/wx-3.0/wx/string.h:1995:52: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 1995 | wxString& operator<<(wxUniChar ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::operator<<(wxUniCharRef)': /usr/include/wx-3.0/wx/string.h:1996:55: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 1996 | wxString& operator<<(wxUniCharRef ch) { append(1, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniChar, size_t)': /usr/include/wx-3.0/wx/string.h:2039:23: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2039 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2523:40: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniChar)' 2523 | wxString& append(size_t n, wxUniChar ch) | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString& wxString::Append(wxUniCharRef, size_t)': /usr/include/wx-3.0/wx/string.h:2041:23: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2041 | { append(count, ch); return *this; } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2543:43: note: initializing argument 2 of 'wxString& wxString::append(size_t, wxUniCharRef)' 2543 | wxString& append(size_t n, wxUniCharRef ch) | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::Before(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2195:61: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2195 | wxString Before(wxUniChar ch) const { return BeforeLast(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2186:33: note: initializing argument 1 of 'wxString wxString::BeforeLast(wxUniChar, wxString*) const' 2186 | wxString BeforeLast(wxUniChar ch, wxString *rest = NULL) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'wxString wxString::After(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2196:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2196 | wxString After(wxUniChar ch) const { return AfterFirst(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2189:33: note: initializing argument 1 of 'wxString wxString::AfterFirst(wxUniChar) const' 2189 | wxString AfterFirst(wxUniChar ch) const; | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'size_t wxString::Index(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2403:60: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2403 | size_t Index(wxUniChar ch) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2412:51: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2412 | int First( wxUniChar ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::First(wxUniCharRef) const': /usr/include/wx-3.0/wx/string.h:2413:54: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 2413 | int First( wxUniCharRef ch ) const { return Find(ch); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2223:25: note: initializing argument 1 of 'int wxString::Find(wxUniCharRef, bool) const' 2223 | int Find(wxUniCharRef ch, bool bFromEnd = false) const | ~~~~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In member function 'int wxString::Last(wxUniChar) const': /usr/include/wx-3.0/wx/string.h:2418:56: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 2418 | int Last( wxUniChar ch ) const { return Find(ch, true); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2222:22: note: initializing argument 1 of 'int wxString::Find(wxUniChar, bool) const' 2222 | int Find(wxUniChar ch, bool bFromEnd = false) const; // like strchr/strrchr | ~~~~~~~~~~^~ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4040:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4040 | inline bool operator==(const wxUniChar& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4041:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4041 | inline bool operator==(const wxUniCharRef& c, const wxString& s) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4045:84: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4045 | inline bool operator==(const wxString& s, const wxUniChar& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator==(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4046:87: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4046 | inline bool operator==(const wxString& s, const wxUniCharRef& c) { return s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniChar&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4049:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4049 | inline bool operator!=(const wxUniChar& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxUniCharRef&, const wxString&)': /usr/include/wx-3.0/wx/string.h:4050:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4050 | inline bool operator!=(const wxUniCharRef& c, const wxString& s) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniChar&)': /usr/include/wx-3.0/wx/string.h:4054:85: warning: implicitly-declared 'constexpr wxUniChar::wxUniChar(const wxUniChar&)' is deprecated [-Wdeprecated-copy] 4054 | inline bool operator!=(const wxString& s, const wxUniChar& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:108:16: note: because 'wxUniChar' has user-provided 'wxUniChar& wxUniChar::operator=(const wxUniChar&)' 108 | wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2144:27: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniChar, bool) const' 2144 | bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; | ~~~~~~~~~~^ /usr/include/wx-3.0/wx/string.h: In function 'bool operator!=(const wxString&, const wxUniCharRef&)': /usr/include/wx-3.0/wx/string.h:4055:88: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy] 4055 | inline bool operator!=(const wxString& s, const wxUniCharRef& c) { return !s.IsSameAs(c); } | ^ In file included from /usr/include/wx-3.0/wx/strvararg.h:22, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)' 224 | wxUniCharRef& operator=(const wxUniCharRef& c) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/string.h:2146:30: note: initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const' 2146 | bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const | ~~~~~~~~~~~~~^ In file included from /usr/include/wx-3.0/wx/wx.h:16, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 839 | WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 840 | WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 841 | WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 842 | WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(long unsigned int*, long unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(long unsigned int, long unsigned int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 843 | WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 663 | _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' 844 | WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 877 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' 1021 | WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 1022 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 905 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' 1023 | WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 891 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' 1024 | WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 693 | _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' 686 | WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' 39 | WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/arrstr.h: In copy constructor 'wxSortedArrayString::wxSortedArrayString(const wxSortedArrayString&)': /usr/include/wx-3.0/wx/arrstr.h:77:40: warning: implicitly-declared 'wxSortedArrayStringBase::wxSortedArrayStringBase(const wxSortedArrayStringBase&)' is deprecated [-Wdeprecated-copy] 77 | : wxSortedArrayStringBase(array) | ^ In file included from /usr/include/wx-3.0/wx/wx.h:16, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/dynarray.h:531:9: note: because 'wxSortedArrayStringBase' has user-provided 'wxSortedArrayStringBase& wxSortedArrayStringBase::operator=(const wxSortedArrayStringBase&)' 531 | name& operator=(const name& src) \ | ^~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:41:1: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' 41 | _WX_DEFINE_SORTED_TYPEARRAY_2(wxString, wxSortedArrayStringBase, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)': /usr/include/wx-3.0/wx/event.h:1204:24: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1204 | class WXDLLIMPEXP_BASE wxEventAnyPayloadMixin : public wxEventBasicPayloadMixin | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxThreadEvent::wxThreadEvent(const wxThreadEvent&)': /usr/include/wx-3.0/wx/event.h:1295:39: note: synthesized method 'wxEventAnyPayloadMixin::wxEventAnyPayloadMixin(const wxEventAnyPayloadMixin&)' first required here 1295 | wxEventAnyPayloadMixin(event) | ^ /usr/include/wx-3.0/wx/event.h: In copy constructor 'wxCommandEvent::wxCommandEvent(const wxCommandEvent&)': /usr/include/wx-3.0/wx/event.h:1540:46: warning: implicitly-declared 'wxEventBasicPayloadMixin::wxEventBasicPayloadMixin(const wxEventBasicPayloadMixin&)' is deprecated [-Wdeprecated-copy] 1540 | m_clientObject(event.m_clientObject) | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxEventBasicPayloadMixin' has user-provided 'wxEventBasicPayloadMixin& wxEventBasicPayloadMixin::operator=(const wxEventBasicPayloadMixin&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:1201:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 1201 | wxDECLARE_NO_ASSIGN_CLASS(wxEventBasicPayloadMixin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxScrollEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:1637:68: warning: implicitly-declared 'wxScrollEvent::wxScrollEvent(const wxScrollEvent&)' is deprecated [-Wdeprecated-copy] 1637 | virtual wxEvent *Clone() const { return new wxScrollEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxScrollEvent' has user-provided 'wxScrollEvent& wxScrollEvent::operator=(const wxScrollEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:1640:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 1640 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxScrollEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2173:67: warning: implicitly-declared 'wxPaintEvent::wxPaintEvent(const wxPaintEvent&)' is deprecated [-Wdeprecated-copy] 2173 | virtual wxEvent *Clone() const { return new wxPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxPaintEvent' has user-provided 'wxPaintEvent& wxPaintEvent::operator=(const wxPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2176:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2176 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxNcPaintEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2186:69: warning: implicitly-declared 'wxNcPaintEvent::wxNcPaintEvent(const wxNcPaintEvent&)' is deprecated [-Wdeprecated-copy] 2186 | virtual wxEvent *Clone() const { return new wxNcPaintEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxNcPaintEvent' has user-provided 'wxNcPaintEvent& wxNcPaintEvent::operator=(const wxNcPaintEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2189:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2189 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxNcPaintEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxChildFocusEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2262:72: warning: implicitly-declared 'wxChildFocusEvent::wxChildFocusEvent(const wxChildFocusEvent&)' is deprecated [-Wdeprecated-copy] 2262 | virtual wxEvent *Clone() const { return new wxChildFocusEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxChildFocusEvent' has user-provided 'wxChildFocusEvent& wxChildFocusEvent::operator=(const wxChildFocusEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2265:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2265 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxChildFocusEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxInitDialogEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2325:72: warning: implicitly-declared 'wxInitDialogEvent::wxInitDialogEvent(const wxInitDialogEvent&)' is deprecated [-Wdeprecated-copy] 2325 | virtual wxEvent *Clone() const { return new wxInitDialogEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxInitDialogEvent' has user-provided 'wxInitDialogEvent& wxInitDialogEvent::operator=(const wxInitDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2328:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2328 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxInitDialogEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxMaximizeEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2493:70: warning: implicitly-declared 'wxMaximizeEvent::wxMaximizeEvent(const wxMaximizeEvent&)' is deprecated [-Wdeprecated-copy] 2493 | virtual wxEvent *Clone() const { return new wxMaximizeEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxMaximizeEvent' has user-provided 'wxMaximizeEvent& wxMaximizeEvent::operator=(const wxMaximizeEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2496:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2496 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxMaximizeEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxSysColourChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2762:78: warning: implicitly-declared 'wxSysColourChangedEvent::wxSysColourChangedEvent(const wxSysColourChangedEvent&)' is deprecated [-Wdeprecated-copy] 2762 | virtual wxEvent *Clone() const { return new wxSysColourChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxSysColourChangedEvent' has user-provided 'wxSysColourChangedEvent& wxSysColourChangedEvent::operator=(const wxSysColourChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2765:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2765 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxSysColourChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxDisplayChangedEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2833:76: warning: implicitly-declared 'wxDisplayChangedEvent::wxDisplayChangedEvent(const wxDisplayChangedEvent&)' is deprecated [-Wdeprecated-copy] 2833 | virtual wxEvent *Clone() const { return new wxDisplayChangedEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxDisplayChangedEvent' has user-provided 'wxDisplayChangedEvent& wxDisplayChangedEvent::operator=(const wxDisplayChangedEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2826:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2826 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxDisplayChangedEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowCreateEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2979:74: warning: implicitly-declared 'wxWindowCreateEvent::wxWindowCreateEvent(const wxWindowCreateEvent&)' is deprecated [-Wdeprecated-copy] 2979 | virtual wxEvent *Clone() const { return new wxWindowCreateEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowCreateEvent' has user-provided 'wxWindowCreateEvent& wxWindowCreateEvent::operator=(const wxWindowCreateEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2982:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2982 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowCreateEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/event.h: In member function 'virtual wxEvent* wxWindowDestroyEvent::Clone() const': /usr/include/wx-3.0/wx/event.h:2992:75: warning: implicitly-declared 'wxWindowDestroyEvent::wxWindowDestroyEvent(const wxWindowDestroyEvent&)' is deprecated [-Wdeprecated-copy] 2992 | virtual wxEvent *Clone() const { return new wxWindowDestroyEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowDestroyEvent' has user-provided 'wxWindowDestroyEvent& wxWindowDestroyEvent::operator=(const wxWindowDestroyEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:2995:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 2995 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowDestroyEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:31, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/timer.h: In member function 'virtual wxEvent* wxTimerEvent::Clone() const': /usr/include/wx-3.0/wx/timer.h:177:67: warning: implicitly-declared 'wxTimerEvent::wxTimerEvent(const wxTimerEvent&)' is deprecated [-Wdeprecated-copy] 177 | virtual wxEvent *Clone() const { return new wxTimerEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxTimerEvent' has user-provided 'wxTimerEvent& wxTimerEvent::operator=(const wxTimerEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:183:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 183 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxTimerEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/bitmap.h:21, from /usr/include/wx-3.0/wx/generic/panelg.h:14, from /usr/include/wx-3.0/wx/panel.h:69, from /usr/include/wx-3.0/wx/wx.h:40, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/image.h: In member function 'void wxImageHandler::SetAltExtensions(const wxArrayString&)': /usr/include/wx-3.0/wx/image.h:130:74: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 130 | void SetAltExtensions(const wxArrayString& exts) { m_altExtensions = exts; } | ^~~~ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/affinematrix2dbase.h:17, from /usr/include/wx-3.0/wx/affinematrix2d.h:17, from /usr/include/wx-3.0/wx/dc.h:32, from /usr/include/wx-3.0/wx/wx.h:50, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateIntersection(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:618:82: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 618 | { wxRect2DDouble result; Intersect( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ /usr/include/wx-3.0/wx/geometry.h: In member function 'wxRect2DDouble wxRect2DDouble::CreateUnion(const wxRect2DDouble&) const': /usr/include/wx-3.0/wx/geometry.h:626:78: warning: implicitly-declared 'constexpr wxRect2DDouble::wxRect2DDouble(const wxRect2DDouble&)' is deprecated [-Wdeprecated-copy] 626 | { wxRect2DDouble result; Union( *this , otherRect , &result); return result; } | ^~~~~~ /usr/include/wx-3.0/wx/geometry.h:634:21: note: because 'wxRect2DDouble' has user-provided 'wxRect2DDouble& wxRect2DDouble::operator=(const wxRect2DDouble&)' 634 | wxRect2DDouble& operator = (const wxRect2DDouble& rect); | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:63, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/dialog.h: In member function 'virtual wxEvent* wxWindowModalDialogEvent::Clone() const': /usr/include/wx-3.0/wx/dialog.h:384:80: warning: implicitly-declared 'wxWindowModalDialogEvent::wxWindowModalDialogEvent(const wxWindowModalDialogEvent&)' is deprecated [-Wdeprecated-copy] 384 | virtual wxEvent *Clone() const { return new wxWindowModalDialogEvent (*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxWindowModalDialogEvent' has user-provided 'wxWindowModalDialogEvent& wxWindowModalDialogEvent::operator=(const wxWindowModalDialogEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dialog.h:387:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 387 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWindowModalDialogEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/dataobj.h: In constructor 'wxDataObjectSimple::wxDataObjectSimple(const wxDataFormat&)': /usr/include/wx-3.0/wx/dataobj.h:202:26: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 202 | : m_format(format) | ^ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:66, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/dataobj.h: In member function 'virtual wxDataFormat wxDataObjectSimple::GetPreferredFormat(wxDataObjectBase::Direction) const': /usr/include/wx-3.0/wx/dataobj.h:229:18: warning: implicitly-declared 'constexpr wxDataFormat::wxDataFormat(const wxDataFormat&)' is deprecated [-Wdeprecated-copy] 229 | { return m_format; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/dataobj.h:79, from /usr/include/wx-3.0/wx/wx.h:66, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/gtk/dataform.h:31:19: note: because 'wxDataFormat' has user-provided 'wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)' 31 | wxDataFormat& operator=(const wxDataFormat& format) | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetIncludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:72:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 72 | void SetIncludes(const wxArrayString& includes) { m_includes = includes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/generic/textdlgg.h:21, from /usr/include/wx-3.0/wx/textdlg.h:14, from /usr/include/wx-3.0/wx/wx.h:92, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/valtext.h: In member function 'void wxTextValidator::SetExcludes(const wxArrayString&)': /usr/include/wx-3.0/wx/valtext.h:76:68: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 76 | void SetExcludes(const wxArrayString& excludes) { m_excludes = excludes; } | ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/filectrl.h: In member function 'virtual wxEvent* wxFileCtrlEvent::Clone() const': /usr/include/wx-3.0/wx/filectrl.h:101:72: warning: implicitly-declared 'wxFileCtrlEvent::wxFileCtrlEvent(const wxFileCtrlEvent&)' is deprecated [-Wdeprecated-copy] 101 | virtual wxEvent *Clone() const { return new wxFileCtrlEvent( *this ); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxFileCtrlEvent' has user-provided 'wxFileCtrlEvent& wxFileCtrlEvent::operator=(const wxFileCtrlEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/filectrl.h:118:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 118 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN( wxFileCtrlEvent ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/gtk/filectrl.h:16, from /usr/include/wx-3.0/wx/gtk/filedlg.h:12, from /usr/include/wx-3.0/wx/filedlg.h:235, from /usr/include/wx-3.0/wx/wx.h:93, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/filectrl.h: In member function 'void wxFileCtrlEvent::SetFiles(const wxArrayString&)': /usr/include/wx-3.0/wx/filectrl.h:103:61: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 103 | void SetFiles( const wxArrayString &files ) { m_files = files; } | ^~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:16, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' 880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' 44 | WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); | ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 677 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' 880 | WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' 44 | WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); | ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] 170 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 43 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] 177 | Predicate p((SCMPFUNC)fnCompare); \ | ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' 114 | _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' 339 | _WX_DECLARE_BASEARRAY(T, name, classexp) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' 342 | _WX_DEFINE_TYPEARRAY(T, name, base, classexp) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' 697 | _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' 884 | WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' 43 | WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./chmhtmlwindow.h:27, from chmframe.cpp:29: /usr/include/wx-3.0/wx/html/htmlwin.h: In member function 'virtual wxEvent* wxHtmlCellEvent::Clone() const': /usr/include/wx-3.0/wx/html/htmlwin.h:594:70: warning: implicitly-declared 'wxHtmlCellEvent::wxHtmlCellEvent(const wxHtmlCellEvent&)' is deprecated [-Wdeprecated-copy] 594 | virtual wxEvent *Clone() const { return new wxHtmlCellEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxHtmlCellEvent' has user-provided 'wxHtmlCellEvent& wxHtmlCellEvent::operator=(const wxHtmlCellEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/html/htmlwin.h:603:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 603 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxHtmlCellEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./chmhtmlwindow.h:27, from chmframe.cpp:29: /usr/include/wx-3.0/wx/html/htmlwin.h: In member function 'virtual wxEvent* wxHtmlLinkEvent::Clone() const': /usr/include/wx-3.0/wx/html/htmlwin.h:625:70: warning: implicitly-declared 'wxHtmlLinkEvent::wxHtmlLinkEvent(const wxHtmlLinkEvent&)' is deprecated [-Wdeprecated-copy] 625 | virtual wxEvent *Clone() const { return new wxHtmlLinkEvent(*this); } | ^ In file included from /usr/include/wx-3.0/wx/wx.h:14, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/defs.h:3549:20: note: because 'wxHtmlLinkEvent' has user-provided 'wxHtmlLinkEvent& wxHtmlLinkEvent::operator=(const wxHtmlLinkEvent&)' 3549 | classname& operator=(const classname&) | ^~~~~~~~ /usr/include/wx-3.0/wx/rtti.h:134:5: note: in expansion of macro 'wxDECLARE_NO_ASSIGN_CLASS' 134 | wxDECLARE_NO_ASSIGN_CLASS(name); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/object.h:227:69: note: in expansion of macro 'wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN' 227 | #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(n) wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/html/htmlwin.h:630:5: note: in expansion of macro 'DECLARE_DYNAMIC_CLASS_NO_ASSIGN' 630 | DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxHtmlLinkEvent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chmframe.cpp:35: ./hhcparser.h: At global scope: ./hhcparser.h:108:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 108 | std::auto_ptr _cvPtr; | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from ./hhcparser.h:30, from chmframe.cpp:35: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ chmframe.cpp: In member function 'void CHMFrame::OnChangeFonts(wxCommandEvent&)': chmframe.cpp:268:36: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 268 | *_normalFonts = enu.GetFacenames(); | ^ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ chmframe.cpp:277:35: warning: implicitly-declared 'wxArrayString& wxArrayString::operator=(const wxArrayString&)' is deprecated [-Wdeprecated-copy] 277 | *_fixedFonts = enu.GetFacenames(); | ^ In file included from /usr/include/wx-3.0/wx/wx.h:21, from ./chmframe.h:26, from chmframe.cpp:27: /usr/include/wx-3.0/wx/arrstr.h:53:5: note: because 'wxArrayString' has user-provided 'wxArrayString::wxArrayString(const wxArrayString&)' 53 | wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { } | ^~~~~~~~~~~~~ chmframe.cpp: In member function 'bool CHMFrame::LoadCHM(const wxString&)': chmframe.cpp:578:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 578 | std::auto_ptr p(wfs.OpenFile(wxString(wxT("file:")) + archive + | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from ./hhcparser.h:30, from chmframe.cpp:35: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ chmframe.cpp:595:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 595 | if(_tcl->GetCount()) | ^~ chmframe.cpp:597:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 597 | _tcl->DeleteChildren(_tcl->GetRootItem()); | ^~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from ./chmframe.h:26, from chmframe.cpp:27: chmframe.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1068:2: note: in expansion of macro 'EVT_MENU' 1068 | EVT_MENU(ID_Quit, CHMFrame::OnQuit) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1069:2: note: in expansion of macro 'EVT_MENU' 1069 | EVT_MENU(ID_About, CHMFrame::OnAbout) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1070:2: note: in expansion of macro 'EVT_MENU' 1070 | EVT_MENU(ID_Open, CHMFrame::OnOpen) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1071:2: note: in expansion of macro 'EVT_MENU' 1071 | EVT_MENU(ID_Fonts, CHMFrame::OnChangeFonts) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1072:2: note: in expansion of macro 'EVT_MENU' 1072 | EVT_MENU(ID_Home, CHMFrame::OnHome) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1073:2: note: in expansion of macro 'EVT_MENU' 1073 | EVT_MENU(ID_Forward, CHMFrame::OnHistoryForward) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1074:2: note: in expansion of macro 'EVT_MENU' 1074 | EVT_MENU(ID_Back, CHMFrame::OnHistoryBack) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1075:2: note: in expansion of macro 'EVT_MENU' 1075 | EVT_MENU(ID_Contents, CHMFrame::OnShowContents) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1079:2: note: in expansion of macro 'EVT_MENU' 1079 | EVT_MENU(ID_Print, CHMFrame::OnPrint) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4321:40: note: in expansion of macro 'wx__DECLARE_EVT2' 4321 | #define EVT_MENU_RANGE(id1, id2, func) wx__DECLARE_EVT2(wxEVT_MENU, id1, id2, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4321:79: note: in expansion of macro 'wxCommandEventHandler' 4321 | #define EVT_MENU_RANGE(id1, id2, func) wx__DECLARE_EVT2(wxEVT_MENU, id1, id2, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1080:2: note: in expansion of macro 'EVT_MENU_RANGE' 1080 | EVT_MENU_RANGE(wxID_FILE1, wxID_FILE9, CHMFrame::OnHistFile) | ^~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1081:2: note: in expansion of macro 'EVT_MENU' 1081 | EVT_MENU(ID_FindInPage, CHMFrame::OnFind) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1082:2: note: in expansion of macro 'EVT_MENU' 1082 | EVT_MENU(ID_CloseTab, CHMFrame::OnCloseTab) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1083:2: note: in expansion of macro 'EVT_MENU' 1083 | EVT_MENU(ID_NewTab, CHMFrame::OnNewTab) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1084:2: note: in expansion of macro 'EVT_MENU' 1084 | EVT_MENU(ID_CopySelection, CHMFrame::OnCopySelection) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:31: note: in expansion of macro 'wx__DECLARE_EVT1' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler' 4320 | #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1085:2: note: in expansion of macro 'EVT_MENU' 1085 | EVT_MENU(ID_FullScreen, CHMFrame::OnFullScreen) | ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4325:35: note: in expansion of macro 'wx__DECLARE_EVT1' 4325 | # define EVT_BUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_BUTTON, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4325:73: note: in expansion of macro 'wxCommandEventHandler' 4325 | # define EVT_BUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_BUTTON, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1086:2: note: in expansion of macro 'EVT_BUTTON' 1086 | EVT_BUTTON(ID_Add, CHMFrame::OnAddBookmark) | ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4325:35: note: in expansion of macro 'wx__DECLARE_EVT1' 4325 | # define EVT_BUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_BUTTON, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4325:73: note: in expansion of macro 'wxCommandEventHandler' 4325 | # define EVT_BUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_BUTTON, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1087:2: note: in expansion of macro 'EVT_BUTTON' 1087 | EVT_BUTTON(ID_Remove, CHMFrame::OnRemoveBookmark) | ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxTreeEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/treebase.h:337:5: note: in expansion of macro 'wx__DECLARE_EVT1' 337 | wx__DECLARE_EVT1(wxEVT_TREE_ ## evt, id, wxTreeEventHandler(fn)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/treebase.h:334:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 334 | wxEVENT_HANDLER_CAST(wxTreeEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/treebase.h:337:46: note: in expansion of macro 'wxTreeEventHandler' 337 | wx__DECLARE_EVT1(wxEVT_TREE_ ## evt, id, wxTreeEventHandler(fn)) | ^~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/treebase.h:370:38: note: in expansion of macro 'wx__DECLARE_TREEEVT' 370 | #define EVT_TREE_SEL_CHANGED(id, fn) wx__DECLARE_TREEEVT(SEL_CHANGED, id, fn) | ^~~~~~~~~~~~~~~~~~~ chmframe.cpp:1088:2: note: in expansion of macro 'EVT_TREE_SEL_CHANGED' 1088 | EVT_TREE_SEL_CHANGED(ID_TreeCtrl, CHMFrame::OnSelectionChanged) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4333:35: note: in expansion of macro 'wx__DECLARE_EVT1' 4333 | #define EVT_COMBOBOX(winid, func) wx__DECLARE_EVT1(wxEVT_COMBOBOX, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4333:75: note: in expansion of macro 'wxCommandEventHandler' 4333 | #define EVT_COMBOBOX(winid, func) wx__DECLARE_EVT1(wxEVT_COMBOBOX, winid, wxCommandEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~~~ chmframe.cpp:1089:2: note: in expansion of macro 'EVT_COMBOBOX' 1089 | EVT_COMBOBOX(ID_Bookmarks, CHMFrame::OnBookmarkSel) | ^~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:857:5: note: in expansion of macro 'wx__DECLARE_EVT1' 857 | wx__DECLARE_EVT1(wxEVT_TEXT_ ## evt, id, wxTextEventHandler(fn)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:852:34: note: in expansion of macro 'wxCommandEventHandler' 852 | #define wxTextEventHandler(func) wxCommandEventHandler(func) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:857:46: note: in expansion of macro 'wxTextEventHandler' 857 | wx__DECLARE_EVT1(wxEVT_TEXT_ ## evt, id, wxTextEventHandler(fn)) | ^~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:863:32: note: in expansion of macro 'wx__DECLARE_TEXTEVT' 863 | #define EVT_TEXT_ENTER(id, fn) wx__DECLARE_TEXTEVT(ENTER, id, fn) | ^~~~~~~~~~~~~~~~~~~ chmframe.cpp:1090:2: note: in expansion of macro 'EVT_TEXT_ENTER' 1090 | EVT_TEXT_ENTER(ID_Bookmarks, CHMFrame::OnBookmarkSel) | ^~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCloseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' 4131 | wx__DECLARE_EVT1(evt, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4160:26: note: in expansion of macro 'wx__DECLARE_EVT0' 4160 | #define EVT_CLOSE(func) wx__DECLARE_EVT0(wxEVT_CLOSE_WINDOW, wxCloseEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3947 | wxEVENT_HANDLER_CAST(wxCloseEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4160:63: note: in expansion of macro 'wxCloseEventHandler' 4160 | #define EVT_CLOSE(func) wx__DECLARE_EVT0(wxEVT_CLOSE_WINDOW, wxCloseEventHandler(func)) | ^~~~~~~~~~~~~~~~~~~ chmframe.cpp:1091:2: note: in expansion of macro 'EVT_CLOSE' 1091 | EVT_CLOSE(CHMFrame::OnCloseWindow) | ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxKeyEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 88 | #define wxStaticCastEvent(type, val) static_cast(val) | ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' 4129 | wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' 4131 | wx__DECLARE_EVT1(evt, wxID_ANY, fn) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4166:25: note: in expansion of macro 'wx__DECLARE_EVT0' 4166 | #define EVT_CHAR(func) wx__DECLARE_EVT0(wxEVT_CHAR, wxCharEventHandler(func)) | ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3924:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3924 | wxEVENT_HANDLER_CAST(wxCharEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4166:54: note: in expansion of macro 'wxCharEventHandler' 4166 | #define EVT_CHAR(func) wx__DECLARE_EVT0(wxEVT_CHAR, wxCharEventHandler(func)) | ^~~~~~~~~~~~~~~~~~ chmframe.cpp:1092:2: note: in expansion of macro 'EVT_CHAR' 1092 | EVT_CHAR(CHMFrame::OnChar) | ^~~~~~~~ /usr/include/wx-3.0/wx/docview.h: In instantiation of 'bool wxDocChildFrameAny::Create(wxDocument*, wxView*, ParentFrame*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxString&) [with ChildFrame = wxFrame; ParentFrame = wxFrame; wxWindowID = int]': /usr/include/wx-3.0/wx/docview.h:816:37: required from here /usr/include/wx-3.0/wx/event.h:148:30: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxActivateEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^ /usr/include/wx-3.0/wx/event.h:3931:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3931 | wxEVENT_HANDLER_CAST(wxActivateEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h:730:23: note: in expansion of macro 'wxActivateEventHandler' 730 | wxActivateEventHandler(wxDocChildFrameAny::OnActivate)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:30: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCloseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^ /usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3947 | wxEVENT_HANDLER_CAST(wxCloseEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h:732:23: note: in expansion of macro 'wxCloseEventHandler' 732 | wxCloseEventHandler(wxDocChildFrameAny::OnCloseWindow)); | ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h: In instantiation of 'bool wxDocParentFrameAny::Create(wxDocManager*, wxFrame*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxString&) [with BaseFrame = wxFrame; wxWindowID = int]': /usr/include/wx-3.0/wx/docview.h:970:38: required from here /usr/include/wx-3.0/wx/event.h:148:30: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3906 | wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h:899:23: note: in expansion of macro 'wxCommandEventHandler' 899 | wxCommandEventHandler(wxDocParentFrameAny::OnExit)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:30: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCloseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 148 | ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) | ^ /usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' 3947 | wxEVENT_HANDLER_CAST(wxCloseEventFunction, func) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/docview.h:901:23: note: in expansion of macro 'wxCloseEventHandler' 901 | wxCloseEventHandler(wxDocParentFrameAny::OnCloseWindow)); | ^~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/src' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -W -Wall -g -O2 -o xchm chmapp.o chmfile.o chmframe.o chmfshandler.o chminputstream.o chmfontdialog.o chmhtmlnotebook.o chmsearchpanel.o chmhtmlwindow.o chmfinddialog.o chmindexpanel.o chmlistctrl.o hhcparser.o -pthread -lwx_gtk2u_aui-3.0 -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -lchm -lXmlRpc -lssl make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/src' Making all in art make[2]: Nothing to be done for 'all'. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.80617 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/xchm-buildroot + : + /bin/rm -rf -- /usr/src/tmp/xchm-buildroot + cd xchm-1.23 + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/xchm-buildroot make: Entering directory '/usr/src/RPM/BUILD/xchm-1.23' Making install in m4 make[1]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/m4' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/m4' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/m4' make[1]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/m4' Making install in po make[1]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/po' /bin/sh .././mkinstalldirs /usr/src/tmp/xchm-buildroot/usr/share mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/ro/LC_MESSAGES installing ro.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/ro/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/fr/LC_MESSAGES installing fr.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/fr/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/it/LC_MESSAGES installing it.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/it/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/de/LC_MESSAGES installing de.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/de/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/be/LC_MESSAGES installing be.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/be/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/ru/LC_MESSAGES installing ru.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/ru/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/pt_BR/LC_MESSAGES installing pt_BR.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/pt_BR/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/pt_PT/LC_MESSAGES installing pt_PT.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/pt_PT/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/es/LC_MESSAGES installing es.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/es/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/pl/LC_MESSAGES installing pl.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/pl/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/bg/LC_MESSAGES installing bg.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/bg/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/hu/LC_MESSAGES installing hu.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/hu/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/lv/LC_MESSAGES installing lv.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/lv/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/zh_TW/LC_MESSAGES installing zh_TW.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/zh_TW/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/zh_CN/LC_MESSAGES installing zh_CN.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/zh_CN/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/cs/LC_MESSAGES installing cs.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/cs/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/sk/LC_MESSAGES installing sk.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/sk/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/uk/LC_MESSAGES installing uk.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/uk/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/sv/LC_MESSAGES installing sv.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/sv/LC_MESSAGES/xchm.mo mkdir -p -- /usr/src/tmp/xchm-buildroot/usr/share/locale/gr/LC_MESSAGES installing gr.gmo as /usr/src/tmp/xchm-buildroot/usr/share/locale/gr/LC_MESSAGES/xchm.mo if test "xchm" = "gettext-tools"; then \ /bin/sh .././mkinstalldirs /usr/src/tmp/xchm-buildroot/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /bin/install -p -m 644 ./$file \ /usr/src/tmp/xchm-buildroot/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /usr/src/tmp/xchm-buildroot/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/po' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src' /bin/mkdir -p '/usr/src/tmp/xchm-buildroot/usr/bin' /bin/install -p xchm '/usr/src/tmp/xchm-buildroot/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/src' Making install in art make[1]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/art' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/art' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/xchm-buildroot/usr/share/pixmaps' /bin/install -p -m 644 xchm-16.xpm xchm-32.xpm xchm-48.xpm xchm-128.xpm xchmdoc-16.xpm xchmdoc-32.xpm xchmdoc-48.xpm xchmdoc-128.xpm xchm-16.png xchm-32.png xchm-48.png xchm-128.png xchmdoc-16.png xchmdoc-32.png xchmdoc-48.png xchmdoc-128.png '/usr/src/tmp/xchm-buildroot/usr/share/pixmaps' make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/art' make[1]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23/art' make[1]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23' make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23' make[1]: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23' make: Leaving directory '/usr/src/RPM/BUILD/xchm-1.23' + install -pD -m644 /usr/src/RPM/SOURCES/xchm.desktop /usr/src/tmp/xchm-buildroot/usr/share/applications/xchm.desktop + install -pD -m644 art/xchm-16.xpm /usr/src/tmp/xchm-buildroot/usr/share/icons/hicolor/16x16/apps/xchm.xpm + install -pD -m644 art/xchm-32.xpm /usr/src/tmp/xchm-buildroot/usr/share/icons/hicolor/32x32/apps/xchm.xpm + install -pD -m644 art/xchm-48.xpm /usr/src/tmp/xchm-buildroot/usr/share/icons/hicolor/48x48/apps/xchm.xpm + /usr/lib/rpm/find-lang xchm + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/xchm-buildroot (auto) Verifying and fixing files in /usr/src/tmp/xchm-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/xchm-buildroot/ (default) Compressing files in /usr/src/tmp/xchm-buildroot (auto) Verifying ELF objects in /usr/src/tmp/xchm-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: xchm-1.23-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.68554 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd xchm-1.23 + DOCDIR=/usr/src/tmp/xchm-buildroot/usr/share/doc/xchm-1.23 + export DOCDIR + rm -rf /usr/src/tmp/xchm-buildroot/usr/share/doc/xchm-1.23 + /bin/mkdir -p /usr/src/tmp/xchm-buildroot/usr/share/doc/xchm-1.23 + cp -prL AUTHORS COPYING ChangeLog README /usr/src/tmp/xchm-buildroot/usr/share/doc/xchm-1.23 + chmod -R go-w /usr/src/tmp/xchm-buildroot/usr/share/doc/xchm-1.23 + chmod -R a+rX /usr/src/tmp/xchm-buildroot/usr/share/doc/xchm-1.23 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.sj0B7c find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.h5e1nc find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: /lib64/ld-linux-x86-64.so.2, libXmlRpc.so.0()(64bit) >= set:lhzsWBYsM2PTOlg4MDoy6g3QE8Vqj9ydKi, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.4)(64bit), libchm.so.0()(64bit) >= set:hekOZaynOU7, libgcc_s.so.1(GCC_3.0)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.18)(64bit), libstdc++.so.6(GLIBCXX_3.4.20)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libwx_baseu-3.0.so.0()(64bit) >= set:phZBIeJkrlRU0RQZydf4KQZfUCFMbGeMGkOp6tgD8koZBFqJszvSUAsjDqZDwkbZuZG4TxREi6512WObzbq9MxBK9SPbtSUtDwmGViS0MQAQPx7DU4WRanXXvyzkD2OWhb3JxUVILT78I7PhHAOhi0aLxeJSvXkGB8cZyTfnoQarnCzA9i3TUX6bQnbbWHp0I3WUcDR7AeQF2eWfWrOCqPIrC1gYiHiMj6OaUpIuzZtQ9ktC3sgtZrjZIygVWGL9Vlsf0cC7ufuP2Ur9WRvk778gx5NsVeuEGwrWbOBl80Whffr5z9TbjjV54TWy5kzQnUm0cDXeZ8hXCNHggJkcsO1ZnGmb4m0lqz3hTMbi0bAcU76a6X59iUQYw3fL8xhvVmPINRKK8vSPQRto6E0iGJkIsBFbjog5KDZraE2Y8v581XcO7mkBZqNEXmWjlQOXwI5t5rKZ3G7qwwjTg5oiyz6fSX27xGZ0qT7L9ZBK9wPCfXuT26jWL1, libwx_baseu-3.0.so.0(WXU_3.0)(64bit), libwx_baseu_net-3.0.so.0()(64bit) >= set:mlemp3, libwx_baseu_net-3.0.so.0(WXU_3.0)(64bit), libwx_gtk2u_aui-3.0.so.0()(64bit) >= set:nhFA0UXrZ8NO06Y9jZ86o2t1Y2xwsiAwdUszhlo9UNOBU8lnEZmFLpo1NfDZj9kNUmQviEWd3nZvGuahjIV3psF9fMZB15zSy9VP6OhGfxFJY, libwx_gtk2u_aui-3.0.so.0(WXU_3.0)(64bit), libwx_gtk2u_core-3.0.so.0()(64bit) >= set:riK255fOhgc5vWMJyIHWVYk3JrldZ2QshO2fjlnTSY4ZaAWjqJv7hwLdBjFao8tYZ0dAwYgBUDsq5Ie3wA7VmySJARW51pVmuUkuZq7KMFaQ6vt5ZHZw9SYjVp69tQQrSXY4Y33P0HcdUT8O5LrupihulWXobRubaJMl9BSCA5zI27WufXaeb3wAJZbImDcGiZfn88I2ZxvHXVJJofz2eX5J5sNE65KfZ3ef4jcmxnaKdLVG3PjfDVw5ZD4WvpLaXeWkLEhlr36oZjV5i2nujz2xpB4tZBiejglZkA7GpjzI4r7GcpcO5GZ3DfRUDIDOHDB9jvEGNbWzMDRCVJSAP9s37JYR9BzVuwrz5LZvz8UF5uQoVooHpvax38dDrmqb85aZAZkq8h4Jrbp3sQfKRZcnLSZcAZ5Og9Je3oHmN7GqsZ7lyGB9xQZqZtR7l9fAwQTdI6KJMeZiBz5ht5knDjPh91HaUZLJS9aZt0Gjb3ACh6US29G5q2iKtFFxdppsMdrwADZxZ1fHimUIsWlmNjR2ZFkKkiupyZdSFyWo4kqZhh4isjhQVpL5B6prpwTPywguwV4CAQf5z1hHZk92Bl8B1igWcvAVflwn89QCJtlouaccJRH9lYurOWRvfy5DQXatuoHuxO3EZbTZyBiZ0iPVAOUUxKcf3Zi6PCopZxgGZjEk7gBmZ8v7AbuZmiDIWYJ27WgDxkyLgpbl2pZ2zgZy3uMG0DWDgeAG86mRTxrxQrRsScNbZDFsij8oagd2WShKbzzBEr9sZj6ch15KctnJZrrfHmzZgs4jFb04LMH6P8GdseeNNgE4IE4XFgtrlmnPRiKDoRW3FYEuVns9C0IKwncRO3Wl1ZgyyJa9oP3yrizWOV0HP785ZHAZ0fUifhpZzls41SRcjOmSoKOfhqCXNn18sHqpUxVXhhgDZxwZzbnfwB4B7njoX4rURjOMZrKWZCPbFQvmKXzpybAP2DhqYOxmL2bigDhFLeJEgZEZwq8NrfvRpCZcC2Oq8qR2wS6GthDlnfZLZ97vbjMLeBveNXYTZIpdh99rXdDHDOF46CItIR2SVBRuZBT8An9ZptV3X5ES0HfKZLx2Y2HV9KMC2AqAhD7XU8QXvI0oOZs57DzPjMSoZg09gxcmQ77uxa7YO8FP3XRWyAUb2T7Xrs8oec7XuXJE864hhVqmjvHZydBO8XZ34XH1fmG0JY8ergcw0yxljIZoZ71ZLJEw5GoZH3PVpwQIH2FQx2X8iZ4qTlQob1Ph2uKn6ZvhYfIe3GvP9tZoiIZnAw4PKuPZavrntiwIBhihkkO3KsytKdhcAtzSiQpZCgbCxAZekXcfSt68tZxJZaVcG0w9OrN3Jka690y9vHh94Uk5wZnZatLB68mHieZlSbYPQKBDEEVVXMKX2R2WKBB13QSWM49sYsqm5, libwx_gtk2u_core-3.0.so.0(WXU_3.0)(64bit), libwx_gtk2u_html-3.0.so.0()(64bit) >= set:nhYGXbH9qIZ75dYr7YOBE96JAr1N8OZa22bQF403fZD5HjDFrbhmCoDm7MO7EfmxLfuVvwf1RTRoCkCQ7yfuZ8jmr0gLBczi1LEZl4kZcDCJoCz4IH6ByXOfnJvFLJvzcYekJthuIGqJ3, libwx_gtk2u_html-3.0.so.0(WXU_3.0)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fKG0ra Creating xchm-debuginfo package Processing files: xchm-debuginfo-1.23-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gPrYGc find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fTqqza find-requires: running scripts (debuginfo) Requires: xchm = 1.23-alt4, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libXmlRpc.so.0), debug64(libc.so.6), debug64(libchm.so.0), debug64(libgcc_s.so.1), debug64(libstdc++.so.6), debug64(libwx_baseu-3.0.so.0), debug64(libwx_baseu_net-3.0.so.0), debug64(libwx_gtk2u_aui-3.0.so.0), debug64(libwx_gtk2u_core-3.0.so.0), debug64(libwx_gtk2u_html-3.0.so.0) Wrote: /usr/src/RPM/RPMS/x86_64/xchm-1.23-alt4.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/xchm-debuginfo-1.23-alt4.x86_64.rpm 135.54user 11.37system 1:20.39elapsed 182%CPU (0avgtext+0avgdata 453392maxresident)k 0inputs+0outputs (0major+2007210minor)pagefaults 0swaps 152.27user 19.07system 1:45.80elapsed 161%CPU (0avgtext+0avgdata 453392maxresident)k 22360inputs+0outputs (0major+2445959minor)pagefaults 0swaps