<86>Jan 19 11:59:58 userdel[16897]: delete user 'rooter' <86>Jan 19 11:59:58 userdel[16897]: removed group 'rooter' owned by 'rooter' <86>Jan 19 11:59:58 userdel[16897]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 19 11:59:58 groupadd[16908]: group added to /etc/group: name=rooter, GID=537 <86>Jan 19 11:59:58 groupadd[16908]: group added to /etc/gshadow: name=rooter <86>Jan 19 11:59:58 groupadd[16908]: new group: name=rooter, GID=537 <86>Jan 19 11:59:58 useradd[16917]: new user: name=rooter, UID=537, GID=537, home=/root, shell=/bin/bash <86>Jan 19 11:59:58 userdel[16942]: delete user 'builder' <86>Jan 19 11:59:58 userdel[16942]: removed group 'builder' owned by 'builder' <86>Jan 19 11:59:58 userdel[16942]: removed shadow group 'builder' owned by 'builder' <86>Jan 19 11:59:58 groupadd[16961]: group added to /etc/group: name=builder, GID=538 <86>Jan 19 11:59:58 groupadd[16961]: group added to /etc/gshadow: name=builder <86>Jan 19 11:59:58 groupadd[16961]: new group: name=builder, GID=538 <86>Jan 19 11:59:58 useradd[16981]: new user: name=builder, UID=538, GID=538, home=/usr/src, shell=/bin/bash <13>Jan 19 12:00:03 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Jan 19 12:00:03 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633314 installed <13>Jan 19 12:00:03 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Jan 19 12:00:03 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Jan 19 12:00:03 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Jan 19 12:00:04 rpmi: libwxBase3.0-3.0.4-alt5 sisyphus+228213.200.3.1 1556883461 installed <13>Jan 19 12:00:04 rpmi: perl-XML-NamespaceSupport-1.12-alt1 1491296348 installed <13>Jan 19 12:00:04 rpmi: libwayland-egl-4:18.1.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Jan 19 12:00:04 rpmi: libidn2-2.2.0-alt1 p9+229971.100.2.1 1558696281 installed <13>Jan 19 12:00:04 rpmi: libnettle6-3.4.1-alt1 sisyphus+226533.100.2.1 1554512222 installed <13>Jan 19 12:00:04 rpmi: libsqlite3-3.29.0-alt1 p9+237498.100.1.1 1568303696 installed <13>Jan 19 12:00:04 rpmi: liblcms2-2.9-alt1 1516411892 installed <13>Jan 19 12:00:04 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed <13>Jan 19 12:00:04 rpmi: perl-Compress-Raw-Zlib-2.086-alt1 sisyphus+226395.100.1.2 1554269783 installed <13>Jan 19 12:00:04 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Jan 19 12:00:04 rpmi: perl-XML-SAX-Base-1.09-alt1 1494364363 installed <13>Jan 19 12:00:04 rpmi: libgudev-1:233-alt1 p9+235498.500.2.1 1565021367 installed <13>Jan 19 12:00:04 rpmi: libmspack-0.6-alt1 1530626814 installed <13>Jan 19 12:00:04 rpmi: libfribidi-1.0.7-alt1 p9+238309.200.1.1 1569787058 installed <13>Jan 19 12:00:04 rpmi: libglvnd-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Jan 19 12:00:04 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Jan 19 12:00:04 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jan 19 12:00:04 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Jan 19 12:00:04 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Jan 19 12:00:04 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Jan 19 12:00:04 rpmi: libhogweed4-3.4.1-alt1 sisyphus+226533.100.2.1 1554512222 installed <13>Jan 19 12:00:04 rpmi: libgnutls30-3.6.11-alt1 p9+242148.100.1.1 1575316166 installed <13>Jan 19 12:00:04 rpmi: libwxBase3.0-devel-3.0.4-alt5 sisyphus+228213.200.3.1 1556883461 installed <13>Jan 19 12:00:04 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Jan 19 12:00:04 rpmi: libwayland-cursor-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Jan 19 12:00:04 rpmi: libjasper-2.0.14-alt1 1530105217 installed <13>Jan 19 12:00:04 rpmi: libxmlrpcxx-0.7-alt2.git20100306 1437027747 installed <13>Jan 19 12:00:04 rpmi: libchm-0.40-alt6 1523453648 installed <13>Jan 19 12:00:04 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Jan 19 12:00:05 rpmi: libstdc++8-devel-8.3.1-alt5 p9+240194.100.1.1 1572928737 installed <13>Jan 19 12:00:06 rpmi: gcc8-c++-8.3.1-alt5 p9+240194.100.1.1 1572928737 installed <13>Jan 19 12:00:06 rpmi: libxkbcommon-0.8.4-alt1 sisyphus+222759.100.1.1 1551009799 installed <13>Jan 19 12:00:06 rpmi: publicsuffix-list-dafsa-20200106-alt1 p9+244008.100.1.1 1578591661 installed <13>Jan 19 12:00:06 rpmi: libpsl-0.21.0-alt1 sisyphus+227314.100.1.2 1555618423 installed <13>Jan 19 12:00:06 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jan 19 12:00:06 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jan 19 12:00:06 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Jan 19 12:00:06 rpmi: libproxy-0.4.15-alt3 sisyphus+227885.100.1.2 1555818599 installed <13>Jan 19 12:00:06 rpmi: libepoxy-1.5.3-alt1 sisyphus+226740.100.2.3 1554619018 installed <13>Jan 19 12:00:06 rpmi: libusb-1.0.22-alt1 1525452055 installed <13>Jan 19 12:00:06 rpmi: udev-rules-1:242-alt12 p9+239240.100.1.1 1571079054 installed <13>Jan 19 12:00:06 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Jan 19 12:00:06 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Jan 19 12:00:06 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed <13>Jan 19 12:00:06 rpmi: perl-Compress-Raw-Bzip2-2.086-alt1 sisyphus+226394.100.1.2 1554269409 installed <13>Jan 19 12:00:06 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Jan 19 12:00:06 rpmi: perl-Term-ANSIColor-4.06-alt1 1479407083 installed <13>Jan 19 12:00:06 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Jan 19 12:00:06 rpmi: perl-Filter-1.59-alt1.1 sisyphus+219907.400.1.1 1548343389 installed <13>Jan 19 12:00:06 rpmi: perl-Encode-3.01-alt1 sisyphus+224923.100.1.1 1552474122 installed <13>Jan 19 12:00:06 rpmi: perl-URI-1.76-alt1 sisyphus+220243.100.1.1 1548863244 installed <13>Jan 19 12:00:06 rpmi: perl-IO-Compress-2.086-alt1 sisyphus+226399.100.2.1 1554270186 installed <13>Jan 19 12:00:06 rpmi: perl-Net-HTTP-6.18-alt1 1526560501 installed <13>Jan 19 12:00:06 rpmi: perl-HTML-Parser-3.72-alt1.2 sisyphus+219907.600.1.1 1548343581 installed <13>Jan 19 12:00:06 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Jan 19 12:00:06 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Jan 19 12:00:06 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Jan 19 12:00:06 rpmi: perl-HTTP-Message-6.18-alt1 1528288416 installed <13>Jan 19 12:00:06 rpmi: perl-HTTP-Cookies-6.04-alt1 1504116575 installed <13>Jan 19 12:00:06 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Jan 19 12:00:06 rpmi: perl-libwww-6.39-alt1 sisyphus+229237.100.1.1 1557650051 installed <13>Jan 19 12:00:06 rpmi: perl-XML-LibXML-2.0134-alt1 p9+240664.100.1.1 1573636517 installed <13>Jan 19 12:00:06 rpmi: perl-XML-SAX-1.00-alt1 1519094959 installed <13>Jan 19 12:00:06 rpmi: perl-XML-Simple-2.25-alt1 1521437714 installed <13>Jan 19 12:00:06 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Jan 19 12:00:08 rpmi: icon-theme-adwaita-3.32.0-alt1 sisyphus+225063.1600.1.1 1552933594 installed <13>Jan 19 12:00:08 rpmi: liborc-0.4.30.1-alt0.2 p9+238791.100.1.1 1570624361 installed <13>Jan 19 12:00:08 rpmi: wxGTK3.0-i18n-3.0.4-alt5 sisyphus+228213.200.3.1 1556883406 installed <13>Jan 19 12:00:08 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed <13>Jan 19 12:00:08 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Jan 19 12:00:08 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Jan 19 12:00:08 rpmi: libwebp7-1.0.3-alt1 p9+234901.200.1.1 1563552457 installed <13>Jan 19 12:00:08 rpmi: libjbig-2.1-alt1 1401380926 installed <13>Jan 19 12:00:08 rpmi: libtiff5-4.0.10.0.57.f9fc01c3-alt1 sisyphus+226958.100.1.1 1554850940 installed <13>Jan 19 12:00:08 rpmi: libgdk-pixbuf-locales-2.38.2-alt1 p9+237353.1000.2.2 1568374008 installed <13>Jan 19 12:00:09 rpmi: libgtk+2-locales-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Jan 19 12:00:09 rpmi: libpixman-3:0.38.4-alt1 sisyphus+228006.100.1.1 1556013870 installed <13>Jan 19 12:00:09 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648241 installed <13>Jan 19 12:00:09 rpmi: libharfbuzz-2.6.2-alt1 p9+238790.200.1.1 1570435826 installed <13>Jan 19 12:00:09 rpmi: libfreetype-2.10.0-alt2 sisyphus+226881.100.2.1 1555676286 installed <13>Jan 19 12:00:09 rpmi: fontconfig-2.13.1-alt1 sisyphus+226691.100.2.2 1554598726 installed Updating fonts cache: <29>Jan 19 12:00:10 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Jan 19 12:00:10 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Jan 19 12:00:10 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>Jan 19 12:00:10 rpmi: libdrm-1:2.4.99-alt1 p9+236610.100.1.1 1566818128 installed <13>Jan 19 12:00:10 rpmi: libgbm-4:19.1.8-alt1 p9+240059.100.2.1 1573598676 installed <13>Jan 19 12:00:10 rpmi: libatk-locales-2.32.0-alt1 sisyphus+225059.600.3.2 1552845198 installed <13>Jan 19 12:00:10 rpmi: libatk-2.32.0-alt1 sisyphus+225059.600.3.2 1552845362 installed <13>Jan 19 12:00:10 rpmi: shared-mime-info-1.13.1-alt1 p9+238204.100.1.1 1569496447 installed <13>Jan 19 12:00:10 rpmi: gsettings-desktop-schemas-data-3.32.0-alt1 sisyphus+225059.300.3.2 1552843929 installed <13>Jan 19 12:00:10 rpmi: libgio-2.60.7-alt1 p9+237353.100.2.2 1568373081 installed <13>Jan 19 12:00:10 rpmi: gsettings-desktop-schemas-3.32.0-alt1 sisyphus+225059.300.3.2 1552843980 installed <13>Jan 19 12:00:10 rpmi: libgdk-pixbuf-2.38.2-alt1 p9+237353.1000.2.2 1568374336 installed <13>Jan 19 12:00:10 rpmi: libgstreamer1.0-1.16.1-alt1 p9+238791.200.1.1 1570624794 installed <13>Jan 19 12:00:10 rpmi: gtk-update-icon-cache-3.24.11-alt1 p9+237353.1200.2.2 1568374786 installed <13>Jan 19 12:00:10 rpmi: libnotify-0.7.8-alt1 sisyphus+226665.100.1.1 1554498874 installed <13>Jan 19 12:00:10 rpmi: libgusb-0.3.0-alt1 1518891735 installed <13>Jan 19 12:00:11 rpmi: libcolord-1.4.4-alt1 sisyphus+224111.100.1.1 1552060572 installed <13>Jan 19 12:00:11 rpmi: libjson-glib-1.4.4-alt1 sisyphus.213175.100 1537249589 installed <13>Jan 19 12:00:11 rpmi: libdconf-0.32.0-alt1 sisyphus+225059.1100.3.2 1552846106 installed <13>Jan 19 12:00:11 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228299 installed <13>Jan 19 12:00:11 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Jan 19 12:00:11 rpmi: libgcrypt20-1.8.4-alt2 sisyphus+229280.100.1.1 1557742126 installed <13>Jan 19 12:00:11 rpmi: libsystemd-1:242-alt12 p9+239240.100.1.1 1571079084 installed <13>Jan 19 12:00:11 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553687 installed <13>Jan 19 12:00:11 rpmi: dbus-tools-1.12.16-alt2 p9+240607.100.1.1 1573553687 installed <86>Jan 19 12:00:11 groupadd[32622]: group added to /etc/group: name=messagebus, GID=499 <86>Jan 19 12:00:11 groupadd[32622]: group added to /etc/gshadow: name=messagebus <86>Jan 19 12:00:11 groupadd[32622]: new group: name=messagebus, GID=499 <86>Jan 19 12:00:11 useradd[32639]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null <13>Jan 19 12:00:11 rpmi: dbus-1.12.16-alt2 p9+240607.100.1.1 1573553687 installed <13>Jan 19 12:00:11 rpmi: dconf-0.32.0-alt1 sisyphus+225059.1100.3.2 1552846106 installed <13>Jan 19 12:00:11 rpmi: libgtk+3-schemas-3.24.11-alt1 p9+237353.1200.2.2 1568374373 installed <13>Jan 19 12:00:11 rpmi: libavahi-0.6.32-alt1 1500485702 installed <13>Jan 19 12:00:11 rpmi: libcups-2.2.11-alt1 sisyphus+225793.100.1.1 1553701176 installed <13>Jan 19 12:00:11 rpmi: libpolkit-0.116-alt1 sisyphus+228976.400.4.1 1557128967 installed <86>Jan 19 12:00:11 groupadd[528]: group added to /etc/group: name=colord, GID=498 <86>Jan 19 12:00:11 groupadd[528]: group added to /etc/gshadow: name=colord <86>Jan 19 12:00:11 groupadd[528]: new group: name=colord, GID=498 <86>Jan 19 12:00:11 useradd[546]: new user: name=colord, UID=498, GID=498, home=/var/colord, shell=/dev/null <13>Jan 19 12:00:11 rpmi: colord-1.4.4-alt1 sisyphus+224111.100.1.1 1552060572 installed <13>Jan 19 12:00:11 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615009 installed <13>Jan 19 12:00:11 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Jan 19 12:00:11 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Jan 19 12:00:11 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Jan 19 12:00:11 rpmi: libX11-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615005 installed <13>Jan 19 12:00:11 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Jan 19 12:00:11 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Jan 19 12:00:11 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Jan 19 12:00:11 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Jan 19 12:00:11 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Jan 19 12:00:11 rpmi: libGLX-mesa-4:19.1.8-alt1 p9+240059.100.2.1 1573598676 installed <13>Jan 19 12:00:11 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949218 installed <13>Jan 19 12:00:11 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Jan 19 12:00:11 rpmi: libXi-1.7.9-alt2 sisyphus+226377.100.1.2 1554260260 installed <13>Jan 19 12:00:11 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed <13>Jan 19 12:00:11 rpmi: libat-spi2-core-2.32.1-alt1.1 sisyphus+227877.100.1.2 1555818555 installed <13>Jan 19 12:00:11 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949137 installed <13>Jan 19 12:00:11 rpmi: libEGL-mesa-4:19.1.8-alt1 p9+240059.100.2.1 1573598676 installed <13>Jan 19 12:00:11 rpmi: libEGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Jan 19 12:00:11 rpmi: libGLX-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Jan 19 12:00:11 rpmi: libGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Jan 19 12:00:11 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Jan 19 12:00:12 rpmi: libgst-plugins1.0-1.16.1-alt1 p9+238791.300.1.1 1570625076 installed <13>Jan 19 12:00:12 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Jan 19 12:00:12 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Jan 19 12:00:12 rpmi: libpango-1.44.6-alt1 p9+237353.700.2.2 1568374131 installed <13>Jan 19 12:00:12 rpmi: libgtk+2-2.24.32-alt3 sisyphus+227306.100.1.3 1555646092 installed <13>Jan 19 12:00:13 rpmi: compat-libwxGTK3.0-gtk2-3.0.4-alt5 sisyphus+228213.200.3.1 1556883461 installed <13>Jan 19 12:00:13 rpmi: compat-libwxGTK3.0-gtk2-gl-3.0.4-alt5 sisyphus+228213.200.3.1 1556883461 installed <13>Jan 19 12:00:13 rpmi: compat-libwxGTK3.0-gtk2-media-3.0.4-alt5 sisyphus+228213.200.3.1 1556883461 installed <13>Jan 19 12:00:13 rpmi: libXtst-1.2.2-alt1 1369984893 installed <13>Jan 19 12:00:13 rpmi: dbus-tools-gui-1.12.16-alt2 p9+240607.100.1.1 1573553687 installed <13>Jan 19 12:00:13 rpmi: at-spi2-core-2.32.1-alt1.1 sisyphus+227877.100.1.2 1555818555 installed <13>Jan 19 12:00:13 rpmi: at-spi2-atk-2.32.0-alt1 sisyphus+225059.700.3.2 1552845433 installed <13>Jan 19 12:00:13 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 19 12:00:13 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 19 12:00:13 rpmi: ca-certificates-2019.10.28-alt1 p9+240634.100.1.1 1573575926 installed <13>Jan 19 12:00:13 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Jan 19 12:00:13 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jan 19 12:00:13 rpmi: libcrypto1.1-1.1.1d-alt1.1 p9+237853.200.3.1 1569251834 installed <13>Jan 19 12:00:13 rpmi: libssl1.1-1.1.1d-alt1.1 p9+237853.200.3.1 1569251834 installed <86>Jan 19 12:00:13 groupadd[4216]: group added to /etc/group: name=_keytab, GID=497 <86>Jan 19 12:00:13 groupadd[4216]: group added to /etc/gshadow: name=_keytab <86>Jan 19 12:00:13 groupadd[4216]: new group: name=_keytab, GID=497 <13>Jan 19 12:00:13 rpmi: libkrb5-1.17.1-alt1 p9+242852.100.2.1 1576572639 installed <13>Jan 19 12:00:13 rpmi: glib-networking-2.60.3-alt1 p9+231744.700.2.1 1560118406 installed <13>Jan 19 12:00:13 rpmi: libsoup-2.66.2-alt1 p9+230015.200.2.1 1559209103 installed <13>Jan 19 12:00:13 rpmi: libsoup-gnome-2.66.2-alt1 p9+230015.200.2.1 1559209103 installed <13>Jan 19 12:00:13 rpmi: librest-0.8.1-alt1 1508266400 installed <13>Jan 19 12:00:14 rpmi: libgtk+3-3.24.11-alt1 p9+237353.1200.2.2 1568374786 installed <13>Jan 19 12:00:15 rpmi: libwxGTK3.0-3.0.4-alt5 sisyphus+228213.200.3.1 1556883461 installed <13>Jan 19 12:00:15 rpmi: libwxGTK3.0-media-3.0.4-alt5 sisyphus+228213.200.3.1 1556883461 installed <13>Jan 19 12:00:15 rpmi: compat-libwxGTK3.0-gtk2-devel-3.0.4-alt5 sisyphus+228213.200.3.1 1556883461 installed <13>Jan 19 12:00:15 rpmi: libssl-devel-1.1.1d-alt1.1 p9+237853.200.3.1 1569251834 installed <13>Jan 19 12:00:15 rpmi: gcc-c++-8-alt1 sisyphus+222164.100.1.1 1550685959 installed <13>Jan 19 12:00:15 rpmi: libchm-devel-0.40-alt6 1523453648 installed <13>Jan 19 12:00:15 rpmi: libxmlrpcxx-devel-0.7-alt2.git20100306 1437027747 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/xchm-1.23-alt4.nosrc.rpm Installing xchm-1.23-alt4.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.18957 + 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.18957 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + 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 + readlink -e -- ./configure + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --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 i586-alt-linux-gcc... i586-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking build system type... i586-alt-linux-gnu checking host system type... i586-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 i586-alt-linux-gcc... none checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking how to run the C preprocessor... i586-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... i586-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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib/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 -march=i586 -mtune=generic -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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib/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 -march=i586 -mtune=generic -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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib/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 -march=i586 -mtune=generic -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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 std::auto_ptr' is deprecated [-Wdeprecated-declarations] inline void createCSConvPtr(std::auto_ptr& 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 class auto_ptr; ^~~~~~~~ In file included from chmfile.cpp:38: ./bitfiddle.inl: In function 'wxString translateEncoding(const wxString&, wxFontEncoding)': ./bitfiddle.inl:221:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr 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 class auto_ptr; ^~~~~~~~ In file included from chmfile.cpp:39: ./hhcparser.h: At global scope: ./hhcparser.h:108:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr _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 class auto_ptr; ^~~~~~~~ chmfile.cpp: In member function 'bool CHMFile::GetIndex(CHMListCtrl*)': chmfile.cpp:643:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr 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 class auto_ptr; ^~~~~~~~ chmfile.cpp: In member function 'bool CHMFile::ProcessWLC(uint64_t, uint64_t, uint32_t, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, chmUnitInfo*, chmUnitInfo*, chmUnitInfo*, chmUnitInfo*, chmUnitInfo*, CHMSearchResults*)': chmfile.cpp:1062:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr 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 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib/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 -march=i586 -mtune=generic -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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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(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(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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib/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 -march=i586 -mtune=generic -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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 std::auto_ptr' is deprecated [-Wdeprecated-declarations] inline void createCSConvPtr(std::auto_ptr& 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 class auto_ptr; ^~~~~~~~ In file included from chmapp.cpp:35: ./bitfiddle.inl: In function 'wxString translateEncoding(const wxString&, wxFontEncoding)': ./bitfiddle.inl:221:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr 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 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(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::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::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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib/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 -march=i586 -mtune=generic -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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr _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 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(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(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(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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib/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 -march=i586 -mtune=generic -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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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(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(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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib/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 -march=i586 -mtune=generic -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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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(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(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(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::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::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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib/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 -march=i586 -mtune=generic -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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr _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 class auto_ptr; ^~~~~~~~ chmhtmlwindow.cpp: In member function 'void CHMHtmlWindow::OnSaveLinkAs(wxCommandEvent&)': chmhtmlwindow.cpp:304:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr 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 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(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(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(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(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(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(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(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(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(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(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(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::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::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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib/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 -march=i586 -mtune=generic -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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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(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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib/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 -march=i586 -mtune=generic -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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr _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 class auto_ptr; ^~~~~~~~ chmframe.cpp: In member function 'bool CHMFrame::LoadCHM(const wxString&)': chmframe.cpp:578:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr 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 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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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::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::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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib/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 -march=i586 -mtune=generic -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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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(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(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(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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../art -I/usr/lib/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 -march=i586 -mtune=generic -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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, 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 std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr _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 class auto_ptr; ^~~~~~~~ In file included from hhcparser.cpp:34: ./bitfiddle.inl:191:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] inline void createCSConvPtr(std::auto_ptr& 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 class auto_ptr; ^~~~~~~~ In file included from hhcparser.cpp:34: ./bitfiddle.inl: In function 'wxString translateEncoding(const wxString&, wxFontEncoding)': ./bitfiddle.inl:221:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr 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 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' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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.90644 + 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.85238 + 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.ifXvko 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.hc4qP4 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: /lib/ld-linux.so.2, libXmlRpc.so.0 >= set:lhzsWBYsM2PTOlg4MDoy6g3QE8Vqj9ydKi, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.4), libchm.so.0 >= set:hekOZaynOU7, libgcc_s.so.1(GCC_3.0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.18), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libwx_baseu-3.0.so.0 >= set:phZBIeJkrlRU0RQZydf4KQZfUCFMbGeMGkOp6tgD8koZBFqJszvSUAsjDqZDwkbZuZGIZ69zygloQKZDpshb1eIQdNuzoo7sSUtDwmGViSTF30tFmf7usyjEnHsJLZFU8RFwIuQOgr8ueXXZ18I7PhHAOhi0aLxeJSvXkGB8cZyTfnoQarnCzA9i3TUzp7qhvd3wtg7DVIZglxgB8DaUEZEbsDpTc3wUBmBwDcAlMPoZ6QLZqC3sgtZrjZIygVWGL9Vlsf0cC7ufuP2Ur9WRvk778gx59ZzmdEjxuYgl1TQnAbHg0QzuuSa6jKnCCOb8KR5bE6FLMJ0oeTtWNYpafR3g9L7UvGmb4mrN8W6uh2opI6a6X59iUXZ4jhXMPbioQnKRcrsJHbODZcQRto6E0iGJkIsBFbjog5KDZraE2Y8v581XcO7mkBZqNEXmWjlQOXwI5t5rKZ3G7qwwjTg5oiyz6fSX27xGZ0qT7L9ZBK9wPCfXuT26jWL1, libwx_baseu-3.0.so.0(WXU_3.0), libwx_baseu_net-3.0.so.0 >= set:mlemp3, libwx_baseu_net-3.0.so.0(WXU_3.0), libwx_gtk2u_aui-3.0.so.0 >= set:nhFA0Y2ZoZ72PBFuw5M8FcFCXJgn8A2xsHcewfsKNEaI4s4iwW2pbImgYPFZA2lcK5ZdeXnS0nZvGuahjiBWYWgjiwwFpzSHl0ZCksJ0hPFjK, libwx_gtk2u_aui-3.0.so.0(WXU_3.0), libwx_gtk2u_core-3.0.so.0 >= set:riK255fOhgc5vWMJckTjdQKlRQbQshO2fjlnTSY4ZaAWjqJv7hwLdBjFao8tYZ0dAwYgBUDsq5Ie3wA7VmySJARW51pVmuUkuZq7KMFaQ6vt5ZHZw9SYjVp69tQQrSXY4Y33P0HcdUT8O5LrupihulWXobRubaJMl9BSCA5zI27WufXaeb3wAJZbImDcGiZfn88I2ZxvHXVJJofz2eX5J5sNE65KfZ3ef4jcmxnaKdLVG3PjfDVw5ZD4WvpLaXeWkLEhlr36oZjV5i2nujz2xpB4tZBiZkrpuVkZkA7GpjzI4r7GcpcO5GZ3DfRUDIDOHDB9jvEGNbWzMDRCVJSAP9s37JYR9BzVuwrz5LZvz8UF5ZnFTqSDiU0iPVCBS2ixOfVjq8h4Jrbp3sQfKRZcnLSZcAZ5Og9Je3oHmN7GqsZ7lyGB9xQZqZtR7l9fAwQTdI6KJMeZiBz5ht5knDjPh91HaUZLJS9aZt0Gjb3ACh6US29G5q2iKtFFxdppsMdrwADZxZ1fHimUIsWle4FiHiJMviVi9VB9STSFyWo4kqZhh4isjhirLqoZJyizIJcMXphg8fMs2jiWDyNwElvahEI2Fcg2iDVzcZFaMbA4qPSKacf56CSWRAauLdpZaZKhIU4JCIlLgV1QZtXvFkG7ACP9BNN3tpu6Y5zpjIIZw8lZxkG3EiHuYXwsNPTAepRVr5eQxe3F4vxOmG4OWBhEvpM3m5UkZA87il43HWXMJgWJqerCUBZHkeF94c5E61tX8TBNNiQJ4eZx3CEw2nCKHmZJJDlHhvwzoat1wU5uRo6hJxPN9e62Bw5Bof5GrHOWqKmOZ4IqZ1iVhZ2ZyK4j0mnMbCqV1Za2Y1hNmB4IV1NdFhtVswRV3AyZBOuU1nW9aXvGU82IHpCAJINsBvyQcTzL2gUmROM3PTzyweZz0ZDmKu0b9afKCMS9SMHDAxZ7tRZJCniFZIOtvcjsxsmUcizneQWloh2WcaZ5DmkEvY7QgyTuZqePIDd5ARgQG50JdkXyeHKuZvXPzLB9UnDOfDUtZrZFPqyiiSSrenfBj9ccpXoH5IPbHZeLKh8LiYPKYxZ2gJ1mvsZL35U5mPjsxd58R8zefSNhETZE50jSDbee7DDwJNY1w4Eg6bWz3LgB3u1NgmHbiyL8svILNxwVMsIXJTyyog45BHpdZdWLQkazITf4XH1fmG0JY8ergcw0yxljIZoZ71ZLJEw5GoZH3PVpwQIH2FQx2X8iZ4qTlQob1Ph2uKn6ZvhYfIe3GvP9tZoiIZnAw4PKuPZavrntiwIBhihkkO3RtZEMNeTC86OKhr9WIv3qNcAITFSpuIXcgWZjqXRs6l0M4VJUxma5z40NALRE42sG2gZHuJXJQ0NqlONLInUDFtbfhhPPTxtT5G5Qtbb36EJRx9iUUVQIa, libwx_gtk2u_core-3.0.so.0(WXU_3.0), libwx_gtk2u_html-3.0.so.0 >= set:nhYGXbH5xX2xSzCwtDAVtMbnygbpYhEPDH2u7lftr9OO4XQW0U8qBTkXwZgY9EZuqcjajWPbRoouRzjmr0gLBGcWDU5YyWn87lPkV8Wzbc79onda5TBvG1V8PmWrXT83L3lrnA7HGmX, libwx_gtk2u_html-3.0.so.0(WXU_3.0), 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.UDxFEb 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.aUIY0N find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JWPBrY find-requires: running scripts (debuginfo) Requires: xchm = 1.23-alt4, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libXmlRpc.so.0), debug(libc.so.6), debug(libchm.so.0), debug(libgcc_s.so.1), debug(libstdc++.so.6), debug(libwx_baseu-3.0.so.0), debug(libwx_baseu_net-3.0.so.0), debug(libwx_gtk2u_aui-3.0.so.0), debug(libwx_gtk2u_core-3.0.so.0), debug(libwx_gtk2u_html-3.0.so.0) Wrote: /usr/src/RPM/RPMS/i586/xchm-1.23-alt4.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/xchm-debuginfo-1.23-alt4.i586.rpm 133.60user 9.99system 1:06.87elapsed 214%CPU (0avgtext+0avgdata 327232maxresident)k 0inputs+0outputs (0major+1991113minor)pagefaults 0swaps 151.71user 16.70system 1:34.61elapsed 178%CPU (0avgtext+0avgdata 327232maxresident)k 12504inputs+0outputs (0major+2396317minor)pagefaults 0swaps