<86>Dec 31 02:11:42 userdel[77465]: delete user 'rooter'
<86>Dec 31 02:11:42 groupadd[77684]: group added to /etc/group: name=rooter, GID=627
<86>Dec 31 02:11:42 groupadd[77684]: group added to /etc/gshadow: name=rooter
<86>Dec 31 02:11:42 groupadd[77684]: new group: name=rooter, GID=627
<86>Dec 31 02:11:42 useradd[77768]: new user: name=rooter, UID=627, GID=627, home=/root, shell=/bin/bash
<86>Dec 31 02:11:42 userdel[77940]: delete user 'builder'
<86>Dec 31 02:11:42 userdel[77940]: removed group 'builder' owned by 'builder'
<86>Dec 31 02:11:42 userdel[77940]: removed shadow group 'builder' owned by 'builder'
<86>Dec 31 02:11:42 groupadd[78012]: group added to /etc/group: name=builder, GID=628
<86>Dec 31 02:11:42 groupadd[78012]: group added to /etc/gshadow: name=builder
<86>Dec 31 02:11:42 groupadd[78012]: new group: name=builder, GID=628
<86>Dec 31 02:11:42 useradd[78060]: new user: name=builder, UID=628, GID=628, home=/usr/src, shell=/bin/bash
<13>Dec 31 02:11:45 rpmi: libjpeg-2:1.5.1-alt1 1498218302 installed
<13>Dec 31 02:11:45 rpmi: libpng16-1.6.35-alt1 sisyphus.214397.100 1539159326 installed
<13>Dec 31 02:11:45 rpmi: libwayland-client-1.16.0-alt1 1535614868 installed
<13>Dec 31 02:11:45 rpmi: libexpat-2.2.4-alt1 1503305341 installed
<13>Dec 31 02:11:45 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed
<13>Dec 31 02:11:45 rpmi: libwayland-egl-4:18.1.0-alt1 1535614868 installed
<13>Dec 31 02:11:45 rpmi: libtiff5-4.0.3-alt1 1348347498 installed
<13>Dec 31 02:11:46 rpmi: libsqlite3-3.25.2-alt2 sisyphus.215082.100 1539700192 installed
<13>Dec 31 02:11:46 rpmi: perl-XML-NamespaceSupport-1.12-alt1 1491296348 installed
<13>Dec 31 02:11:46 rpmi: libwayland-server-1.16.0-alt1 1535614868 installed
<13>Dec 31 02:11:46 rpmi: libicu63-1:6.3.1-alt1 sisyphus.215328.100 1540049981 installed
<13>Dec 31 02:11:46 rpmi: libtasn1-4.13-alt2 1521133848 installed
<13>Dec 31 02:11:46 rpmi: libp11-kit-0.23.9-alt5 1525798241 installed
<13>Dec 31 02:11:46 rpmi: libmspack-0.6-alt1 1530626810 installed
<13>Dec 31 02:11:46 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus.215491.100 1540428591 installed
<13>Dec 31 02:11:46 rpmi: libidn2-2.0.5-alt1 1526923871 installed
<13>Dec 31 02:11:46 rpmi: libnettle6-3.4.1-alt1 sisyphus.217427.100 1544107881 installed
<13>Dec 31 02:11:46 rpmi: libgudev-1:232-alt3 1523738515 installed
<13>Dec 31 02:11:46 rpmi: liblcms2-2.9-alt1 1516411888 installed
<13>Dec 31 02:11:46 rpmi: perl-LWP-MediaTypes-6.02-alt1 1329754558 installed
<13>Dec 31 02:11:46 rpmi: perl-Compress-Raw-Zlib-2.081-alt1 1523236571 installed
<13>Dec 31 02:11:46 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed
<13>Dec 31 02:11:46 rpmi: perl-XML-SAX-Base-1.09-alt1 1494364363 installed
<13>Dec 31 02:11:46 rpmi: libglvnd-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed
<13>Dec 31 02:11:46 rpmi: libICE-1.0.9-alt1 1409902719 installed
<13>Dec 31 02:11:46 rpmi: libSM-1.2.3-alt1 sisyphus.215747.100 1540812760 installed
<13>Dec 31 02:11:46 rpmi: libhogweed4-3.4.1-alt1 sisyphus.217427.100 1544107881 installed
<13>Dec 31 02:11:46 rpmi: libgnutls30-3.6.5-alt3 sisyphus.217574.300 1545778648 installed
<13>Dec 31 02:11:46 rpmi: libbrotlidec-1.0.7-alt1 sisyphus.215491.100 1540428591 installed
<13>Dec 31 02:11:46 rpmi: libbrotlienc-1.0.7-alt1 sisyphus.215491.100 1540428591 installed
<13>Dec 31 02:11:46 rpmi: libwoff2-1.0.2-alt2 1516265773 installed
<13>Dec 31 02:11:46 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed
<13>Dec 31 02:11:46 rpmi: libwayland-cursor-1.16.0-alt1 1535614868 installed
<13>Dec 31 02:11:46 rpmi: libjasper-2.0.14-alt1 1530105213 installed
<13>Dec 31 02:11:47 rpmi: libxmlrpcxx-0.7-alt2.git20100306 1437051316 installed
<13>Dec 31 02:11:47 rpmi: libchm-0.40-alt6 1523453646 installed
<13>Dec 31 02:11:47 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus.218115.200 1545282875 installed
<13>Dec 31 02:11:47 rpmi: libstdc++8-devel-8.2.1-alt2 sisyphus.218691.100 1545948574 installed
<13>Dec 31 02:11:48 rpmi: gcc8-c++-8.2.1-alt2 sisyphus.218691.100 1545948574 installed
<13>Dec 31 02:11:48 rpmi: update-alternatives-1.8.3-alt1 1052491770 installed
<13>Dec 31 02:11:48 rpmi: wxGTK3.0-i18n-3.0.4-alt3 1533831790 installed
<13>Dec 31 02:11:48 rpmi: libwebp7-1.0.1-alt1 sisyphus.216740.100 1542890906 installed
<13>Dec 31 02:11:48 rpmi: libhyphen-2.8.8-alt1 1433702532 installed
<13>Dec 31 02:11:48 rpmi: liborc-0.4.28-alt1 1511201491 installed
<13>Dec 31 02:11:48 rpmi: libgtk+2-locales-2.24.32-alt2 1518699309 installed
<13>Dec 31 02:11:48 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed
<13>Dec 31 02:11:48 rpmi: libxkbcommon-0.8.2-alt1 1533800179 installed
<13>Dec 31 02:11:48 rpmi: publicsuffix-list-dafsa-20181106-alt1 sisyphus.216228.100 1541611754 installed
<13>Dec 31 02:11:48 rpmi: libpsl-0.20.2-alt2 sisyphus.216228.200 1541611883 installed
<13>Dec 31 02:11:48 rpmi: libproxy-0.4.15-alt2 sisyphus.214008.100 1538585332 installed
<13>Dec 31 02:11:48 rpmi: libdatrie-0.2.9-alt1_6 1511686677 installed
<13>Dec 31 02:11:48 rpmi: libthai-0.1.28-alt1_1 sisyphus.214516.100 1539257851 installed
<13>Dec 31 02:11:48 rpmi: libfribidi-1.0.5-alt1 1532424343 installed
<13>Dec 31 02:11:48 rpmi: libepoxy-1.5.3-alt1 sisyphus.214119.100 1538723824 installed
<13>Dec 31 02:11:48 rpmi: libverto-0.3.0-alt1_5 1525957716 installed
<13>Dec 31 02:11:48 rpmi: libkeyutils-1.6-alt2 sisyphus.217337.100 1544003165 installed
<13>Dec 31 02:11:48 rpmi: libcom_err-1.44.5-alt1 sisyphus.218838.100 1546206092 installed
<13>Dec 31 02:11:48 rpmi: udev-rules-1:239-alt3 sisyphus.215710.300 1540765573 installed
<13>Dec 31 02:11:48 rpmi: libusb-1.0.22-alt1 1525452011 installed
<13>Dec 31 02:11:48 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed
<13>Dec 31 02:11:48 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed
<13>Dec 31 02:11:48 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed
<13>Dec 31 02:11:48 rpmi: perl-Compress-Raw-Bzip2-2.081-alt1 1523236185 installed
<13>Dec 31 02:11:48 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed
<13>Dec 31 02:11:48 rpmi: perl-Term-ANSIColor-4.06-alt1 1479407083 installed
<13>Dec 31 02:11:48 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed
<13>Dec 31 02:11:48 rpmi: perl-Filter-1.59-alt1 1533737240 installed
<13>Dec 31 02:11:48 rpmi: perl-Encode-2.98-alt1 1525447808 installed
<13>Dec 31 02:11:48 rpmi: perl-URI-1.74-alt1 1525446424 installed
<13>Dec 31 02:11:48 rpmi: perl-IO-Compress-2.081-alt1 1523237108 installed
<13>Dec 31 02:11:48 rpmi: perl-Net-HTTP-6.18-alt1 1526560501 installed
<13>Dec 31 02:11:48 rpmi: perl-HTML-Parser-3.72-alt1.1.1 1513340652 installed
<13>Dec 31 02:11:48 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed
<13>Dec 31 02:11:48 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed
<13>Dec 31 02:11:48 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed
<13>Dec 31 02:11:48 rpmi: perl-HTTP-Message-6.18-alt1 1528288416 installed
<13>Dec 31 02:11:48 rpmi: perl-HTTP-Cookies-6.04-alt1 1504116575 installed
<13>Dec 31 02:11:48 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed
<13>Dec 31 02:11:48 rpmi: perl-libwww-6.36-alt1 sisyphus.215515.100 1540400896 installed
<13>Dec 31 02:11:48 rpmi: perl-XML-LibXML-2.0132-alt1 1513701175 installed
<13>Dec 31 02:11:48 rpmi: perl-XML-SAX-1.00-alt1 1519094959 installed
<13>Dec 31 02:11:48 rpmi: perl-XML-Simple-2.25-alt1 1521437714 installed
<13>Dec 31 02:11:48 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed
<13>Dec 31 02:11:49 rpmi: icon-theme-adwaita-3.30.1-alt1 sisyphus.216736.100 1542889653 installed
<13>Dec 31 02:11:49 rpmi: libgdk-pixbuf-locales-2.38.0-alt2 sisyphus.213523.100 1537685512 installed
<13>Dec 31 02:11:49 rpmi: libhunspell-1.7.0-alt1 sisyphus.216944.100 1543319093 installed
<13>Dec 31 02:11:49 rpmi: libaspell-0.60.6.1-alt3 1534002616 installed
<13>Dec 31 02:11:49 rpmi: libenchant2-2.2.3-alt2 sisyphus.212851.200 1538554916 installed
<13>Dec 31 02:11:49 rpmi: libpixman-3:0.34.0-alt1 1480491642 installed
<13>Dec 31 02:11:49 rpmi: libgraphite2-1.3.13-alt1 sisyphus.218545.100 1545686499 installed
<13>Dec 31 02:11:49 rpmi: libharfbuzz-2.2.0-alt1 sisyphus.218134.500 1545261457 installed
<13>Dec 31 02:11:49 rpmi: libfreetype-2.9.1-alt1.S1 1530781049 installed
<13>Dec 31 02:11:49 rpmi: fontconfig-2.13.1-alt1 sisyphus.215917.100 1540973883 installed
Updating fonts cache: <29>Dec 31 02:11:50 fontconfig: Updating fonts cache: succeeded
[ DONE ]
<13>Dec 31 02:11:50 rpmi: libharfbuzz-icu-2.2.0-alt1 sisyphus.218134.500 1545261457 installed
<13>Dec 31 02:11:50 rpmi: libxshmfence-1.2-alt2 1518613549 installed
<13>Dec 31 02:11:50 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed
<13>Dec 31 02:11:50 rpmi: libdrm-1:2.4.96-alt1 sisyphus.215486.100 1540374008 installed
<13>Dec 31 02:11:50 rpmi: libgbm-4:18.3.1-alt1 sisyphus.218704.100 1545993911 installed
<13>Dec 31 02:11:50 rpmi: libSDL2-2.0.9-alt1 sisyphus.216057.100 1541183835 installed
<13>Dec 31 02:11:50 rpmi: libatk-locales-2.30.0-alt1 sisyphus.212779.100 1536768328 installed
<13>Dec 31 02:11:50 rpmi: libatk-2.30.0-alt1 sisyphus.212779.100 1536768328 installed
<13>Dec 31 02:11:50 rpmi: shared-mime-info-1.10-alt1.1 1530525597 installed
<13>Dec 31 02:11:50 rpmi: gsettings-desktop-schemas-data-3.28.1-alt1 sisyphus.212587.100 1536082062 installed
<13>Dec 31 02:11:50 rpmi: libgio-2.58.2-alt1 sisyphus.218134.100 1545260899 installed
<13>Dec 31 02:11:50 rpmi: gsettings-desktop-schemas-3.28.1-alt1 sisyphus.212587.100 1536082062 installed
<13>Dec 31 02:11:50 rpmi: libgdk-pixbuf-2.38.0-alt2 sisyphus.213523.100 1537685512 installed
<13>Dec 31 02:11:50 rpmi: libgstreamer1.0-1.14.4-alt1 sisyphus.214120.2200 1538778549 installed
<13>Dec 31 02:11:50 rpmi: libnotify-0.7.7-alt1.2 1525614794 installed
<13>Dec 31 02:11:51 rpmi: gtk-update-icon-cache-3.24.2-alt2 sisyphus.218466.100 1545601950 installed
<13>Dec 31 02:11:51 rpmi: libgusb-0.3.0-alt1 1518891733 installed
<13>Dec 31 02:11:51 rpmi: libcolord-1.4.3-alt1 1524051978 installed
<13>Dec 31 02:11:51 rpmi: libjavascriptcoregtk4-2.22.5-alt1 sisyphus.218134.1100 1545264357 installed
<13>Dec 31 02:11:51 rpmi: libdconf-0.30.1-alt1 sisyphus.215477.100 1540419157 installed
<13>Dec 31 02:11:51 rpmi: libjson-glib-1.4.4-alt1 sisyphus.213175.100 1537249583 installed
<13>Dec 31 02:11:51 rpmi: liblz4-1:1.8.3-alt1 sisyphus.213737.100 1538009646 installed
<13>Dec 31 02:11:51 rpmi: libgpg-error-1.31-alt1.S1 1529015796 installed
<13>Dec 31 02:11:51 rpmi: libgcrypt20-1.8.3-alt4 sisyphus.218050.200 1545223148 installed
<13>Dec 31 02:11:51 rpmi: libsystemd-1:239-alt3 sisyphus.215710.300 1540765573 installed
<13>Dec 31 02:11:51 rpmi: libdbus-1.12.12-alt1 sisyphus.217336.100 1544000947 installed
<13>Dec 31 02:11:51 rpmi: dbus-tools-1.12.12-alt1 sisyphus.217336.100 1544000947 installed
<86>Dec 31 02:11:51 groupadd[122665]: group added to /etc/group: name=messagebus, GID=499
<86>Dec 31 02:11:51 groupadd[122665]: group added to /etc/gshadow: name=messagebus
<86>Dec 31 02:11:51 groupadd[122665]: new group: name=messagebus, GID=499
<86>Dec 31 02:11:51 useradd[122724]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null
<13>Dec 31 02:11:51 rpmi: dbus-1.12.12-alt1 sisyphus.217336.100 1544000947 installed
<13>Dec 31 02:11:51 rpmi: dconf-0.30.1-alt1 sisyphus.215477.100 1540419157 installed
<13>Dec 31 02:11:51 rpmi: libgtk+3-schemas-3.24.2-alt2 sisyphus.218466.100 1545601950 installed
<13>Dec 31 02:11:51 rpmi: libavahi-0.6.32-alt1 1500485694 installed
<13>Dec 31 02:11:51 rpmi: libpolkit-0.115-alt4 sisyphus.217425.100 1544107346 installed
<86>Dec 31 02:11:51 groupadd[123028]: group added to /etc/group: name=colord, GID=498
<86>Dec 31 02:11:51 groupadd[123028]: group added to /etc/gshadow: name=colord
<86>Dec 31 02:11:51 groupadd[123028]: new group: name=colord, GID=498
<86>Dec 31 02:11:51 useradd[123037]: new user: name=colord, UID=498, GID=498, home=/var/colord, shell=/dev/null
<13>Dec 31 02:11:51 rpmi: colord-1.4.3-alt1 1524051978 installed
<13>Dec 31 02:11:51 rpmi: libsecret-0.18.6-alt1 1522339195 installed
<13>Dec 31 02:11:51 rpmi: libxslt-1.1.32-alt2 1517429962 installed
<13>Dec 31 02:11:51 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed
<13>Dec 31 02:11:51 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed
<13>Dec 31 02:11:51 rpmi: libXau-1.0.8-alt1 1369565807 installed
<13>Dec 31 02:11:51 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170828 installed
<13>Dec 31 02:11:51 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed
<13>Dec 31 02:11:51 rpmi: libXext-1.3.3-alt1 1409902932 installed
<13>Dec 31 02:11:51 rpmi: libXrender-0.9.8-alt1 1371312110 installed
<13>Dec 31 02:11:51 rpmi: libXdamage-1.1.3-alt4 1297162596 installed
<13>Dec 31 02:11:51 rpmi: libXfixes-5.0.3-alt1 sisyphus.216396.300 1542022144 installed
<13>Dec 31 02:11:51 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed
<13>Dec 31 02:11:51 rpmi: libXcomposite-0.4.3-alt3 1297306939 installed
<13>Dec 31 02:11:51 rpmi: libGLX-mesa-4:18.3.1-alt1 sisyphus.218704.100 1545993911 installed
<13>Dec 31 02:11:51 rpmi: libXcursor-1.1.15-alt1.S1 1512373363 installed
<13>Dec 31 02:11:51 rpmi: libXrandr-1.5.0-alt1 1431936188 installed
<13>Dec 31 02:11:51 rpmi: libXi-1.7.9-alt1.S1 1515755338 installed
<13>Dec 31 02:11:51 rpmi: libXinerama-1.1.3-alt2 1527671624 installed
<13>Dec 31 02:11:51 rpmi: libat-spi2-core-2.30.0-alt1 sisyphus.212651.600 1536647388 installed
<13>Dec 31 02:11:51 rpmi: libEGL-mesa-4:18.3.1-alt1 sisyphus.218704.100 1545993911 installed
<13>Dec 31 02:11:51 rpmi: libEGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed
<13>Dec 31 02:11:51 rpmi: libGLX-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed
<13>Dec 31 02:11:51 rpmi: libGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed
<13>Dec 31 02:11:51 rpmi: libcairo-1:1.16.0-alt1 sisyphus.215566.100 1540457760 installed
<13>Dec 31 02:11:52 rpmi: libgst-plugins1.0-1.14.4-alt3 sisyphus.216849.100 1543144417 installed
<13>Dec 31 02:11:52 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus.215566.100 1540457760 installed
<13>Dec 31 02:11:52 rpmi: libXft-2.3.2-alt1 1409902650 installed
<13>Dec 31 02:11:52 rpmi: libpango-1.42.4-alt1 1534787249 installed
<13>Dec 31 02:11:52 rpmi: libXtst-1.2.2-alt1 1369984880 installed
<13>Dec 31 02:11:52 rpmi: dbus-tools-gui-1.12.12-alt1 sisyphus.217336.100 1544000947 installed
<13>Dec 31 02:11:52 rpmi: at-spi2-core-2.30.0-alt1 sisyphus.212651.600 1536647388 installed
<13>Dec 31 02:11:52 rpmi: at-spi2-atk-2.30.0-alt2 sisyphus.213822.100 1538377851 installed
<13>Dec 31 02:11:52 rpmi: ed-1:0.2-alt10 1449768441 installed
<13>Dec 31 02:11:52 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed
<13>Dec 31 02:11:52 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed
<13>Dec 31 02:11:52 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed
<13>Dec 31 02:11:52 rpmi: ca-trust-0.1.1-alt2 1515595785 installed
<13>Dec 31 02:11:52 rpmi: p11-kit-trust-0.23.9-alt5 1525798241 installed
<13>Dec 31 02:11:52 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743840 installed
<13>Dec 31 02:11:52 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743840 installed
<86>Dec 31 02:11:52 groupadd[125713]: group added to /etc/group: name=_keytab, GID=497
<86>Dec 31 02:11:52 groupadd[125713]: group added to /etc/gshadow: name=_keytab
<86>Dec 31 02:11:52 groupadd[125713]: new group: name=_keytab, GID=497
<13>Dec 31 02:11:52 rpmi: libkrb5-1.16.2-alt2 sisyphus.216877.200 1543483170 installed
<13>Dec 31 02:11:52 rpmi: libcups-2.2.6-alt1 1510070331 installed
<13>Dec 31 02:11:52 rpmi: libgtk+2-2.24.32-alt2 1518699259 installed
<13>Dec 31 02:11:52 rpmi: glib-networking-2.58.0-alt1 sisyphus.212651.1500 1536648647 installed
<13>Dec 31 02:11:52 rpmi: libsoup-2.64.2-alt1 sisyphus.215425.140 1540400336 installed
<13>Dec 31 02:11:52 rpmi: libsoup-gnome-2.64.2-alt1 sisyphus.215425.140 1540400336 installed
<13>Dec 31 02:11:52 rpmi: librest-0.8.1-alt1 1508266396 installed
<13>Dec 31 02:11:53 rpmi: libgtk+3-3.24.2-alt2 sisyphus.218466.100 1545601950 installed
<13>Dec 31 02:11:54 rpmi: libwebkit2gtk-2.22.5-alt1 sisyphus.218134.1100 1545264357 installed
<13>Dec 31 02:11:54 rpmi: libwxBase3.0-3.0.4-alt3 1533831790 installed
<13>Dec 31 02:11:55 rpmi: compat-libwxGTK3.0-gtk2-3.0.4-alt3 1533831790 installed
<13>Dec 31 02:11:55 rpmi: compat-libwxGTK3.0-gtk2-gl-3.0.4-alt3 1533831790 installed
<13>Dec 31 02:11:55 rpmi: compat-libwxGTK3.0-gtk2-media-3.0.4-alt3 1533831790 installed
<13>Dec 31 02:11:55 rpmi: libwxGTK3.0-3.0.4-alt3 1533831790 installed
<13>Dec 31 02:11:55 rpmi: libwxGTK3.0-media-3.0.4-alt3 1533831790 installed
<13>Dec 31 02:11:55 rpmi: libwxBase3.0-devel-3.0.4-alt3 1533831790 installed
<13>Dec 31 02:11:55 rpmi: compat-libwxGTK3.0-gtk2-devel-3.0.4-alt3 1533831790 installed
<13>Dec 31 02:11:55 rpmi: libssl-devel-1.1.0j-alt1 sisyphus.216647.100 1542743840 installed
<13>Dec 31 02:11:55 rpmi: gcc-c++-8-alt1 sisyphus.214000.40 1542664792 installed
<13>Dec 31 02:11:55 rpmi: libchm-devel-0.40-alt6 1523453646 installed
<13>Dec 31 02:11:55 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.58822
+ 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.58822
+ 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 -- '{}'
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ sort -u
+ 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 --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 for style of include used by make... GNU
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 chmfshandler.o chmfshandler.cpp
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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 chminputstream.o chminputstream.cpp
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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmhtmlnotebook.cpp:198:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmhtmlnotebook.cpp:199:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
     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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/aui/auibook.h:466:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxAuiNotebookEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/aui/auibook.h:473:61: note: in expansion of macro 'wxAuiNotebookEventHandler'
     wx__DECLARE_EVT1(wxEVT_AUINOTEBOOK_PAGE_CHANGED, winid, wxAuiNotebookEventHandler(fn))
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~
chmhtmlnotebook.cpp:200:2: note: in expansion of macro 'EVT_AUINOTEBOOK_PAGE_CHANGED'
  EVT_AUINOTEBOOK_PAGE_CHANGED(wxID_ANY, CHMHtmlNotebook::OnPageChanged)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h: In instantiation of 'bool wxDocChildFrameAny<ChildFrame, ParentFrame>::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]
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                              ^
/usr/include/wx-3.0/wx/event.h:3931:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxActivateEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h:730:23: note: in expansion of macro 'wxActivateEventHandler'
                       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]
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                              ^
/usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCloseEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h:732:23: note: in expansion of macro 'wxCloseEventHandler'
                       wxCloseEventHandler(wxDocChildFrameAny::OnCloseWindow));
                       ^~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h: In instantiation of 'bool wxDocParentFrameAny<BaseFrame>::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]
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                              ^
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h:899:23: note: in expansion of macro 'wxCommandEventHandler'
                       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]
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                              ^
/usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCloseEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h:901:23: note: in expansion of macro 'wxCloseEventHandler'
                       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 chmsearchpanel.o chmsearchpanel.cpp
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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
     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'
 WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray);
 ^~~~~~~~~~~~~~~~~~~
