<86>Jul  6 05:34:55 userdel[67927]: delete user 'rooter'
<86>Jul  6 05:34:55 userdel[67927]: removed group 'rooter' owned by 'rooter'
<86>Jul  6 05:34:55 groupadd[67986]: group added to /etc/group: name=rooter, GID=543
<86>Jul  6 05:34:55 groupadd[67986]: group added to /etc/gshadow: name=rooter
<86>Jul  6 05:34:55 groupadd[67986]: new group: name=rooter, GID=543
<86>Jul  6 05:34:55 useradd[67996]: new user: name=rooter, UID=543, GID=543, home=/root, shell=/bin/bash
<86>Jul  6 05:34:55 userdel[68088]: delete user 'builder'
<86>Jul  6 05:34:55 userdel[68088]: removed group 'builder' owned by 'builder'
<86>Jul  6 05:34:55 userdel[68088]: removed shadow group 'builder' owned by 'builder'
<86>Jul  6 05:34:55 groupadd[68101]: group added to /etc/group: name=builder, GID=544
<86>Jul  6 05:34:55 groupadd[68101]: group added to /etc/gshadow: name=builder
<86>Jul  6 05:34:55 groupadd[68101]: new group: name=builder, GID=544
<86>Jul  6 05:34:55 useradd[68114]: new user: name=builder, UID=544, GID=544, home=/usr/src, shell=/bin/bash
<13>Jul  6 05:34:58 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed
<13>Jul  6 05:34:58 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633315 installed
<13>Jul  6 05:34:58 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed
<13>Jul  6 05:34:58 rpmi: libexpat-2.2.4-alt1 1503305341 installed
<13>Jul  6 05:34:58 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed
<13>Jul  6 05:34:59 rpmi: libwxBase3.0-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed
<13>Jul  6 05:34:59 rpmi: perl-XML-NamespaceSupport-1.12-alt1 1491296348 installed
<13>Jul  6 05:34:59 rpmi: libwayland-egl-4:18.1.0-alt1 sisyphus+225894.100.1.1 1553872803 installed
<13>Jul  6 05:34:59 rpmi: libidn2-2.2.0-alt1 sisyphus+229970.100.1.1 1558625623 installed
<13>Jul  6 05:34:59 rpmi: libnettle6-3.4.1-alt1 sisyphus+226533.100.2.1 1554512181 installed
<13>Jul  6 05:34:59 rpmi: libsqlite3-3.28.0-alt1 sisyphus+231334.100.1.1 1559488286 installed
<13>Jul  6 05:34:59 rpmi: liblcms2-2.9-alt1 1516411888 installed
<13>Jul  6 05:34:59 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed
<13>Jul  6 05:34:59 rpmi: perl-Compress-Raw-Zlib-2.086-alt1 sisyphus+226395.100.1.2 1554269783 installed
<13>Jul  6 05:34:59 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed
<13>Jul  6 05:34:59 rpmi: perl-XML-SAX-Base-1.09-alt1 1494364363 installed
<13>Jul  6 05:34:59 rpmi: libgudev-1:232-alt3 1523738515 installed
<13>Jul  6 05:34:59 rpmi: libmspack-0.6-alt1 1530626810 installed
<13>Jul  6 05:34:59 rpmi: libfribidi-1.0.5-alt1 1532424343 installed
<13>Jul  6 05:34:59 rpmi: libglvnd-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed
<13>Jul  6 05:34:59 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed
<13>Jul  6 05:34:59 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed
<13>Jul  6 05:34:59 rpmi: libtasn1-4.13-alt2 1521133848 installed
<13>Jul  6 05:34:59 rpmi: libICE-1.0.9-alt1 1409902719 installed
<13>Jul  6 05:34:59 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed
<13>Jul  6 05:34:59 rpmi: libhogweed4-3.4.1-alt1 sisyphus+226533.100.2.1 1554512181 installed
<13>Jul  6 05:34:59 rpmi: libgnutls30-3.6.8-alt1 sisyphus+231079.100.1.1 1559063519 installed
<13>Jul  6 05:34:59 rpmi: libwxBase3.0-devel-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed
<13>Jul  6 05:34:59 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed
<13>Jul  6 05:34:59 rpmi: libwayland-cursor-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed
<13>Jul  6 05:34:59 rpmi: libjasper-2.0.16-alt1 sisyphus+231386.100.1.1 1559568071 installed
<13>Jul  6 05:34:59 rpmi: libxmlrpcxx-0.7-alt2.git20100306 1437051316 installed
<13>Jul  6 05:34:59 rpmi: libchm-0.40-alt6 1523453646 installed
<13>Jul  6 05:34:59 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed
<13>Jul  6 05:34:59 rpmi: libstdc++8-devel-8.3.1-alt3 sisyphus+228100.100.1.1 1556142139 installed
<13>Jul  6 05:35:01 rpmi: gcc8-c++-8.3.1-alt3 sisyphus+228100.100.1.1 1556142139 installed
<13>Jul  6 05:35:01 rpmi: libxkbcommon-0.8.4-alt1 sisyphus+222759.100.1.1 1551009797 installed
<13>Jul  6 05:35:01 rpmi: publicsuffix-list-dafsa-20190329-alt1 sisyphus+226347.100.1.2 1554127434 installed
<13>Jul  6 05:35:01 rpmi: libpsl-0.21.0-alt1 sisyphus+227314.100.1.2 1555618432 installed
<13>Jul  6 05:35:01 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed
<13>Jul  6 05:35:01 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed
<13>Jul  6 05:35:01 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed
<13>Jul  6 05:35:01 rpmi: libproxy-0.4.15-alt3 sisyphus+227885.100.1.2 1555818596 installed
<13>Jul  6 05:35:01 rpmi: libepoxy-1.5.3-alt1 sisyphus+226740.100.2.3 1554619014 installed
<13>Jul  6 05:35:01 rpmi: libusb-1.0.22-alt1 1525452011 installed
<13>Jul  6 05:35:01 rpmi: udev-rules-1:242-alt8 sisyphus+229848.240.4.1 1559129077 installed
<13>Jul  6 05:35:01 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed
<13>Jul  6 05:35:01 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed
<13>Jul  6 05:35:01 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed
<13>Jul  6 05:35:01 rpmi: perl-Compress-Raw-Bzip2-2.086-alt1 sisyphus+226394.100.1.2 1554269409 installed
<13>Jul  6 05:35:01 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed
<13>Jul  6 05:35:01 rpmi: perl-Term-ANSIColor-4.06-alt1 1479407083 installed
<13>Jul  6 05:35:01 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed
<13>Jul  6 05:35:01 rpmi: perl-Filter-1.59-alt1.1 sisyphus+219907.400.1.1 1548343225 installed
<13>Jul  6 05:35:01 rpmi: perl-Encode-3.01-alt1 sisyphus+224923.100.1.1 1552474113 installed
<13>Jul  6 05:35:01 rpmi: perl-URI-1.76-alt1 sisyphus+220243.100.1.1 1548863244 installed
<13>Jul  6 05:35:01 rpmi: perl-IO-Compress-2.086-alt1 sisyphus+226399.100.2.1 1554270186 installed
<13>Jul  6 05:35:01 rpmi: perl-Net-HTTP-6.19-alt1 sisyphus+229756.100.1.1 1558454558 installed
<13>Jul  6 05:35:01 rpmi: perl-HTML-Parser-3.72-alt1.2 sisyphus+219907.600.1.1 1548343407 installed
<13>Jul  6 05:35:01 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed
<13>Jul  6 05:35:01 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed
<13>Jul  6 05:35:01 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed
<13>Jul  6 05:35:01 rpmi: perl-HTTP-Message-6.18-alt1 1528288416 installed
<13>Jul  6 05:35:01 rpmi: perl-HTTP-Cookies-6.04-alt1 1504116575 installed
<13>Jul  6 05:35:01 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed
<13>Jul  6 05:35:01 rpmi: perl-libwww-6.39-alt1 sisyphus+229237.100.1.1 1557650051 installed
<13>Jul  6 05:35:01 rpmi: perl-XML-LibXML-2.0201-alt1 sisyphus+231120.200.1.1 1559144562 installed
<13>Jul  6 05:35:01 rpmi: perl-XML-SAX-1.02-alt1 sisyphus+232322.100.1.1 1560758406 installed
<13>Jul  6 05:35:01 rpmi: perl-XML-Simple-2.25-alt1 1521437714 installed
<13>Jul  6 05:35:01 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed
<13>Jul  6 05:35:03 rpmi: icon-theme-adwaita-3.32.0-alt1 sisyphus+225063.1600.1.1 1552933594 installed
<13>Jul  6 05:35:03 rpmi: liborc-0.4.29-alt1 sisyphus+227450.100.3.3 1555765925 installed
<13>Jul  6 05:35:03 rpmi: wxGTK3.0-i18n-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed
<13>Jul  6 05:35:03 rpmi: libdatrie-0.2.9-alt1_6 1511686677 installed
<13>Jul  6 05:35:03 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed
<13>Jul  6 05:35:03 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed
<13>Jul  6 05:35:03 rpmi: libwebp7-1.0.2-alt1 sisyphus+219651.100.1.2 1548057724 installed
<13>Jul  6 05:35:03 rpmi: libjbig-2.1-alt1 1401380921 installed
<13>Jul  6 05:35:03 rpmi: libtiff5-4.0.10.0.93.91480d3d-alt1 sisyphus+231496.100.1.1 1559668975 installed
<13>Jul  6 05:35:03 rpmi: libgdk-pixbuf-locales-2.38.1-alt1.1 sisyphus+226643.100.1.1 1554470431 installed
<13>Jul  6 05:35:04 rpmi: libgtk+2-locales-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed
<13>Jul  6 05:35:04 rpmi: libpixman-3:0.38.4-alt1 sisyphus+228006.100.1.1 1556013486 installed
<13>Jul  6 05:35:04 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed
<13>Jul  6 05:35:04 rpmi: libharfbuzz-2.5.3-alt1 sisyphus+233337.100.1.1 1561643295 installed
<13>Jul  6 05:35:05 rpmi: libfreetype-2.10.0-alt2 sisyphus+226881.100.2.1 1555676284 installed
<13>Jul  6 05:35:05 rpmi: fontconfig-2.13.1-alt1 sisyphus+226691.100.2.2 1554598717 installed
Updating fonts cache: <29>Jul  6 05:35:06 fontconfig: Updating fonts cache: succeeded
[ DONE ]
<13>Jul  6 05:35:06 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed
<13>Jul  6 05:35:06 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed
<13>Jul  6 05:35:06 rpmi: libdrm-1:2.4.98-alt1 sisyphus+228121.100.4.1 1556184492 installed
<13>Jul  6 05:35:06 rpmi: libgbm-4:19.1.1-alt1 sisyphus+233224.100.1.1 1561544555 installed
<13>Jul  6 05:35:06 rpmi: libatk-locales-2.32.0-alt1 sisyphus+225059.600.3.2 1552845198 installed
<13>Jul  6 05:35:06 rpmi: libatk-2.32.0-alt1 sisyphus+225059.600.3.2 1552845198 installed
<13>Jul  6 05:35:06 rpmi: shared-mime-info-1.12-alt1 sisyphus+219597.100.2.2 1548056998 installed
<13>Jul  6 05:35:06 rpmi: gsettings-desktop-schemas-data-3.32.0-alt1 sisyphus+225059.300.3.2 1552843929 installed
<13>Jul  6 05:35:06 rpmi: libgio-2.60.4-alt1 sisyphus+231865.100.1.1 1560193501 installed
<13>Jul  6 05:35:06 rpmi: gsettings-desktop-schemas-3.32.0-alt1 sisyphus+225059.300.3.2 1552843929 installed
<13>Jul  6 05:35:06 rpmi: libgdk-pixbuf-2.38.1-alt1.1 sisyphus+226643.100.1.1 1554470431 installed
<13>Jul  6 05:35:06 rpmi: libgstreamer1.0-1.16.0-alt1 sisyphus+227450.200.3.3 1555766462 installed
<13>Jul  6 05:35:06 rpmi: gtk-update-icon-cache-3.24.10-alt1 sisyphus+233719.100.1.1 1562221461 installed
<13>Jul  6 05:35:06 rpmi: libnotify-0.7.8-alt1 sisyphus+226665.100.1.1 1554498870 installed
<13>Jul  6 05:35:06 rpmi: libgusb-0.3.0-alt1 1518891733 installed
<13>Jul  6 05:35:06 rpmi: libcolord-1.4.4-alt2 sisyphus+229904.100.1.1 1558606512 installed
<13>Jul  6 05:35:06 rpmi: libjson-glib-1.4.4-alt1 sisyphus.213175.100 1537249583 installed
<13>Jul  6 05:35:06 rpmi: libdconf-0.32.0-alt1 sisyphus+225059.1100.3.2 1552845910 installed
<13>Jul  6 05:35:06 rpmi: liblz4-1:1.9.1-alt1 sisyphus+228057.100.1.1 1556059262 installed
<13>Jul  6 05:35:06 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed
<13>Jul  6 05:35:06 rpmi: libgcrypt20-1.8.4-alt3 sisyphus+232944.100.1.1 1561281796 installed
<13>Jul  6 05:35:06 rpmi: libsystemd-1:242-alt8 sisyphus+229848.240.4.1 1559129077 installed
<13>Jul  6 05:35:06 rpmi: libdbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918037 installed
<13>Jul  6 05:35:06 rpmi: dbus-tools-1.12.12-alt2 sisyphus+221234.100.1.2 1549918037 installed
<86>Jul  6 05:35:07 groupadd[92274]: group added to /etc/group: name=messagebus, GID=499
<86>Jul  6 05:35:07 groupadd[92274]: group added to /etc/gshadow: name=messagebus
<86>Jul  6 05:35:07 groupadd[92274]: new group: name=messagebus, GID=499
<86>Jul  6 05:35:07 useradd[92286]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null
<13>Jul  6 05:35:07 rpmi: dbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918037 installed
<13>Jul  6 05:35:07 rpmi: dconf-0.32.0-alt1 sisyphus+225059.1100.3.2 1552845910 installed
<13>Jul  6 05:35:07 rpmi: libgtk+3-schemas-3.24.10-alt1 sisyphus+233719.100.1.1 1562221461 installed
<13>Jul  6 05:35:07 rpmi: libavahi-0.6.32-alt1 1500485694 installed
<13>Jul  6 05:35:07 rpmi: libcups-2.2.11-alt1 sisyphus+225793.100.1.1 1553701171 installed
<13>Jul  6 05:35:07 rpmi: libpolkit-0.116-alt1 sisyphus+228976.400.4.1 1557128960 installed
<86>Jul  6 05:35:07 groupadd[92463]: group added to /etc/group: name=colord, GID=498
<86>Jul  6 05:35:07 groupadd[92463]: group added to /etc/gshadow: name=colord
<86>Jul  6 05:35:07 groupadd[92463]: new group: name=colord, GID=498
<86>Jul  6 05:35:07 useradd[92485]: new user: name=colord, UID=498, GID=498, home=/var/colord, shell=/dev/null
<13>Jul  6 05:35:07 rpmi: colord-1.4.4-alt2 sisyphus+229904.100.1.1 1558606512 installed
<13>Jul  6 05:35:07 rpmi: libX11-locales-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed
<13>Jul  6 05:35:07 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed
<13>Jul  6 05:35:07 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed
<13>Jul  6 05:35:07 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed
<13>Jul  6 05:35:07 rpmi: libX11-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed
<13>Jul  6 05:35:07 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed
<13>Jul  6 05:35:07 rpmi: libXrender-0.9.8-alt1 1371312110 installed
<13>Jul  6 05:35:07 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed
<13>Jul  6 05:35:07 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed
<13>Jul  6 05:35:07 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed
<13>Jul  6 05:35:07 rpmi: libGLX-mesa-4:19.1.1-alt1 sisyphus+233224.100.1.1 1561544555 installed
<13>Jul  6 05:35:07 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949214 installed
<13>Jul  6 05:35:07 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed
<13>Jul  6 05:35:07 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106975 installed
<13>Jul  6 05:35:07 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268223 installed
<13>Jul  6 05:35:07 rpmi: libat-spi2-core-2.32.1-alt1.1 sisyphus+227877.100.1.2 1555818549 installed
<13>Jul  6 05:35:07 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949136 installed
<13>Jul  6 05:35:07 rpmi: libEGL-mesa-4:19.1.1-alt1 sisyphus+233224.100.1.1 1561544555 installed
<13>Jul  6 05:35:07 rpmi: libEGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed
<13>Jul  6 05:35:07 rpmi: libGLX-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed
<13>Jul  6 05:35:07 rpmi: libGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed
<13>Jul  6 05:35:07 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed
<13>Jul  6 05:35:07 rpmi: libgst-plugins1.0-1.16.0-alt1.1 sisyphus+229346.400.1.1 1557838166 installed
<13>Jul  6 05:35:07 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed
<13>Jul  6 05:35:07 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed
<13>Jul  6 05:35:07 rpmi: libpango-1.42.4-alt1 1534787249 installed
<13>Jul  6 05:35:07 rpmi: libgtk+2-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed
<13>Jul  6 05:35:08 rpmi: compat-libwxGTK3.0-gtk2-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed
<13>Jul  6 05:35:08 rpmi: compat-libwxGTK3.0-gtk2-gl-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed
<13>Jul  6 05:35:08 rpmi: compat-libwxGTK3.0-gtk2-media-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed
<13>Jul  6 05:35:08 rpmi: libXtst-1.2.2-alt1 1369984880 installed
<13>Jul  6 05:35:08 rpmi: dbus-tools-gui-1.12.12-alt2 sisyphus+221234.100.1.2 1549918037 installed
<13>Jul  6 05:35:08 rpmi: at-spi2-core-2.32.1-alt1.1 sisyphus+227877.100.1.2 1555818549 installed
<13>Jul  6 05:35:08 rpmi: at-spi2-atk-2.32.0-alt1 sisyphus+225059.700.3.2 1552845269 installed
<13>Jul  6 05:35:08 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Jul  6 05:35:08 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Jul  6 05:35:08 rpmi: ca-certificates-2019.03.31-alt1 sisyphus+226302.100.1.1 1554055265 installed
<13>Jul  6 05:35:08 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed
<13>Jul  6 05:35:08 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed
<13>Jul  6 05:35:08 rpmi: libcrypto1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667802 installed
<13>Jul  6 05:35:08 rpmi: libssl1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667802 installed
<86>Jul  6 05:35:08 groupadd[95639]: group added to /etc/group: name=_keytab, GID=497
<86>Jul  6 05:35:08 groupadd[95639]: group added to /etc/gshadow: name=_keytab
<86>Jul  6 05:35:08 groupadd[95639]: new group: name=_keytab, GID=497
<13>Jul  6 05:35:08 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746443 installed
<13>Jul  6 05:35:09 rpmi: glib-networking-2.60.3-alt1 sisyphus+231797.100.1.1 1560108255 installed
<13>Jul  6 05:35:09 rpmi: libsoup-2.66.2-alt1 sisyphus+229994.200.1.1 1558678426 installed
<13>Jul  6 05:35:09 rpmi: libsoup-gnome-2.66.2-alt1 sisyphus+229994.200.1.1 1558678426 installed
<13>Jul  6 05:35:09 rpmi: librest-0.8.1-alt1 1508266396 installed
<13>Jul  6 05:35:09 rpmi: libgtk+3-3.24.10-alt1 sisyphus+233719.100.1.1 1562221461 installed
<13>Jul  6 05:35:10 rpmi: libwxGTK3.0-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed
<13>Jul  6 05:35:10 rpmi: libwxGTK3.0-media-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed
<13>Jul  6 05:35:10 rpmi: compat-libwxGTK3.0-gtk2-devel-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed
<13>Jul  6 05:35:10 rpmi: libssl-devel-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667802 installed
<13>Jul  6 05:35:10 rpmi: gcc-c++-8-alt1 sisyphus+222164.100.1.1 1550685957 installed
<13>Jul  6 05:35:10 rpmi: libchm-devel-0.40-alt6 1523453646 installed
<13>Jul  6 05:35:10 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.41154
+ 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.17503
+ 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 --disable-silent-rules --without-included-gettext --enable-debug --enable-optimize --enable-xmlrpc
configure: WARNING: unrecognized options: --without-included-gettext
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /bin/install -c
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-alt-linux-gcc accepts -g... yes
checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed
checking whether x86_64-alt-linux-gcc understands -c and -o together... yes
checking build system type... x86_64-alt-linux-gnu
checking host system type... x86_64-alt-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.8.0... yes (version 3.0.4)
checking for wxWidgets static library... no
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of x86_64-alt-linux-gcc... none
checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-alt-linux-g++ accepts -g... yes
checking dependency style of x86_64-alt-linux-g++... none
checking how to run the C preprocessor... x86_64-alt-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for int32_t... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking chm_lib.h usability... yes
checking chm_lib.h presence... yes
checking for chm_lib.h... yes
checking for chm_open in -lchm... yes
checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E
checking XmlRpc.h usability... yes
checking XmlRpc.h presence... yes
checking for XmlRpc.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating art/Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating m4/Makefile
config.status: creating config.h
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --without-included-gettext
+ make -j8
make  all-recursive
Making all in m4
make[2]: Nothing to be done for 'all'.
Making all in po
make[2]: Nothing to be done for 'all'.
Making all in src
make[2]: Entering directory '/usr/src/RPM/BUILD/xchm-1.23/src'
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I..  -I../art -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  -pipe -frecord-gcc-switches -Wall -g -O2  -W -Wall -g -O2 -c -o 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 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 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 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 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 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 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 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 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 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++ -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 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++  -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.69605
+ 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.85154
+ 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.eXsdfv
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.XfQdRI
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.gZ5td2
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.Ti1mKo
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KvVDpO
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
67.36user 4.64system 1:10.68elapsed 101%CPU (0avgtext+0avgdata 445584maxresident)k
0inputs+0outputs (0major+2072565minor)pagefaults 0swaps
80.05user 7.56system 1:36.14elapsed 91%CPU (0avgtext+0avgdata 445584maxresident)k
136inputs+0outputs (0major+2481235minor)pagefaults 0swaps