<86>Dec 18 08:56:37 userdel[41141]: delete user 'rooter' <86>Dec 18 08:56:37 groupadd[41159]: group added to /etc/group: name=rooter, GID=561 <86>Dec 18 08:56:37 groupadd[41159]: group added to /etc/gshadow: name=rooter <86>Dec 18 08:56:37 groupadd[41159]: new group: name=rooter, GID=561 <86>Dec 18 08:56:37 useradd[41169]: new user: name=rooter, UID=561, GID=561, home=/root, shell=/bin/bash <86>Dec 18 08:56:37 userdel[41190]: delete user 'builder' <86>Dec 18 08:56:37 userdel[41190]: removed group 'builder' owned by 'builder' <86>Dec 18 08:56:37 userdel[41190]: removed shadow group 'builder' owned by 'builder' <86>Dec 18 08:56:37 groupadd[41206]: group added to /etc/group: name=builder, GID=562 <86>Dec 18 08:56:37 groupadd[41206]: group added to /etc/gshadow: name=builder <86>Dec 18 08:56:37 groupadd[41206]: new group: name=builder, GID=562 <86>Dec 18 08:56:37 useradd[41219]: new user: name=builder, UID=562, GID=562, home=/usr/src, shell=/bin/bash <13>Dec 18 08:56:41 rpmi: libjpeg-2:1.5.1-alt1 1498218318 installed <13>Dec 18 08:56:41 rpmi: libpng16-1.6.35-alt1 sisyphus.214397.100 1539159349 installed <13>Dec 18 08:56:41 rpmi: libwayland-client-1.16.0-alt1 1535614871 installed <13>Dec 18 08:56:41 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Dec 18 08:56:41 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Dec 18 08:56:41 rpmi: libwayland-egl-4:18.1.0-alt1 1535614871 installed <13>Dec 18 08:56:41 rpmi: libtiff5-4.0.3-alt1 1348347501 installed <13>Dec 18 08:56:41 rpmi: libsqlite3-3.25.2-alt2 sisyphus.215082.100 1539700318 installed <13>Dec 18 08:56:41 rpmi: perl-XML-NamespaceSupport-1.12-alt1 1491296348 installed <13>Dec 18 08:56:41 rpmi: libwayland-server-1.16.0-alt1 1535614871 installed <13>Dec 18 08:56:42 rpmi: libicu63-1:6.3.1-alt1 sisyphus.215328.100 1540049988 installed <13>Dec 18 08:56:42 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Dec 18 08:56:42 rpmi: libp11-kit-0.23.9-alt5 1525798298 installed <13>Dec 18 08:56:42 rpmi: libmspack-0.6-alt1 1530626814 installed <13>Dec 18 08:56:42 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus.215491.100 1540428597 installed <13>Dec 18 08:56:42 rpmi: libidn2-2.0.5-alt1 1526923875 installed <13>Dec 18 08:56:42 rpmi: libnettle6-3.4.1-alt1 sisyphus.217427.100 1544107917 installed <13>Dec 18 08:56:42 rpmi: libgudev-1:232-alt3 1523738518 installed <13>Dec 18 08:56:42 rpmi: liblcms2-2.9-alt1 1516411892 installed <13>Dec 18 08:56:42 rpmi: perl-LWP-MediaTypes-6.02-alt1 1329754558 installed <13>Dec 18 08:56:42 rpmi: perl-Compress-Raw-Zlib-2.081-alt1 1523236573 installed <13>Dec 18 08:56:42 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Dec 18 08:56:42 rpmi: perl-XML-SAX-Base-1.09-alt1 1494364363 installed <13>Dec 18 08:56:42 rpmi: libglvnd-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Dec 18 08:56:42 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Dec 18 08:56:42 rpmi: libSM-1.2.3-alt1 sisyphus.215747.100 1540812795 installed <13>Dec 18 08:56:42 rpmi: libhogweed4-3.4.1-alt1 sisyphus.217427.100 1544107917 installed <13>Dec 18 08:56:42 rpmi: libgnutls30-3.6.5-alt1 sisyphus.217427.200 1544108704 installed <13>Dec 18 08:56:42 rpmi: libbrotlidec-1.0.7-alt1 sisyphus.215491.100 1540428597 installed <13>Dec 18 08:56:42 rpmi: libbrotlienc-1.0.7-alt1 sisyphus.215491.100 1540428597 installed <13>Dec 18 08:56:42 rpmi: libwoff2-1.0.2-alt2 1516265772 installed <13>Dec 18 08:56:42 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Dec 18 08:56:42 rpmi: libwayland-cursor-1.16.0-alt1 1535614871 installed <13>Dec 18 08:56:42 rpmi: libjasper-2.0.14-alt1 1530105217 installed <13>Dec 18 08:56:42 rpmi: libxmlrpcxx-0.7-alt2.git20100306 1437027747 installed <13>Dec 18 08:56:42 rpmi: libchm-0.40-alt6 1523453648 installed <13>Dec 18 08:56:42 rpmi: gcc-c++-common-1.4.22-alt1 1519183788 installed <13>Dec 18 08:56:42 rpmi: libstdc++8-devel-8.2.1-alt1 sisyphus.214000.20 1542662379 installed <13>Dec 18 08:56:43 rpmi: gcc8-c++-8.2.1-alt1 sisyphus.214000.20 1542662379 installed <13>Dec 18 08:56:43 rpmi: update-alternatives-1.8.3-alt1 1052491770 installed <13>Dec 18 08:56:43 rpmi: wxGTK3.0-i18n-3.0.4-alt3 1533831790 installed <13>Dec 18 08:56:43 rpmi: libwebp7-1.0.1-alt1 sisyphus.216740.100 1542890911 installed <13>Dec 18 08:56:43 rpmi: libhyphen-2.8.8-alt1 1433702533 installed <13>Dec 18 08:56:43 rpmi: liborc-0.4.28-alt1 1511201506 installed <13>Dec 18 08:56:43 rpmi: libgtk+2-locales-2.24.32-alt2 1518699309 installed <13>Dec 18 08:56:43 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Dec 18 08:56:43 rpmi: libxkbcommon-0.8.2-alt1 1533800181 installed <13>Dec 18 08:56:43 rpmi: publicsuffix-list-dafsa-20181106-alt1 sisyphus.216228.100 1541611754 installed <13>Dec 18 08:56:43 rpmi: libpsl-0.20.2-alt2 sisyphus.216228.200 1541611889 installed <13>Dec 18 08:56:43 rpmi: libproxy-0.4.15-alt2 sisyphus.214008.100 1538585336 installed <13>Dec 18 08:56:43 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed <13>Dec 18 08:56:43 rpmi: libthai-0.1.28-alt1_1 sisyphus.214516.100 1539257851 installed <13>Dec 18 08:56:43 rpmi: libfribidi-1.0.5-alt1 1532424345 installed <13>Dec 18 08:56:43 rpmi: libepoxy-1.5.3-alt1 sisyphus.214119.100 1538723829 installed <13>Dec 18 08:56:43 rpmi: libverto-0.3.0-alt1_5 1525957714 installed <13>Dec 18 08:56:43 rpmi: libkeyutils-1.6-alt2 sisyphus.217337.100 1544003161 installed <13>Dec 18 08:56:43 rpmi: libcom_err-1.44.3-alt1 1532134732 installed <13>Dec 18 08:56:43 rpmi: udev-rules-1:239-alt3 sisyphus.215710.300 1540765573 installed <13>Dec 18 08:56:43 rpmi: libusb-1.0.22-alt1 1525452055 installed <13>Dec 18 08:56:43 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Dec 18 08:56:43 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Dec 18 08:56:43 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed <13>Dec 18 08:56:43 rpmi: perl-Compress-Raw-Bzip2-2.081-alt1 1523236188 installed <13>Dec 18 08:56:43 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Dec 18 08:56:43 rpmi: perl-Term-ANSIColor-4.06-alt1 1479407083 installed <13>Dec 18 08:56:43 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Dec 18 08:56:44 rpmi: perl-Filter-1.59-alt1 1533737242 installed <13>Dec 18 08:56:44 rpmi: perl-Encode-2.98-alt1 1525447819 installed <13>Dec 18 08:56:44 rpmi: perl-URI-1.74-alt1 1525446424 installed <13>Dec 18 08:56:44 rpmi: perl-IO-Compress-2.081-alt1 1523237108 installed <13>Dec 18 08:56:44 rpmi: perl-Net-HTTP-6.18-alt1 1526560501 installed <13>Dec 18 08:56:44 rpmi: perl-HTML-Parser-3.72-alt1.1.1 1513340808 installed <13>Dec 18 08:56:44 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Dec 18 08:56:44 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Dec 18 08:56:44 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Dec 18 08:56:44 rpmi: perl-HTTP-Message-6.18-alt1 1528288416 installed <13>Dec 18 08:56:44 rpmi: perl-HTTP-Cookies-6.04-alt1 1504116575 installed <13>Dec 18 08:56:44 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Dec 18 08:56:44 rpmi: perl-libwww-6.36-alt1 sisyphus.215515.100 1540400896 installed <13>Dec 18 08:56:44 rpmi: perl-XML-LibXML-2.0132-alt1 1513701183 installed <13>Dec 18 08:56:44 rpmi: perl-XML-SAX-1.00-alt1 1519094959 installed <13>Dec 18 08:56:44 rpmi: perl-XML-Simple-2.25-alt1 1521437714 installed <13>Dec 18 08:56:44 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Dec 18 08:56:45 rpmi: icon-theme-adwaita-3.30.1-alt1 sisyphus.216736.100 1542889653 installed <13>Dec 18 08:56:45 rpmi: libgdk-pixbuf-locales-2.38.0-alt2 sisyphus.213523.100 1537685512 installed <13>Dec 18 08:56:45 rpmi: libhunspell-1.7.0-alt1 sisyphus.216944.100 1543319096 installed <13>Dec 18 08:56:45 rpmi: libaspell-0.60.6.1-alt3 1534002619 installed <13>Dec 18 08:56:45 rpmi: libenchant2-2.2.3-alt2 sisyphus.212851.200 1538554923 installed <13>Dec 18 08:56:45 rpmi: libpixman-3:0.34.0-alt1 1480491657 installed <13>Dec 18 08:56:45 rpmi: libgraphite2-1.3.12-alt2.1 sisyphus.215942.100 1540990757 installed <13>Dec 18 08:56:45 rpmi: libharfbuzz-2.1.3-alt1 sisyphus.216837.100 1543085735 installed <13>Dec 18 08:56:45 rpmi: libfreetype-2.9.1-alt1.S1 1530781053 installed <13>Dec 18 08:56:45 rpmi: fontconfig-2.13.1-alt1 sisyphus.215917.100 1540973886 installed Updating fonts cache: <29>Dec 18 08:56:46 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Dec 18 08:56:46 rpmi: libharfbuzz-icu-2.1.3-alt1 sisyphus.216837.100 1543085735 installed <13>Dec 18 08:56:46 rpmi: libxshmfence-1.2-alt2 1518613552 installed <13>Dec 18 08:56:46 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>Dec 18 08:56:46 rpmi: libdrm-1:2.4.96-alt1 sisyphus.215486.100 1540374027 installed <13>Dec 18 08:56:46 rpmi: libgbm-4:18.3.1-alt1 sisyphus.217710.100 1544601480 installed <13>Dec 18 08:56:46 rpmi: libSDL2-2.0.9-alt1 sisyphus.216057.100 1541183831 installed <13>Dec 18 08:56:46 rpmi: libatk-locales-2.30.0-alt1 sisyphus.212779.100 1536768328 installed <13>Dec 18 08:56:46 rpmi: libatk-2.30.0-alt1 sisyphus.212779.100 1536768334 installed <13>Dec 18 08:56:46 rpmi: shared-mime-info-1.10-alt1.1 1530525599 installed <13>Dec 18 08:56:46 rpmi: gsettings-desktop-schemas-data-3.28.1-alt1 sisyphus.212587.100 1536082062 installed <13>Dec 18 08:56:46 rpmi: libgio-2.58.1-alt3 sisyphus.214034.100 1538601697 installed <13>Dec 18 08:56:46 rpmi: gsettings-desktop-schemas-3.28.1-alt1 sisyphus.212587.100 1536082066 installed <13>Dec 18 08:56:46 rpmi: libgdk-pixbuf-2.38.0-alt2 sisyphus.213523.100 1537685557 installed <13>Dec 18 08:56:46 rpmi: libgstreamer1.0-1.14.4-alt1 sisyphus.214120.2200 1538778557 installed <13>Dec 18 08:56:46 rpmi: libnotify-0.7.7-alt1.2 1525614802 installed <13>Dec 18 08:56:46 rpmi: gtk-update-icon-cache-3.24.1-alt1 sisyphus.213271.100 1537346078 installed <13>Dec 18 08:56:46 rpmi: libgusb-0.3.0-alt1 1518891735 installed <13>Dec 18 08:56:46 rpmi: libcolord-1.4.3-alt1 1524052018 installed <13>Dec 18 08:56:47 rpmi: libjavascriptcoregtk4-2.22.4-alt1 sisyphus.216756.100 1542926691 installed <13>Dec 18 08:56:47 rpmi: libdconf-0.30.1-alt1 sisyphus.215477.100 1540419162 installed <13>Dec 18 08:56:47 rpmi: libjson-glib-1.4.4-alt1 sisyphus.213175.100 1537249589 installed <13>Dec 18 08:56:47 rpmi: liblz4-1:1.8.3-alt1 sisyphus.213737.100 1538009686 installed <13>Dec 18 08:56:47 rpmi: libgpg-error-1.31-alt1.S1 1529015802 installed <13>Dec 18 08:56:47 rpmi: libgcrypt20-1.8.3-alt3 sisyphus.214019.140 1538990448 installed <13>Dec 18 08:56:47 rpmi: libsystemd-1:239-alt3 sisyphus.215710.300 1540765641 installed <13>Dec 18 08:56:47 rpmi: libdbus-1.12.12-alt1 sisyphus.217336.100 1544000923 installed <13>Dec 18 08:56:47 rpmi: dbus-tools-1.12.12-alt1 sisyphus.217336.100 1544000923 installed <86>Dec 18 08:56:47 groupadd[72264]: group added to /etc/group: name=messagebus, GID=499 <86>Dec 18 08:56:47 groupadd[72264]: group added to /etc/gshadow: name=messagebus <86>Dec 18 08:56:47 groupadd[72264]: new group: name=messagebus, GID=499 <86>Dec 18 08:56:47 useradd[72277]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null <13>Dec 18 08:56:47 rpmi: dbus-1.12.12-alt1 sisyphus.217336.100 1544000923 installed <13>Dec 18 08:56:47 rpmi: dconf-0.30.1-alt1 sisyphus.215477.100 1540419162 installed <13>Dec 18 08:56:47 rpmi: libgtk+3-schemas-3.24.1-alt1 sisyphus.213271.100 1537346040 installed <13>Dec 18 08:56:47 rpmi: libavahi-0.6.32-alt1 1500485702 installed <13>Dec 18 08:56:47 rpmi: libpolkit-0.115-alt4 sisyphus.217425.100 1544107356 installed <86>Dec 18 08:56:47 groupadd[72549]: group added to /etc/group: name=colord, GID=498 <86>Dec 18 08:56:47 groupadd[72549]: group added to /etc/gshadow: name=colord <86>Dec 18 08:56:47 groupadd[72549]: new group: name=colord, GID=498 <86>Dec 18 08:56:47 useradd[72560]: new user: name=colord, UID=498, GID=498, home=/var/colord, shell=/dev/null <13>Dec 18 08:56:47 rpmi: colord-1.4.3-alt1 1524052018 installed <13>Dec 18 08:56:47 rpmi: libsecret-0.18.6-alt1 1522339211 installed <13>Dec 18 08:56:47 rpmi: libxslt-1.1.32-alt2 1517429984 installed <13>Dec 18 08:56:47 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Dec 18 08:56:47 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed <13>Dec 18 08:56:47 rpmi: libXau-1.0.8-alt1 1369565808 installed <13>Dec 18 08:56:47 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Dec 18 08:56:47 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Dec 18 08:56:47 rpmi: libXext-1.3.3-alt1 1409902959 installed <13>Dec 18 08:56:47 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Dec 18 08:56:47 rpmi: libXdamage-1.1.3-alt4 1297162593 installed <13>Dec 18 08:56:47 rpmi: libXfixes-5.0.3-alt1 sisyphus.216396.300 1542022162 installed <13>Dec 18 08:56:47 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Dec 18 08:56:47 rpmi: libXcomposite-0.4.3-alt3 1297306936 installed <13>Dec 18 08:56:47 rpmi: libGLX-mesa-4:18.3.1-alt1 sisyphus.217710.100 1544601480 installed <13>Dec 18 08:56:47 rpmi: libXcursor-1.1.15-alt1.S1 1512373366 installed <13>Dec 18 08:56:47 rpmi: libXrandr-1.5.0-alt1 1431936189 installed <13>Dec 18 08:56:47 rpmi: libXi-1.7.9-alt1.S1 1515755342 installed <13>Dec 18 08:56:47 rpmi: libXinerama-1.1.3-alt2 1527671619 installed <13>Dec 18 08:56:47 rpmi: libat-spi2-core-2.30.0-alt1 sisyphus.212651.600 1536647587 installed <13>Dec 18 08:56:47 rpmi: libEGL-mesa-4:18.3.1-alt1 sisyphus.217710.100 1544601480 installed <13>Dec 18 08:56:47 rpmi: libEGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Dec 18 08:56:47 rpmi: libGLX-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Dec 18 08:56:47 rpmi: libGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Dec 18 08:56:47 rpmi: libcairo-1:1.16.0-alt1 sisyphus.215566.100 1540457683 installed <13>Dec 18 08:56:47 rpmi: libgst-plugins1.0-1.14.4-alt3 sisyphus.216849.100 1543144442 installed <13>Dec 18 08:56:47 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus.215566.100 1540457683 installed <13>Dec 18 08:56:47 rpmi: libXft-2.3.2-alt1 1409902660 installed <13>Dec 18 08:56:47 rpmi: libpango-1.42.4-alt1 1534787259 installed <13>Dec 18 08:56:47 rpmi: libXtst-1.2.2-alt1 1369984893 installed <13>Dec 18 08:56:47 rpmi: dbus-tools-gui-1.12.12-alt1 sisyphus.217336.100 1544000923 installed <13>Dec 18 08:56:47 rpmi: at-spi2-core-2.30.0-alt1 sisyphus.212651.600 1536647587 installed <13>Dec 18 08:56:47 rpmi: at-spi2-atk-2.30.0-alt2 sisyphus.213822.100 1538377854 installed <13>Dec 18 08:56:47 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed <13>Dec 18 08:56:47 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed <13>Dec 18 08:56:47 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed <13>Dec 18 08:56:47 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Dec 18 08:56:47 rpmi: p11-kit-trust-0.23.9-alt5 1525798298 installed <13>Dec 18 08:56:48 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Dec 18 08:56:48 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <86>Dec 18 08:56:48 groupadd[74083]: group added to /etc/group: name=_keytab, GID=497 <86>Dec 18 08:56:48 groupadd[74083]: group added to /etc/gshadow: name=_keytab <86>Dec 18 08:56:48 groupadd[74083]: new group: name=_keytab, GID=497 <13>Dec 18 08:56:48 rpmi: libkrb5-1.16.2-alt2 sisyphus.216877.200 1543483297 installed <13>Dec 18 08:56:48 rpmi: libcups-2.2.6-alt1 1510070343 installed <13>Dec 18 08:56:48 rpmi: libgtk+2-2.24.32-alt2 1518699309 installed <13>Dec 18 08:56:48 rpmi: glib-networking-2.58.0-alt1 sisyphus.212651.1500 1536648953 installed <13>Dec 18 08:56:48 rpmi: libsoup-2.64.2-alt1 sisyphus.215425.140 1540400356 installed <13>Dec 18 08:56:48 rpmi: libsoup-gnome-2.64.2-alt1 sisyphus.215425.140 1540400356 installed <13>Dec 18 08:56:48 rpmi: librest-0.8.1-alt1 1508266400 installed <13>Dec 18 08:56:49 rpmi: libgtk+3-3.24.1-alt1 sisyphus.213271.100 1537346078 installed <13>Dec 18 08:56:51 rpmi: libwebkit2gtk-2.22.4-alt1 sisyphus.216756.100 1542926691 installed <13>Dec 18 08:56:51 rpmi: libwxBase3.0-3.0.4-alt3 1533831807 installed <13>Dec 18 08:56:51 rpmi: compat-libwxGTK3.0-gtk2-3.0.4-alt3 1533831807 installed <13>Dec 18 08:56:51 rpmi: compat-libwxGTK3.0-gtk2-gl-3.0.4-alt3 1533831807 installed <13>Dec 18 08:56:51 rpmi: compat-libwxGTK3.0-gtk2-media-3.0.4-alt3 1533831807 installed <13>Dec 18 08:56:52 rpmi: libwxGTK3.0-3.0.4-alt3 1533831807 installed <13>Dec 18 08:56:52 rpmi: libwxGTK3.0-media-3.0.4-alt3 1533831807 installed <13>Dec 18 08:56:52 rpmi: libwxBase3.0-devel-3.0.4-alt3 1533831807 installed <13>Dec 18 08:56:52 rpmi: compat-libwxGTK3.0-gtk2-devel-3.0.4-alt3 1533831807 installed <13>Dec 18 08:56:52 rpmi: libssl-devel-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Dec 18 08:56:52 rpmi: gcc-c++-8-alt1 sisyphus.214000.40 1542664775 installed <13>Dec 18 08:56:52 rpmi: libchm-devel-0.40-alt6 1523453648 installed <13>Dec 18 08:56:52 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.52183 + 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.52183 + 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 + readlink -e -- ./configure + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./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 --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 for style of include used by make... GNU 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 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 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 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 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 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 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 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 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 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 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 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 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.35829 + 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.26880 + 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.NNBFcU 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.TjvXtU 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.gJ8gYZ 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.ahX2yr find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Brp129 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 71.88user 4.07system 0:36.39elapsed 208%CPU (0avgtext+0avgdata 326212maxresident)k 0inputs+0outputs (0major+1994849minor)pagefaults 0swaps 91.83user 7.89system 1:03.10elapsed 158%CPU (0avgtext+0avgdata 326212maxresident)k 9976inputs+0outputs (0major+2505603minor)pagefaults 0swaps