In file included from chmsearchpanel.cpp:23:
./hhcparser.h: At global scope:
./hhcparser.h:108:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  std::auto_ptr<wxCSConv> _cvPtr;
       ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./hhcparser.h:30,
                 from chmsearchpanel.cpp:23:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
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:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxListEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
     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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/listbase.h:580:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxListEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/listbase.h:583:46: note: in expansion of macro 'wxListEventHandler'
     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'
 #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'
     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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #  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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4325:73: note: in expansion of macro 'wxCommandEventHandler'
 #  define EVT_BUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_BUTTON, winid, wxCommandEventHandler(func))
                                                                         ^~~~~~~~~~~~~~~~~~~~~
chmsearchpanel.cpp:292:5: note: in expansion of macro 'EVT_BUTTON'
     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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
     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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/textctrl.h:852:34: note: in expansion of macro 'wxCommandEventHandler'
 #define wxTextEventHandler(func) wxCommandEventHandler(func)
                                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/textctrl.h:857:46: note: in expansion of macro 'wxTextEventHandler'
     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'
 #define EVT_TEXT_ENTER(id, fn) wx__DECLARE_TEXTEVT(ENTER, id, fn)
                                ^~~~~~~~~~~~~~~~~~~
chmsearchpanel.cpp:293:5: note: in expansion of macro 'EVT_TEXT_ENTER'
     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 chmfinddialog.o chmfinddialog.cpp
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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
     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'
 WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray);
 ^~~~~~~~~~~~~~~~~~~
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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
     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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/textctrl.h:852:34: note: in expansion of macro 'wxCommandEventHandler'
 #define wxTextEventHandler(func) wxCommandEventHandler(func)
                                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/textctrl.h:857:46: note: in expansion of macro 'wxTextEventHandler'
     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'
 #define EVT_TEXT_ENTER(id, fn) wx__DECLARE_TEXTEVT(ENTER, id, fn)
                                ^~~~~~~~~~~~~~~~~~~
chmfinddialog.cpp:124:5: note: in expansion of macro 'EVT_TEXT_ENTER'
     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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #  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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4325:73: note: in expansion of macro 'wxCommandEventHandler'
 #  define EVT_BUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_BUTTON, winid, wxCommandEventHandler(func))
                                                                         ^~~~~~~~~~~~~~~~~~~~~
chmfinddialog.cpp:125:5: note: in expansion of macro 'EVT_BUTTON'
     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 chmfontdialog.o chmfontdialog.cpp
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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
     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'
 WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray);
 ^~~~~~~~~~~~~~~~~~~
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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4333:75: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_COMBOBOX(winid, func) wx__DECLARE_EVT1(wxEVT_COMBOBOX, winid, wxCommandEventHandler(func))
                                                                           ^~~~~~~~~~~~~~~~~~~~~
chmfontdialog.cpp:173:2: note: in expansion of macro 'EVT_COMBOBOX'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
     wx__DECLARE_EVT1(wxEVT_SPINCTRL, id, wxSpinEventHandler(fn))
     ^~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/spinbutt.h:125:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxSpinEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/spinctrl.h:106:42: note: in expansion of macro 'wxSpinEventHandler'
     wx__DECLARE_EVT1(wxEVT_SPINCTRL, id, wxSpinEventHandler(fn))
                                          ^~~~~~~~~~~~~~~~~~
chmfontdialog.cpp:174:2: note: in expansion of macro 'EVT_SPINCTRL'
  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 chmhtmlwindow.o chmhtmlwindow.cpp
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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
     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'
 WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray);
 ^~~~~~~~~~~~~~~~~~~
In file included from chmhtmlwindow.cpp:29:
./hhcparser.h: At global scope:
./hhcparser.h:108:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  std::auto_ptr<wxCSConv> _cvPtr;
       ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./hhcparser.h:30,
                 from chmhtmlwindow.cpp:29:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
chmhtmlwindow.cpp: In member function 'void CHMHtmlWindow::OnSaveLinkAs(wxCommandEvent&)':
chmhtmlwindow.cpp:304:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  std::auto_ptr<wxFSFile> f(m_FS->OpenFile(_link));
       ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./hhcparser.h:30,
                 from chmhtmlwindow.cpp:29:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> 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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmhtmlwindow.cpp:454:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmhtmlwindow.cpp:455:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmhtmlwindow.cpp:456:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmhtmlwindow.cpp:457:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmhtmlwindow.cpp:458:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmhtmlwindow.cpp:459:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmhtmlwindow.cpp:460:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmhtmlwindow.cpp:461:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3924:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCharEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4166:54: note: in expansion of macro 'wxCharEventHandler'
 #define EVT_CHAR(func)  wx__DECLARE_EVT0(wxEVT_CHAR, wxCharEventHandler(func))
                                                      ^~~~~~~~~~~~~~~~~~
chmhtmlwindow.cpp:462:2: note: in expansion of macro 'EVT_CHAR'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxMouseEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4206:65: note: in expansion of macro 'wxMouseEventHandler'
 #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'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3912:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxSizeEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4154:54: note: in expansion of macro 'wxSizeEventHandler'
 #define EVT_SIZE(func)  wx__DECLARE_EVT0(wxEVT_SIZE, wxSizeEventHandler(func))
                                                      ^~~~~~~~~~~~~~~~~~
chmhtmlwindow.cpp:464:2: note: in expansion of macro 'EVT_SIZE'
  EVT_SIZE(CHMHtmlWindow::OnSize)
  ^~~~~~~~
/usr/include/wx-3.0/wx/docview.h: In instantiation of 'bool wxDocChildFrameAny<ChildFrame, ParentFrame>::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]
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                              ^
/usr/include/wx-3.0/wx/event.h:3931:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxActivateEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h:730:23: note: in expansion of macro 'wxActivateEventHandler'
                       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]
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                              ^
/usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCloseEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h:732:23: note: in expansion of macro 'wxCloseEventHandler'
                       wxCloseEventHandler(wxDocChildFrameAny::OnCloseWindow));
                       ^~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h: In instantiation of 'bool wxDocParentFrameAny<BaseFrame>::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]
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                              ^
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h:899:23: note: in expansion of macro 'wxCommandEventHandler'
                       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]
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                              ^
/usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCloseEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h:901:23: note: in expansion of macro 'wxCloseEventHandler'
                       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 chmfile.o chmfile.cpp
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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from chmfile.cpp:38:
./bitfiddle.inl: At global scope:
./bitfiddle.inl:191:34: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
 inline void createCSConvPtr(std::auto_ptr<wxCSConv>& cvPtr, wxFontEncoding enc)
                                  ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./bitfiddle.inl:27,
                 from chmfile.cpp:38:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> 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> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<wxCSConv> convToPtr;
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./bitfiddle.inl:27,
                 from chmfile.cpp:38:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from chmfile.cpp:39:
./hhcparser.h: At global scope:
./hhcparser.h:108:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  std::auto_ptr<wxCSConv> _cvPtr;
       ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./bitfiddle.inl:27,
                 from chmfile.cpp:38:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
chmfile.cpp: In member function 'bool CHMFile::GetIndex(CHMListCtrl*)':
chmfile.cpp:643:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  std::auto_ptr<wxCSConv> cvPtr;
       ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./bitfiddle.inl:27,
                 from chmfile.cpp:38:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> 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> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
     std::auto_ptr<wxCSConv> cvPtr;
          ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./bitfiddle.inl:27,
                 from chmfile.cpp:38:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> 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 chmapp.o chmapp.cpp
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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
 inline void createCSConvPtr(std::auto_ptr<wxCSConv>& cvPtr, wxFontEncoding enc)
                                  ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./bitfiddle.inl:27,
                 from chmapp.cpp:35:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> 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> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<wxCSConv> convToPtr;
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./bitfiddle.inl:27,
                 from chmapp.cpp:35:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> 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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
     wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func))
     ^~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/timer.h:189:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxTimerEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/timer.h:192:44: note: in expansion of macro 'wxTimerEventHandler'
     wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func))
                                            ^~~~~~~~~~~~~~~~~~~
chmapp.cpp:272:2: note: in expansion of macro 'EVT_TIMER'
  EVT_TIMER(TIMER_ID, CHMApp::WatchForXMLRPC )
  ^~~~~~~~~
/usr/include/wx-3.0/wx/docview.h: In instantiation of 'bool wxDocChildFrameAny<ChildFrame, ParentFrame>::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]
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                              ^
/usr/include/wx-3.0/wx/event.h:3931:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxActivateEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h:730:23: note: in expansion of macro 'wxActivateEventHandler'
                       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]
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                              ^
/usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCloseEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h:732:23: note: in expansion of macro 'wxCloseEventHandler'
                       wxCloseEventHandler(wxDocChildFrameAny::OnCloseWindow));
                       ^~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h: In instantiation of 'bool wxDocParentFrameAny<BaseFrame>::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]
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                              ^
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h:899:23: note: in expansion of macro 'wxCommandEventHandler'
                       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]
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                              ^
/usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCloseEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h:901:23: note: in expansion of macro 'wxCloseEventHandler'
                       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 chmframe.o chmframe.cpp
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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from chmframe.cpp:35:
./hhcparser.h: At global scope:
./hhcparser.h:108:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  std::auto_ptr<wxCSConv> _cvPtr;
       ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./hhcparser.h:30,
                 from chmframe.cpp:35:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
chmframe.cpp: In member function 'bool CHMFrame::LoadCHM(const wxString&)':
chmframe.cpp:578:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<wxFSFile> p(wfs.OpenFile(wxString(wxT("file:")) + archive +
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./hhcparser.h:30,
                 from chmframe.cpp:35:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
chmframe.cpp:595:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(_tcl->GetCount())
   ^~
chmframe.cpp:597:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    _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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1068:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1069:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1070:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1071:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1072:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1073:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1074:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1075:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1079:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4321:79: note: in expansion of macro 'wxCommandEventHandler'
 #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'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1081:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1082:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1083:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1084:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4320:67: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_MENU(winid, func) wx__DECLARE_EVT1(wxEVT_MENU, winid, wxCommandEventHandler(func))
                                                                   ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1085:2: note: in expansion of macro 'EVT_MENU'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #  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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4325:73: note: in expansion of macro 'wxCommandEventHandler'
 #  define EVT_BUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_BUTTON, winid, wxCommandEventHandler(func))
                                                                         ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1086:2: note: in expansion of macro 'EVT_BUTTON'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #  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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4325:73: note: in expansion of macro 'wxCommandEventHandler'
 #  define EVT_BUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_BUTTON, winid, wxCommandEventHandler(func))
                                                                         ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1087:2: note: in expansion of macro 'EVT_BUTTON'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
     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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/treebase.h:334:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxTreeEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/treebase.h:337:46: note: in expansion of macro 'wxTreeEventHandler'
     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'
 #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'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4333:75: note: in expansion of macro 'wxCommandEventHandler'
 #define EVT_COMBOBOX(winid, func) wx__DECLARE_EVT1(wxEVT_COMBOBOX, winid, wxCommandEventHandler(func))
                                                                           ^~~~~~~~~~~~~~~~~~~~~
chmframe.cpp:1089:2: note: in expansion of macro 'EVT_COMBOBOX'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
     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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/textctrl.h:852:34: note: in expansion of macro 'wxCommandEventHandler'
 #define wxTextEventHandler(func) wxCommandEventHandler(func)
                                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/textctrl.h:857:46: note: in expansion of macro 'wxTextEventHandler'
     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'
 #define EVT_TEXT_ENTER(id, fn) wx__DECLARE_TEXTEVT(ENTER, id, fn)
                                ^~~~~~~~~~~~~~~~~~~
chmframe.cpp:1090:2: note: in expansion of macro 'EVT_TEXT_ENTER'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCloseEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4160:63: note: in expansion of macro 'wxCloseEventHandler'
 #define EVT_CLOSE(func)  wx__DECLARE_EVT0(wxEVT_CLOSE_WINDOW, wxCloseEventHandler(func))
                                                               ^~~~~~~~~~~~~~~~~~~
chmframe.cpp:1091:2: note: in expansion of macro 'EVT_CLOSE'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3924:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCharEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4166:54: note: in expansion of macro 'wxCharEventHandler'
 #define EVT_CHAR(func)  wx__DECLARE_EVT0(wxEVT_CHAR, wxCharEventHandler(func))
                                                      ^~~~~~~~~~~~~~~~~~
chmframe.cpp:1092:2: note: in expansion of macro 'EVT_CHAR'
  EVT_CHAR(CHMFrame::OnChar)
  ^~~~~~~~
/usr/include/wx-3.0/wx/docview.h: In instantiation of 'bool wxDocChildFrameAny<ChildFrame, ParentFrame>::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]
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                              ^
/usr/include/wx-3.0/wx/event.h:3931:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxActivateEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h:730:23: note: in expansion of macro 'wxActivateEventHandler'
                       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]
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                              ^
/usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCloseEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h:732:23: note: in expansion of macro 'wxCloseEventHandler'
                       wxCloseEventHandler(wxDocChildFrameAny::OnCloseWindow));
                       ^~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h: In instantiation of 'bool wxDocParentFrameAny<BaseFrame>::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]
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                              ^
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h:899:23: note: in expansion of macro 'wxCommandEventHandler'
                       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]
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                              ^
/usr/include/wx-3.0/wx/event.h:3947:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCloseEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/docview.h:901:23: note: in expansion of macro 'wxCloseEventHandler'
                       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 chmlistctrl.o chmlistctrl.cpp
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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3912:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxSizeEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:4154:54: note: in expansion of macro 'wxSizeEventHandler'
 #define EVT_SIZE(func)  wx__DECLARE_EVT0(wxEVT_SIZE, wxSizeEventHandler(func))
                                                      ^~~~~~~~~~~~~~~~~~
chmlistctrl.cpp:171:2: note: in expansion of macro 'EVT_SIZE'
  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 chmindexpanel.o chmindexpanel.cpp
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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
     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'
 WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray);
 ^~~~~~~~~~~~~~~~~~~
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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
 #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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/textctrl.h:852:34: note: in expansion of macro 'wxCommandEventHandler'
 #define wxTextEventHandler(func) wxCommandEventHandler(func)
                                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/textctrl.h:862:59: note: in expansion of macro 'wxTextEventHandler'
 #define EVT_TEXT(id, fn) wx__DECLARE_EVT1(wxEVT_TEXT, id, wxTextEventHandler(fn))
                                                           ^~~~~~~~~~~~~~~~~~
chmindexpanel.cpp:87:2: note: in expansion of macro 'EVT_TEXT'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
     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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/textctrl.h:852:34: note: in expansion of macro 'wxCommandEventHandler'
 #define wxTextEventHandler(func) wxCommandEventHandler(func)
                                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/textctrl.h:857:46: note: in expansion of macro 'wxTextEventHandler'
     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'
 #define EVT_TEXT_ENTER(id, fn) wx__DECLARE_TEXTEVT(ENTER, id, fn)
                                ^~~~~~~~~~~~~~~~~~~
chmindexpanel.cpp:88:2: note: in expansion of macro 'EVT_TEXT_ENTER'
  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]
 #define wxStaticCastEvent(type, val) static_cast<type>(val)
                                                           ^
/usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY'
     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'
     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'
     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'
     ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func )
                                                 ^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/listbase.h:580:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST'
     wxEVENT_HANDLER_CAST(wxListEventFunction, func)
     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/listbase.h:583:46: note: in expansion of macro 'wxListEventHandler'
     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'
 #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'
  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 hhcparser.o hhcparser.cpp
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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
          _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'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 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]
       Predicate p((SCMPFUNC)fnCompare);                             \
                             ^~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2'
    _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'
     _WX_DECLARE_BASEARRAY(T, name, classexp)
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY'
     _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'
     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'
 WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from hhcparser.cpp:24:
./hhcparser.h: At global scope:
./hhcparser.h:108:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  std::auto_ptr<wxCSConv> _cvPtr;
       ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./hhcparser.h:30,
                 from hhcparser.cpp:24:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from hhcparser.cpp:34:
./bitfiddle.inl:191:34: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
 inline void createCSConvPtr(std::auto_ptr<wxCSConv>& cvPtr, wxFontEncoding enc)
                                  ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./hhcparser.h:30,
                 from hhcparser.cpp:24:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> 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> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<wxCSConv> convToPtr;
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./hhcparser.h:30,
                 from hhcparser.cpp:24:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> 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=]
    if(!_inquote) {
    ^~
hhcparser.cpp:177:3: note: here
   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++  -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.29304
+ 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.87257
+ 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.pf6DT1
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.6MjXOO
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.N6ZBHH
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.qkK8LD
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.f45aYC
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
72.10user 4.39system 0:48.66elapsed 157%CPU (0avgtext+0avgdata 449544maxresident)k
0inputs+0outputs (0major+2082244minor)pagefaults 0swaps
90.49user 8.07system 1:14.69elapsed 131%CPU (0avgtext+0avgdata 449544maxresident)k
22832inputs+0outputs (0major+2647882minor)pagefaults 0swaps