<86>Jan 9 11:20:33 userdel[44234]: delete user 'rooter' <86>Jan 9 11:20:33 userdel[44234]: removed group 'rooter' owned by 'rooter' <86>Jan 9 11:20:33 userdel[44234]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 9 11:20:33 groupadd[44288]: group added to /etc/group: name=rooter, GID=603 <86>Jan 9 11:20:33 groupadd[44288]: group added to /etc/gshadow: name=rooter <86>Jan 9 11:20:33 groupadd[44288]: new group: name=rooter, GID=603 <86>Jan 9 11:20:33 useradd[44401]: new user: name=rooter, UID=603, GID=603, home=/root, shell=/bin/bash <86>Jan 9 11:20:33 userdel[44504]: delete user 'builder' <86>Jan 9 11:20:33 userdel[44504]: removed group 'builder' owned by 'builder' <86>Jan 9 11:20:33 userdel[44504]: removed shadow group 'builder' owned by 'builder' <86>Jan 9 11:20:33 groupadd[44578]: group added to /etc/group: name=builder, GID=604 <86>Jan 9 11:20:33 groupadd[44578]: group added to /etc/gshadow: name=builder <86>Jan 9 11:20:33 groupadd[44578]: new group: name=builder, GID=604 <86>Jan 9 11:20:33 useradd[44617]: new user: name=builder, UID=604, GID=604, home=/usr/src, shell=/bin/bash warning: user aris does not exist - using root warning: group aris does not exist - using root warning: user aris does not exist - using root warning: group aris does not exist - using root <13>Jan 9 11:20:39 rpmi: libboost_system1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:39 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Jan 9 11:20:39 rpmi: libwayland-client-1.16.0-alt1 1535614871 installed <13>Jan 9 11:20:40 rpmi: libicu63-1:6.3.1-alt1 sisyphus.215328.100 1540049988 installed <13>Jan 9 11:20:40 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Jan 9 11:20:40 rpmi: libjpeg-2:1.5.1-alt1 1498218318 installed <13>Jan 9 11:20:40 rpmi: libpng16-1.6.35-alt1 sisyphus.214397.100 1539159349 installed <13>Jan 9 11:20:40 rpmi: libglvnd-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Jan 9 11:20:40 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Jan 9 11:20:40 rpmi: libwayland-egl-4:18.1.0-alt1 1535614871 installed <13>Jan 9 11:20:40 rpmi: libboost_thread1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:40 rpmi: vapi-common-0.42.4-alt1 sisyphus.218242.100 1545329275 installed <13>Jan 9 11:20:40 rpmi: libsqlite3-3.25.2-alt2 sisyphus.215082.100 1539700318 installed <13>Jan 9 11:20:40 rpmi: libwayland-server-1.16.0-alt1 1535614871 installed <13>Jan 9 11:20:40 rpmi: perl-XML-NamespaceSupport-1.12-alt1 1491296348 installed <13>Jan 9 11:20:40 rpmi: libnettle6-3.4.1-alt1 sisyphus.217427.100 1544107917 installed <13>Jan 9 11:20:40 rpmi: libopenblas-0.2.20-alt1 1527005646 installed <13>Jan 9 11:20:40 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Jan 9 11:20:40 rpmi: libp11-kit-0.23.9-alt5 1525798298 installed <13>Jan 9 11:20:40 rpmi: libtiff5-4.0.3-alt1 1348347501 installed <13>Jan 9 11:20:40 rpmi: libboost_regex1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:40 rpmi: libboost_filesystem1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:40 rpmi: libgudev-1:232-alt3 1523738518 installed <13>Jan 9 11:20:40 rpmi: liblcms2-2.9-alt1 1516411892 installed <13>Jan 9 11:20:40 rpmi: zlib-devel-1.2.11-alt1 sisyphus.217171.100 1543710737 installed <13>Jan 9 11:20:40 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus.215491.100 1540428597 installed <13>Jan 9 11:20:40 rpmi: perl-LWP-MediaTypes-6.02-alt1 1329754558 installed <13>Jan 9 11:20:40 rpmi: perl-Compress-Raw-Zlib-2.083-alt1 sisyphus.218843.100 1546249306 installed <13>Jan 9 11:20:40 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Jan 9 11:20:40 rpmi: perl-XML-SAX-Base-1.09-alt1 1494364363 installed <13>Jan 9 11:20:40 rpmi: libidn2-2.0.5-alt1 1526923875 installed <13>Jan 9 11:20:40 rpmi: libgraphite2-1.3.13-alt1 sisyphus.218545.100 1545686511 installed <13>Jan 9 11:20:41 rpmi: libharfbuzz-2.2.0-alt1 sisyphus.218134.500 1545261518 installed <13>Jan 9 11:20:41 rpmi: libfreetype-2.9.1-alt1.S1 1530781053 installed <13>Jan 9 11:20:41 rpmi: fontconfig-2.13.1-alt1 sisyphus.215917.100 1540973886 installed Updating fonts cache: <29>Jan 9 11:20:42 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Jan 9 11:20:42 rpmi: libharfbuzz-icu-2.2.0-alt1 sisyphus.218134.500 1545261518 installed <13>Jan 9 11:20:42 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 9 11:20:42 rpmi: libboost_iostreams1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:42 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Jan 9 11:20:42 rpmi: libSM-1.2.3-alt1 sisyphus.215747.100 1540812795 installed <13>Jan 9 11:20:42 rpmi: libXau-1.0.8-alt1 1369565808 installed <13>Jan 9 11:20:42 rpmi: libXau-devel-1.0.8-alt1 1369565808 installed <13>Jan 9 11:20:42 rpmi: liblucene++-3.0.7-alt5 1527881695 installed <13>Jan 9 11:20:42 rpmi: libgraphite2-devel-1.3.13-alt1 sisyphus.218545.100 1545686511 installed <13>Jan 9 11:20:42 rpmi: libbrotlidec-1.0.7-alt1 sisyphus.215491.100 1540428597 installed <13>Jan 9 11:20:42 rpmi: libbrotlienc-1.0.7-alt1 sisyphus.215491.100 1540428597 installed <13>Jan 9 11:20:42 rpmi: libwoff2-1.0.2-alt2 1516265772 installed <13>Jan 9 11:20:42 rpmi: libboost_graph1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:42 rpmi: libhogweed4-3.4.1-alt1 sisyphus.217427.100 1544107917 installed <13>Jan 9 11:20:42 rpmi: libgnutls30-3.6.5-alt3 sisyphus.217574.300 1545778651 installed <13>Jan 9 11:20:43 rpmi: libarchive13-3.3.1-alt1.S1 1488799507 installed <13>Jan 9 11:20:43 rpmi: libboost_type_erasure1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:43 rpmi: libboost_locale1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:43 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Jan 9 11:20:43 rpmi: libOpenGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Jan 9 11:20:43 rpmi: libGLES-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Jan 9 11:20:43 rpmi: libjasper-2.0.14-alt1 1530105217 installed <13>Jan 9 11:20:43 rpmi: icu-utils-1:6.3.1-alt1 sisyphus.215328.100 1540049988 installed <13>Jan 9 11:20:43 rpmi: libicu-devel-1:6.3.1-alt1 sisyphus.215328.100 1540049988 installed <13>Jan 9 11:20:43 rpmi: libwayland-cursor-1.16.0-alt1 1535614871 installed <13>Jan 9 11:20:43 rpmi: wayland-devel-1.16.0-alt1 1535614871 installed <13>Jan 9 11:20:43 rpmi: libwayland-client-devel-1.16.0-alt1 1535614871 installed <13>Jan 9 11:20:43 rpmi: libboost_atomic1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:43 rpmi: libboost_contract1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:43 rpmi: libboost_random1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:43 rpmi: libboost_chrono1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:43 rpmi: libboost_timer1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:43 rpmi: libwebp7-1.0.1-alt1 sisyphus.216740.100 1542890911 installed <13>Jan 9 11:20:43 rpmi: libpugixml-1.9-alt1 1522906693 installed <13>Jan 9 11:20:43 rpmi: libmspack-0.6-alt1 1530626814 installed <13>Jan 9 11:20:43 rpmi: libhyphen-2.8.8-alt1 1433702533 installed <13>Jan 9 11:20:43 rpmi: rpm-build-vala-0.3-alt1 1332324961 installed <13>Jan 9 11:20:43 rpmi: vala-0.42.4-alt1 sisyphus.218242.100 1545329393 installed <13>Jan 9 11:20:43 rpmi: libxkbcommon-0.8.2-alt1 1533800181 installed <13>Jan 9 11:20:43 rpmi: udev-rules-1:240-alt2 sisyphus.218943.100 1546556153 installed <13>Jan 9 11:20:44 rpmi: libgtk+2-locales-2.24.32-alt2 1518699309 installed <13>Jan 9 11:20:44 rpmi: liborc-0.4.28-alt1 1511201506 installed <13>Jan 9 11:20:44 rpmi: libfribidi-1.0.5-alt1 1532424345 installed <13>Jan 9 11:20:44 rpmi: libepoxy-1.5.3-alt1 sisyphus.214119.100 1538723829 installed <13>Jan 9 11:20:44 rpmi: libhunspell-1.7.0-alt1 sisyphus.216944.100 1543319096 installed <13>Jan 9 11:20:44 rpmi: libdb4.7_int-4.7.25-alt9 1490438479 installed <13>Jan 9 11:20:44 rpmi: libdb4.7_cxx-4.7.25-alt9 1490438479 installed <13>Jan 9 11:20:44 rpmi: libdb4.7-devel-4.7.25-alt9 1490438479 installed <13>Jan 9 11:20:44 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed <13>Jan 9 11:20:44 rpmi: libthai-0.1.28-alt1_1 sisyphus.214516.100 1539257851 installed <13>Jan 9 11:20:44 rpmi: libusb-1.0.22-alt1 1525452055 installed <13>Jan 9 11:20:44 rpmi: libpng15-1.5.28-alt2 1497966749 installed <13>Jan 9 11:20:44 rpmi: libpng15-devel-1.5.28-alt2 1497966749 installed <13>Jan 9 11:20:44 rpmi: libpixman-3:0.34.0-alt1 1480491657 installed <13>Jan 9 11:20:44 rpmi: libaspell-0.60.6.1-alt3 1534002619 installed <13>Jan 9 11:20:44 rpmi: libenchant2-2.2.3-alt2 sisyphus.212851.200 1538554923 installed <13>Jan 9 11:20:44 rpmi: libyaml2-0.2.1-alt1 sisyphus.214707.100 1539464411 installed <13>Jan 9 11:20:44 rpmi: libstemmer-0-alt1.svn585 1428058060 installed <13>Jan 9 11:20:44 rpmi: publicsuffix-list-dafsa-20181106-alt1 sisyphus.216228.100 1541611754 installed <13>Jan 9 11:20:44 rpmi: libpsl-0.20.2-alt2 sisyphus.216228.200 1541611889 installed <13>Jan 9 11:20:44 rpmi: libSDL2-2.0.9-alt1 sisyphus.216057.100 1541183831 installed <13>Jan 9 11:20:44 rpmi: libxshmfence-1.2-alt2 1518613552 installed <13>Jan 9 11:20:44 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>Jan 9 11:20:44 rpmi: libdrm-1:2.4.96-alt1 sisyphus.215486.100 1540374027 installed <13>Jan 9 11:20:44 rpmi: libgbm-4:18.3.1-alt1 sisyphus.218704.100 1545992861 installed <13>Jan 9 11:20:44 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Jan 9 11:20:44 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Jan 9 11:20:44 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed <13>Jan 9 11:20:44 rpmi: perl-Compress-Raw-Bzip2-2.083-alt1 sisyphus.218842.100 1546248695 installed <13>Jan 9 11:20:44 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Jan 9 11:20:44 rpmi: perl-Term-ANSIColor-4.06-alt1 1479407083 installed <13>Jan 9 11:20:44 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Jan 9 11:20:44 rpmi: perl-Filter-1.59-alt1 1533737242 installed <13>Jan 9 11:20:44 rpmi: perl-Encode-2.98-alt1 1525447819 installed <13>Jan 9 11:20:44 rpmi: perl-URI-1.74-alt1 1525446424 installed <13>Jan 9 11:20:44 rpmi: perl-IO-Compress-2.083-alt1 sisyphus.218844.100 1546249771 installed <13>Jan 9 11:20:44 rpmi: perl-Net-HTTP-6.18-alt1 1526560501 installed <13>Jan 9 11:20:44 rpmi: perl-HTML-Parser-3.72-alt1.1.1 1513340808 installed <13>Jan 9 11:20:44 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Jan 9 11:20:44 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Jan 9 11:20:44 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Jan 9 11:20:44 rpmi: perl-HTTP-Message-6.18-alt1 1528288416 installed <13>Jan 9 11:20:44 rpmi: perl-HTTP-Cookies-6.04-alt1 1504116575 installed <13>Jan 9 11:20:44 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Jan 9 11:20:44 rpmi: perl-libwww-6.36-alt1 sisyphus.215515.100 1540400896 installed <13>Jan 9 11:20:44 rpmi: perl-XML-LibXML-2.0132-alt1 1513701183 installed <13>Jan 9 11:20:44 rpmi: perl-XML-SAX-1.00-alt1 1519094959 installed <13>Jan 9 11:20:44 rpmi: perl-XML-Simple-2.25-alt1 1521437714 installed <13>Jan 9 11:20:44 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Jan 9 11:20:45 rpmi: icon-theme-adwaita-3.30.1-alt1 sisyphus.216736.100 1542889653 installed <13>Jan 9 11:20:46 rpmi: libgdk-pixbuf-locales-2.38.0-alt2 sisyphus.213523.100 1537685512 installed <13>Jan 9 11:20:46 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Jan 9 11:20:46 rpmi: libproxy-0.4.15-alt2 sisyphus.214008.100 1538585336 installed <13>Jan 9 11:20:46 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus.218115.200 1545282875 installed <13>Jan 9 11:20:46 rpmi: libstdc++8-devel-8.2.1-alt2 sisyphus.218691.100 1545948777 installed <13>Jan 9 11:20:47 rpmi: gcc8-c++-8.2.1-alt2 sisyphus.218691.100 1545948777 installed <13>Jan 9 11:20:47 rpmi: xml-utils-1:2.9.4.0.12.e905-alt1.1 1525115767 installed <13>Jan 9 11:20:47 rpmi: rpm-build-gir-0.7.2-alt4 1534675014 installed <13>Jan 9 11:20:47 rpmi: libboost_context1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:47 rpmi: libboost_fiber1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:47 rpmi: libboost_stacktrace1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:47 rpmi: libnumpy-py3-1:1.15.4-alt1 sisyphus.218638.200 1545948948 installed <13>Jan 9 11:20:47 rpmi: libxblas-1.0.248-alt1.1 1496143682 installed <13>Jan 9 11:20:47 rpmi: libquadmath0-8.2.1-alt2 sisyphus.218691.100 1545948777 installed <13>Jan 9 11:20:47 rpmi: libgfortran4-7.3.1-alt7 sisyphus.214000.100 1542667145 installed <13>Jan 9 11:20:47 rpmi: liblapack-1:3.8.0-alt1 1527158339 installed <13>Jan 9 11:20:47 rpmi: libnumpy-1:1.15.4-alt1 sisyphus.218638.200 1545948948 installed <13>Jan 9 11:20:47 rpmi: python-modules-curses-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 11:20:47 rpmi: libverto-0.3.0-alt1_5 1525957714 installed <13>Jan 9 11:20:47 rpmi: libkeyutils-1.6-alt2 sisyphus.217337.100 1544003161 installed <13>Jan 9 11:20:47 rpmi: libcom_err-1.44.5-alt1 sisyphus.218838.100 1546206118 installed <13>Jan 9 11:20:47 rpmi: libboost_python1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:47 rpmi: libboost_test1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:47 rpmi: libboost_serialization1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:47 rpmi: libboost_date_time1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:47 rpmi: libboost_container1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:47 rpmi: libatk-locales-2.30.0-alt1 sisyphus.212779.100 1536768328 installed <13>Jan 9 11:20:47 rpmi: libatk-2.30.0-alt1 sisyphus.212779.100 1536768334 installed <13>Jan 9 11:20:47 rpmi: shared-mime-info-1.10-alt1.1 1530525599 installed <13>Jan 9 11:20:47 rpmi: gsettings-desktop-schemas-data-3.28.1-alt1 sisyphus.212587.100 1536082062 installed <13>Jan 9 11:20:47 rpmi: libgio-2.58.2-alt1 sisyphus.218134.100 1545260937 installed <13>Jan 9 11:20:47 rpmi: gsettings-desktop-schemas-3.28.1-alt1 sisyphus.212587.100 1536082066 installed <13>Jan 9 11:20:47 rpmi: libgdk-pixbuf-2.38.0-alt2 sisyphus.213523.100 1537685557 installed <13>Jan 9 11:20:47 rpmi: libgstreamer1.0-1.14.4-alt1 sisyphus.214120.2200 1538778557 installed <13>Jan 9 11:20:47 rpmi: gtk-update-icon-cache-3.24.2-alt2 sisyphus.218466.100 1545601989 installed <13>Jan 9 11:20:47 rpmi: libnotify-0.7.7-alt1.2 1525614802 installed <13>Jan 9 11:20:47 rpmi: libgusb-0.3.0-alt1 1518891735 installed <13>Jan 9 11:20:47 rpmi: libcolord-1.4.3-alt1 1524052018 installed <13>Jan 9 11:20:47 rpmi: libdconf-0.30.1-alt1 sisyphus.215477.100 1540419162 installed <13>Jan 9 11:20:47 rpmi: libjson-glib-1.4.4-alt1 sisyphus.213175.100 1537249589 installed <13>Jan 9 11:20:48 rpmi: libjavascriptcoregtk4-2.22.5-alt1 sisyphus.218134.1100 1545264510 installed <13>Jan 9 11:20:48 rpmi: liblz4-1:1.8.3-alt1 sisyphus.213737.100 1538009686 installed <13>Jan 9 11:20:48 rpmi: libgpg-error-1.31-alt1.S1 1529015802 installed <13>Jan 9 11:20:48 rpmi: libgcrypt20-1.8.3-alt4 sisyphus.218050.200 1545223289 installed <13>Jan 9 11:20:48 rpmi: libsystemd-1:240-alt2 sisyphus.218943.100 1546556223 installed <13>Jan 9 11:20:48 rpmi: libdbus-1.12.12-alt1 sisyphus.217336.100 1544000923 installed <13>Jan 9 11:20:48 rpmi: dbus-tools-1.12.12-alt1 sisyphus.217336.100 1544000923 installed <86>Jan 9 11:20:48 groupadd[83929]: group added to /etc/group: name=messagebus, GID=499 <86>Jan 9 11:20:48 groupadd[83929]: group added to /etc/gshadow: name=messagebus <86>Jan 9 11:20:48 groupadd[83929]: new group: name=messagebus, GID=499 <86>Jan 9 11:20:48 useradd[83933]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null <13>Jan 9 11:20:48 rpmi: dbus-1.12.12-alt1 sisyphus.217336.100 1544000923 installed <13>Jan 9 11:20:48 rpmi: libsecret-0.18.7-alt1 sisyphus.218813.200 1546590542 installed <13>Jan 9 11:20:48 rpmi: dconf-0.30.1-alt1 sisyphus.215477.100 1540419162 installed <13>Jan 9 11:20:48 rpmi: libgtk+3-schemas-3.24.2-alt2 sisyphus.218466.100 1545601950 installed <13>Jan 9 11:20:49 rpmi: libavahi-0.6.32-alt1 1500485702 installed <13>Jan 9 11:20:49 rpmi: libpolkit-0.115-alt4 sisyphus.217425.100 1544107356 installed <86>Jan 9 11:20:49 groupadd[84759]: group added to /etc/group: name=colord, GID=498 <86>Jan 9 11:20:49 groupadd[84759]: group added to /etc/gshadow: name=colord <86>Jan 9 11:20:49 groupadd[84759]: new group: name=colord, GID=498 <86>Jan 9 11:20:49 useradd[84774]: new user: name=colord, UID=498, GID=498, home=/var/colord, shell=/dev/null <13>Jan 9 11:20:49 rpmi: colord-1.4.3-alt1 1524052018 installed <13>Jan 9 11:20:49 rpmi: libxslt-1.1.32-alt2 1517429984 installed <13>Jan 9 11:20:49 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Jan 9 11:20:49 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed <13>Jan 9 11:20:49 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Jan 9 11:20:49 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Jan 9 11:20:49 rpmi: libXext-1.3.3-alt1 1409902959 installed <13>Jan 9 11:20:50 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Jan 9 11:20:50 rpmi: libXdamage-1.1.3-alt4 1297162593 installed <13>Jan 9 11:20:50 rpmi: libXfixes-5.0.3-alt1 sisyphus.216396.300 1542022162 installed <13>Jan 9 11:20:50 rpmi: libXcomposite-0.4.3-alt3 1297306936 installed <13>Jan 9 11:20:50 rpmi: libXcursor-1.1.15-alt1.S1 1512373366 installed <13>Jan 9 11:20:50 rpmi: libXft-2.3.2-alt1 1409902660 installed <13>Jan 9 11:20:50 rpmi: libXrandr-1.5.0-alt1 1431936189 installed <13>Jan 9 11:20:50 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Jan 9 11:20:50 rpmi: libGLX-mesa-4:18.3.1-alt1 sisyphus.218704.100 1545992861 installed <13>Jan 9 11:20:50 rpmi: libEGL-mesa-4:18.3.1-alt1 sisyphus.218704.100 1545992861 installed <13>Jan 9 11:20:50 rpmi: libEGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Jan 9 11:20:50 rpmi: libXi-1.7.9-alt1.S1 1515755342 installed <13>Jan 9 11:20:50 rpmi: libXinerama-1.1.3-alt2 1527671619 installed <13>Jan 9 11:20:50 rpmi: libat-spi2-core-2.30.0-alt1 sisyphus.212651.600 1536647587 installed <13>Jan 9 11:20:52 rpmi: libxcb-devel-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Jan 9 11:20:52 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Jan 9 11:20:52 rpmi: libXrender-devel-0.9.8-alt1 1371312112 installed <13>Jan 9 11:20:52 rpmi: libXext-devel-1.3.3-alt1 1409902959 installed <13>Jan 9 11:20:52 rpmi: libGLX-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Jan 9 11:20:52 rpmi: libGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Jan 9 11:20:52 rpmi: libcairo-1:1.16.0-alt1 sisyphus.215566.100 1540457683 installed <13>Jan 9 11:20:52 rpmi: libpango-1.42.4-alt1 1534787259 installed <13>Jan 9 11:20:52 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus.215566.100 1540457683 installed <13>Jan 9 11:20:52 rpmi: libglvnd-devel-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Jan 9 11:20:52 rpmi: libEGL-devel-4:18.3.1-alt1 sisyphus.218704.100 1545992861 installed <13>Jan 9 11:20:53 rpmi: libgst-plugins1.0-1.14.4-alt3 sisyphus.216849.100 1543144442 installed <13>Jan 9 11:20:53 rpmi: libGL-devel-4:18.3.1-alt1 sisyphus.218704.100 1545992861 installed <13>Jan 9 11:20:53 rpmi: libXtst-1.2.2-alt1 1369984893 installed <13>Jan 9 11:20:53 rpmi: dbus-tools-gui-1.12.12-alt1 sisyphus.217336.100 1544000923 installed <13>Jan 9 11:20:53 rpmi: at-spi2-core-2.30.0-alt1 sisyphus.212651.600 1536647587 installed <13>Jan 9 11:20:53 rpmi: at-spi2-atk-2.30.0-alt2 sisyphus.213822.100 1538377854 installed <13>Jan 9 11:20:53 rpmi: libgdk-pixbuf-xlib-2.38.0-alt2 sisyphus.213523.100 1537685557 installed <13>Jan 9 11:20:53 rpmi: rpm-macros-alternatives-0.5.0-alt1 sisyphus.219012.300 1546745004 installed <13>Jan 9 11:20:53 rpmi: alternatives-0.5.0-alt1 sisyphus.219012.300 1546745004 installed <13>Jan 9 11:20:53 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed <13>Jan 9 11:20:53 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Jan 9 11:20:53 rpmi: p11-kit-trust-0.23.9-alt5 1525798298 installed <13>Jan 9 11:20:53 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Jan 9 11:20:53 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Jan 9 11:20:53 rpmi: libpython3-3.6.5-alt1.1 1535734576 installed <13>Jan 9 11:20:53 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jan 9 11:20:53 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jan 9 11:20:53 rpmi: python3-3.6.5-alt1.1 1535734576 installed <13>Jan 9 11:20:53 rpmi: python3-base-3.6.5-alt1.1 1535734576 installed <13>Jan 9 11:20:53 rpmi: glib2-devel-2.58.2-alt1 sisyphus.218134.100 1545260937 installed <13>Jan 9 11:20:54 rpmi: libgio-devel-2.58.2-alt1 sisyphus.218134.100 1545260937 installed <86>Jan 9 11:20:54 groupadd[93273]: group added to /etc/group: name=_keytab, GID=497 <86>Jan 9 11:20:54 groupadd[93273]: group added to /etc/gshadow: name=_keytab <86>Jan 9 11:20:54 groupadd[93273]: new group: name=_keytab, GID=497 <13>Jan 9 11:20:54 rpmi: libkrb5-1.16.2-alt2 sisyphus.216877.200 1543483297 installed <13>Jan 9 11:20:54 rpmi: libcups-2.2.6-alt1 1510070343 installed <13>Jan 9 11:20:54 rpmi: libgdk-pixbuf-devel-2.38.0-alt2 sisyphus.213523.100 1537685557 installed <13>Jan 9 11:20:54 rpmi: python3-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Jan 9 11:20:54 rpmi: python3-module-six-1.11.0-alt2 1535611135 installed <13>Jan 9 11:20:54 rpmi: python3-module-more-itertools-5.0.0-alt1 sisyphus.218699.100 1545980609 installed <13>Jan 9 11:20:54 rpmi: python3-module-nose-1:1.3.7-alt4.git20160316 sisyphus.213223.100 1537286725 installed <13>Jan 9 11:20:54 rpmi: libgtk+2-2.24.32-alt2 1518699309 installed <13>Jan 9 11:20:54 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Jan 9 11:20:55 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jan 9 11:20:55 rpmi: python-modules-compiler-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 11:20:55 rpmi: python-modules-email-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 11:20:55 rpmi: python-modules-unittest-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 11:20:55 rpmi: python-modules-nis-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 11:20:55 rpmi: python-modules-encodings-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 11:20:55 rpmi: python-modules-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 11:20:55 rpmi: python-module-six-1.11.0-alt2 1535611135 installed <13>Jan 9 11:20:55 rpmi: python-modules-xml-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 11:20:55 rpmi: python-modules-ctypes-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 11:20:55 rpmi: python-modules-multiprocessing-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 11:20:55 rpmi: python-modules-logging-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 11:20:55 rpmi: gtk-builder-convert-2.24.32-alt2 1518699309 installed <13>Jan 9 11:20:56 rpmi: python-module-more-itertools-5.0.0-alt1 sisyphus.218699.100 1545980609 installed <13>Jan 9 11:20:56 rpmi: python-modules-hotshot-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 11:20:56 rpmi: python-modules-bsddb-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 11:20:56 rpmi: python-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 11:20:56 rpmi: python-strict-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Jan 9 11:20:56 rpmi: python-module-attrs-18.2.0-alt1 sisyphus.214354.100 1539088435 installed <13>Jan 9 11:20:56 rpmi: python-modules-distutils-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 11:20:56 rpmi: python-module-py-1.7.0-alt1 sisyphus.214414.220 1539670883 installed <13>Jan 9 11:20:56 rpmi: python-module-funcsigs-1.0.2-alt1.1 1517699355 installed <13>Jan 9 11:20:56 rpmi: python-module-scandir-1.9.0-alt1 1535455370 installed <13>Jan 9 11:20:56 rpmi: python-module-pathlib2-2.3.3-alt1 sisyphus.218098.100 1545218863 installed <13>Jan 9 11:20:56 rpmi: python-module-atomicwrites-1.2.1-alt1 sisyphus.214347.100 1539076636 installed <13>Jan 9 11:20:56 rpmi: python-modules-json-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 9 11:20:56 rpmi: python-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Jan 9 11:20:56 rpmi: python-module-pluggy-0.8.0-alt1 sisyphus.215346.100 1540073015 installed <13>Jan 9 11:20:56 rpmi: python-module-pytest-3.10.1-alt1 sisyphus.218100.300 1545832616 installed <13>Jan 9 11:20:56 rpmi: python-module-numpy-1:1.15.4-alt1 sisyphus.218638.200 1545948948 installed <13>Jan 9 11:20:56 rpmi: python-module-numpy-testing-1:1.15.4-alt1 sisyphus.218638.200 1545948948 installed <13>Jan 9 11:20:56 rpmi: libboost_numpy1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:56 rpmi: libharfbuzz-devel-2.2.0-alt1 sisyphus.218134.500 1545261518 installed <13>Jan 9 11:20:57 rpmi: libfreetype-devel-2.9.1-alt1.S1 1530781053 installed <13>Jan 9 11:20:57 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus.215917.100 1540973886 installed <13>Jan 9 11:20:57 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus.215566.100 1540457683 installed <13>Jan 9 11:20:57 rpmi: libcairo-gobject-devel-1:1.16.0-alt1 sisyphus.215566.100 1540457683 installed <13>Jan 9 11:20:57 rpmi: libXft-devel-2.3.2-alt1 1409902660 installed <13>Jan 9 11:20:57 rpmi: libpango-devel-1.42.4-alt1 1534787259 installed <13>Jan 9 11:20:57 rpmi: libatk-devel-2.30.0-alt1 sisyphus.212779.100 1536768334 installed <13>Jan 9 11:20:57 rpmi: libenchant2-devel-2.2.3-alt2 sisyphus.212851.200 1538554923 installed <13>Jan 9 11:20:57 rpmi: python3-module-atomicwrites-1.2.1-alt1 sisyphus.214347.100 1539076636 installed <13>Jan 9 11:20:57 rpmi: python3-module-attrs-18.2.0-alt1 sisyphus.214354.100 1539088435 installed <13>Jan 9 11:20:57 rpmi: python3-module-pluggy-0.8.0-alt1 sisyphus.215346.100 1540073015 installed <13>Jan 9 11:20:57 rpmi: python3-module-py-1.7.0-alt1 sisyphus.214414.220 1539670883 installed <13>Jan 9 11:20:57 rpmi: python3-module-pytest-3.10.1-alt1 sisyphus.218100.300 1545832616 installed <13>Jan 9 11:20:57 rpmi: python3-module-numpy-testing-1:1.15.4-alt1 sisyphus.218638.200 1545948948 installed <13>Jan 9 11:20:58 rpmi: python3-module-numpy-1:1.15.4-alt1 sisyphus.218638.200 1545948948 installed <13>Jan 9 11:20:58 rpmi: libboost_python3-1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:58 rpmi: libboost_numpy3-1.67.0-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:59 rpmi: boost-devel-headers-1:1.67.0-alt5 sisyphus.217569.200 1544433991 installed <13>Jan 9 11:20:59 rpmi: boost-devel-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:59 rpmi: boost-asio-devel-1:1.67.0-alt5 sisyphus.217569.200 1544433991 installed <13>Jan 9 11:20:59 rpmi: boost-filesystem-devel-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:20:59 rpmi: libcpprest-2.10.6-alt1 sisyphus.213152.100 1537201849 installed <13>Jan 9 11:20:59 rpmi: libssl-devel-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Jan 9 11:20:59 rpmi: glib-networking-2.58.0-alt1 sisyphus.212651.1500 1536648953 installed <13>Jan 9 11:21:00 rpmi: libsoup-2.64.2-alt1 sisyphus.215425.140 1540400356 installed <13>Jan 9 11:21:00 rpmi: libappstream-glib-0.7.14-alt1 sisyphus.215101.100 1539782190 installed <13>Jan 9 11:21:00 rpmi: libsoup-gnome-2.64.2-alt1 sisyphus.215425.140 1540400356 installed <13>Jan 9 11:21:00 rpmi: librest-0.8.1-alt1 1508266400 installed <13>Jan 9 11:21:01 rpmi: libgtk+3-3.24.2-alt2 sisyphus.218466.100 1545601989 installed <13>Jan 9 11:21:03 rpmi: libwebkit2gtk-2.22.5-alt1 sisyphus.218134.1100 1545264510 installed <13>Jan 9 11:21:03 rpmi: libwxBase3.0-3.0.4-alt3.2 sisyphus.218886.40 1546428663 installed <13>Jan 9 11:21:04 rpmi: libwxGTK3.0-3.0.4-alt3.2 sisyphus.218886.40 1546428663 installed <13>Jan 9 11:21:04 rpmi: libwxGTK3.0-gl-3.0.4-alt3.2 sisyphus.218886.40 1546428663 installed <13>Jan 9 11:21:04 rpmi: libwxGTK3.0-media-3.0.4-alt3.2 sisyphus.218886.40 1546428663 installed <13>Jan 9 11:21:04 rpmi: libwxBase3.0-devel-3.0.4-alt3.2 sisyphus.218886.40 1546428663 installed <13>Jan 9 11:21:04 rpmi: libgtk+3-devel-3.24.2-alt2 sisyphus.218466.100 1545601989 installed <13>Jan 9 11:21:04 rpmi: libgtkspell3-3.0.10-alt1 sisyphus.214393.100 1539160747 installed <13>Jan 9 11:21:04 rpmi: libgtkspell3-devel-3.0.10-alt1 sisyphus.214393.100 1539160747 installed <13>Jan 9 11:21:04 rpmi: libwxGTK3.0-devel-3.0.4-alt3.2 sisyphus.218886.40 1546428663 installed <13>Jan 9 11:21:04 rpmi: libappstream-glib-devel-0.7.14-alt1 sisyphus.215101.100 1539782190 installed <13>Jan 9 11:21:04 rpmi: libcpprest-devel-2.10.6-alt1 sisyphus.213152.100 1537201849 installed <13>Jan 9 11:21:04 rpmi: liblucene++-devel-3.0.7-alt5 1527881695 installed <13>Jan 9 11:21:04 rpmi: boost-locale-devel-1:1.67.0-alt5 sisyphus.217569.200 1544434067 installed <13>Jan 9 11:21:04 rpmi: libsecret-devel-0.18.7-alt1 sisyphus.218813.200 1546590542 installed <13>Jan 9 11:21:04 rpmi: gcc-c++-8-alt1 sisyphus.214000.40 1542664775 installed <13>Jan 9 11:21:04 rpmi: libdb4.7_cxx-devel-4.7.25-alt9 1490438479 installed <13>Jan 9 11:21:04 rpmi: libpugixml-devel-1.9-alt1 1522906693 installed <13>Jan 9 11:21:04 rpmi: desktop-file-utils-0.23-alt1 sisyphus.214313.100 1539037620 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/poedit-2.2-alt1.nosrc.rpm Installing poedit-2.2-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.41394 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf poedit-2.2 + echo 'Source #0 (poedit-2.2.tar.gz):' Source #0 (poedit-2.2.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/poedit-2.2.tar.gz + /bin/tar -xf - + cd poedit-2.2 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.36661 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd poedit-2.2 + 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 dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=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/libexec --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --with-cpprest --without-cld2 configure: WARNING: unrecognized options: --without-included-gettext checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... (cached) yes checking for install location... /usr checking for gawk... (cached) gawk checking whether ln -s works... yes checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib 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 for style of include used by make... GNU 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-g++ -E checking whether i586-alt-linux-g++ supports C++14 features by default... yes checking for boostlib >= 1.60 (106000)... yes checking whether the Boost::System library is available... yes checking for exit in -lboost_system... yes checking whether the Boost::Regex library is available... yes checking for exit in -lboost_regex-mt... yes checking whether the Boost::Thread library is available... yes checking for exit in -lboost_thread... yes 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 whether the Boost::IOStreams library is available... yes checking for exit in -lboost_iostreams-mt... yes checking cpprest/http_client.h usability... yes checking cpprest/http_client.h presence... yes checking for cpprest/http_client.h... yes checking for libcpprest >= 2.5... yes checking for i586-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBSECRET... yes checking json.hpp usability... no checking json.hpp presence... no checking for json.hpp... no checking for wx-config... /usr/bin/wx-config checking for wxWidgets version >= 3.0.3 (--unicode)... yes (version 3.0.4) checking for wxWidgets static library... no checking if wxWidgets includes XRC... yes checking for wxrc... /usr/bin/wxrc-3.0 checking for mkdtemp... yes checking for ICU... yes checking if wxWidgets toolkit uses GTK+ 3... yes checking for GTKSPELL... yes checking for LUCENE... yes checking for PUGIXML... no checking for a sed that does not truncate output... /bin/sed checking whether the C++ compiler accepts the -Wall flag... yes checking whether the C++ compiler accepts the -Wextra flag... 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 artwork/Makefile config.status: creating locales/Makefile config.status: creating docs/Makefile config.status: executing depfiles commands configure: WARNING: unrecognized options: --without-included-gettext Configured poedit-2.2 for i586-alt-linux-gnu Enabled features: * debug build: no * language detection: no * crowdin integration: yes !!! WARNING !!! Your are building a limited version of Poedit without some important features (see above). This makes Poedit harder to use and is strongly advised against. !!! WARNING !!! + make -j8 Making all in src make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX chooselang.o make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX cat_sorting.o In file included from /usr/include/wx-3.0/wx/encconv.h:17, from catalog.h:31, from cat_sorting.h:29, from cat_sorting.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/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/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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX colorscheme.o In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/variant.h:20, from /usr/include/wx-3.0/wx/colour.h:55, from colorscheme.h:29, from colorscheme.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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX commentdlg.o In file included from /usr/include/wx-3.0/wx/xrc/xmlres.h:18, from commentdlg.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/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/xrc/xmlreshandler.h:23, from /usr/include/wx-3.0/wx/xrc/xmlres.h:30, from commentdlg.cpp:26: commentdlg.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: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)) ^~~~~~~~~~~~~~~~~~~~~ commentdlg.cpp:59:4: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(XRCID("clear"), CommentDialog::OnClear) ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX configuration.o In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/textbuf.h:16, from /usr/include/wx-3.0/wx/textfile.h:18, from /usr/include/wx-3.0/wx/fileconf.h:19, from /usr/include/wx-3.0/wx/config.h:31, from configuration.cpp:28: /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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX cat_update.o In file included from /usr/include/wx-3.0/wx/encconv.h:17, from catalog.h:31, from catalog_po.h:29, from cat_update.h:29, from cat_update.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/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/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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX attentionbar.o 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 attentionbar.h:29, from attentionbar.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/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/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from attentionbar.h:29, from attentionbar.cpp:26: attentionbar.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: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)) ^~~~~~~~~~~~~~~~~~~~~ attentionbar.cpp:58:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(wxID_CLOSE, AttentionBar::OnClose) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ attentionbar.cpp:59:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(wxID_ANY, AttentionBar::OnAction) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = AttentionBar; A = wxPaintEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = AttentionBar; EventArg = wxPaintEvent; EventHandler = AttentionBar; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (AttentionBar::*)(wxPaintEvent&)' to 'void (AttentionBar::*)(wxEvent&)' [-Wcast-function-type] reinterpret_cast(f)); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX custom_buttons.o In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/variant.h:20, from /usr/include/wx-3.0/wx/colour.h:55, from /usr/include/wx-3.0/wx/bitmap.h:20, from /usr/include/wx-3.0/wx/anybutton.h:44, from /usr/include/wx-3.0/wx/button.h:18, from custom_buttons.h:29, from custom_buttons.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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX catalog.o In file included from /usr/include/wx-3.0/wx/encconv.h:17, from catalog.h:31, from catalog.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/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/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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX catalog_po.o In file included from /usr/include/wx-3.0/wx/encconv.h:17, from catalog.h:31, from catalog_po.h:29, from catalog_po.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/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/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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX catalog_xliff.o In file included from /usr/include/wx-3.0/wx/encconv.h:17, from catalog.h:31, from catalog_xliff.h:29, from catalog_xliff.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/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/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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX export_html.o In file included from /usr/include/wx-3.0/wx/encconv.h:17, from catalog.h:31, from export_html.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/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/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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX edlistctrl.o 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/control.h:22, from /usr/include/wx-3.0/wx/textctrl.h:22, from /usr/include/wx-3.0/wx/dataview.h:18, from edlistctrl.h:30, from edlistctrl.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/dataview.h: In member function 'int wxDataViewItemArray::Index(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h: In member function 'size_t wxDataViewItemArray::IndexForInsert(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ /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/window.h:18, from /usr/include/wx-3.0/wx/control.h:22, from /usr/include/wx-3.0/wx/textctrl.h:22, from /usr/include/wx-3.0/wx/dataview.h:18, from edlistctrl.h:30, from edlistctrl.cpp:27: /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = PoeditListCtrl; A = wxSizeEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = PoeditListCtrl; EventArg = wxSizeEvent; EventHandler = PoeditListCtrl; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (PoeditListCtrl::*)(wxSizeEvent&)' to 'void (PoeditListCtrl::*)(wxEvent&)' [-Wcast-function-type] reinterpret_cast(f)); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX editing_area.o In file included from /usr/include/wx-3.0/wx/encconv.h:17, from catalog.h:31, from editing_area.h:29, from editing_area.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/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/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/dataview.h: In member function 'int wxDataViewItemArray::Index(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h: In member function 'size_t wxDataViewItemArray::IndexForInsert(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from editing_area.h:31, from editing_area.cpp:26: /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = EditingArea; A = wxPaintEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = EditingArea; EventArg = wxPaintEvent; EventHandler = EditingArea; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (EditingArea::*)(wxPaintEvent&)' to 'void (EditingArea::*)(wxEvent&)' [-Wcast-function-type] reinterpret_cast(f)); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = EditingArea::TagLabel; A = wxPaintEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = EditingArea::TagLabel; EventArg = wxPaintEvent; EventHandler = EditingArea::TagLabel; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (EditingArea::TagLabel::*)(wxPaintEvent&)' to 'void (EditingArea::TagLabel::*)(wxEvent&)' [-Wcast-function-type] make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX hidpi.o In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/variant.h:20, from /usr/include/wx-3.0/wx/colour.h:55, from /usr/include/wx-3.0/wx/bitmap.h:20, from hidpi.cpp:28: /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[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX concurrency.o 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/app.h:19, from concurrency.h:72, from concurrency.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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX customcontrols.o 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/app.h:19, from concurrency.h:72, from customcontrols.h:29, from customcontrols.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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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/app.h:19, from concurrency.h:72, from customcontrols.h:29, from customcontrols.cpp:26: /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = AutoWrappingText; A = wxSizeEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = AutoWrappingText; EventArg = wxSizeEvent; EventHandler = AutoWrappingText; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (AutoWrappingText::*)(wxSizeEvent&)' to 'void (AutoWrappingText::*)(wxEvent&)' [-Wcast-function-type] reinterpret_cast(f)); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX fileviewer.o In file included from /usr/include/wx-3.0/wx/encconv.h:17, from catalog.h:31, from fileviewer.h:29, from fileviewer.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/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/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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/frame.h:18, from fileviewer.h:31, from fileviewer.cpp:26: /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = FileViewer; A = wxCommandEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = FileViewer; EventArg = wxCommandEvent; EventHandler = FileViewer; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (FileViewer::*)(wxCommandEvent&)' to 'void (FileViewer::*)(wxEvent&)' [-Wcast-function-type] reinterpret_cast(f)); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX edapp.o In file included from /usr/include/wx-3.0/wx/wx.h:16, from edapp.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/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/xrc/xh_treebk.h: In member function 'int wxArrayTbkPageIndexes::Index(_wxArraywxArrayTbkPageIndexes, wxArrayTbkPageIndexes::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayTbkPageIndexes::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxArrayTbkPageIndexes::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:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:898:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArraySizeT, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/xrc/xh_treebk.h:20:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SIZE_T' WX_DEFINE_USER_EXPORTED_ARRAY_SIZE_T(size_t, wxArrayTbkPageIndexes, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/xrc/xh_treebk.h: In member function 'size_t wxArrayTbkPageIndexes::IndexForInsert(_wxArraywxArrayTbkPageIndexes, wxArrayTbkPageIndexes::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayTbkPageIndexes::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxArrayTbkPageIndexes::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:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:898:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArraySizeT, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/xrc/xh_treebk.h:20:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SIZE_T' WX_DEFINE_USER_EXPORTED_ARRAY_SIZE_T(size_t, wxArrayTbkPageIndexes, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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/dataview.h: In member function 'int wxDataViewItemArray::Index(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h: In member function 'size_t wxDataViewItemArray::IndexForInsert(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from edapp.cpp:26: edapp.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)) ^~~~~~~~~~~~~~~~~~~~~ edapp.cpp:833:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (wxID_NEW, PoeditApp::OnNew) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edapp.cpp:834:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_new_from_pot"),PoeditApp::OnNew) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edapp.cpp:835:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (wxID_OPEN, PoeditApp::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)) ^~~~~~~~~~~~~~~~~~~~~ edapp.cpp:837:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_open_crowdin"),PoeditApp::OnOpenFromCrowdin) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edapp.cpp:840:4: note: in expansion of macro 'EVT_MENU_RANGE' EVT_MENU_RANGE (wxID_FILE1, wxID_FILE9, PoeditApp::OnOpenHist) ^~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edapp.cpp:843:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (wxID_ABOUT, PoeditApp::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)) ^~~~~~~~~~~~~~~~~~~~~ edapp.cpp:844:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_manager"), PoeditApp::OnManager) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edapp.cpp:845:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (wxID_EXIT, PoeditApp::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)) ^~~~~~~~~~~~~~~~~~~~~ edapp.cpp:846:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (wxID_PREFERENCES, PoeditApp::OnPreferences) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edapp.cpp:847:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (wxID_HELP, PoeditApp::OnHelp) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edapp.cpp:848:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_gettext_manual"), PoeditApp::OnGettextManual) ^~~~~~~~ /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[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX findframe.o 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/choice.h:22, from findframe.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); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h: In member function 'int wxDataViewItemArray::Index(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h: In member function 'size_t wxDataViewItemArray::IndexForInsert(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ 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/choice.h:22, from findframe.cpp:27: /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)); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = FindFrame; A = wxCommandEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = FindFrame; EventArg = wxCommandEvent; EventHandler = FindFrame; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (FindFrame::*)(wxCommandEvent&)' to 'void (FindFrame::*)(wxEvent&)' [-Wcast-function-type] reinterpret_cast(f)); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX icons.o In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/log.h:58, from icons.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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from colorscheme.h:30, from icons.cpp:38: /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[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX gexecute.o 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 gexecute.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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX languagectrl.o 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/control.h:22, from /usr/include/wx-3.0/wx/textctrl.h:22, from /usr/include/wx-3.0/wx/combobox.h:20, from languagectrl.h:29, from languagectrl.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/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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX manager.o In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/textbuf.h:16, from /usr/include/wx-3.0/wx/textfile.h:18, from /usr/include/wx-3.0/wx/fileconf.h:19, from /usr/include/wx-3.0/wx/config.h:31, from manager.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); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h: In member function 'int wxDataViewItemArray::Index(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h: In member function 'size_t wxDataViewItemArray::IndexForInsert(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ 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/textctrl.h:22, from manager.cpp:28: manager.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: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)) ^~~~~~~~~~~~~~~~~~~~~ manager.cpp:302:4: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(XRCID("adddir"), ProjectDlg::OnBrowse) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ manager.cpp:389:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("prj_new"), ManagerFrame::OnNewProject) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ manager.cpp:390:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("prj_edit"), ManagerFrame::OnEditProject) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ manager.cpp:391:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("prj_delete"), ManagerFrame::OnDeleteProject) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ manager.cpp:392:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("prj_update"), ManagerFrame::OnUpdateProject) ^~~~~~~~ /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:4318:34: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_LISTBOX(winid, func) wx__DECLARE_EVT1(wxEVT_LISTBOX, 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:4318:73: note: in expansion of macro 'wxCommandEventHandler' #define EVT_LISTBOX(winid, func) wx__DECLARE_EVT1(wxEVT_LISTBOX, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ manager.cpp:393:4: note: in expansion of macro 'EVT_LISTBOX' EVT_LISTBOX (XRCID("prj_list"), ManagerFrame::OnSelectProject) ^~~~~~~~~~~ /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:604:41: note: in expansion of macro 'wx__DECLARE_LISTEVT' #define EVT_LIST_ITEM_ACTIVATED(id, fn) wx__DECLARE_LISTEVT(ITEM_ACTIVATED, id, fn) ^~~~~~~~~~~~~~~~~~~ manager.cpp:394:4: note: in expansion of macro 'EVT_LIST_ITEM_ACTIVATED' EVT_LIST_ITEM_ACTIVATED (XRCID("prj_files"), ManagerFrame::OnOpenCatalog) ^~~~~~~~~~~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ manager.cpp:395:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (wxID_CLOSE, ManagerFrame::OnCloseCmd) ^~~~~~~~ /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[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX progressinfo.o 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/app.h:19, from progressinfo.cpp:28: /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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/app.h:19, from progressinfo.cpp:28: progressinfo.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: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)) ^~~~~~~~~~~~~~~~~~~~~ progressinfo.cpp:57:4: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(wxID_CANCEL, ProgressDlg::OnCancel) ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX qa_checks.o In file included from /usr/include/wx-3.0/wx/encconv.h:17, from catalog.h:31, from qa_checks.h:29, from qa_checks.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/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/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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX spellchecking.o 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/control.h:22, from /usr/include/wx-3.0/wx/textctrl.h:22, from spellchecking.h:35, from spellchecking.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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/textctrl.h:22, from spellchecking.h:35, from spellchecking.cpp:26: /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[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX propertiesdlg.o 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/sizer.h:16, from propertiesdlg.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/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/sizer.h:16, from propertiesdlg.cpp:26: /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = PropertiesDialog; A = wxCommandEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = PropertiesDialog; EventArg = wxCommandEvent; EventHandler = PropertiesDialog; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (PropertiesDialog::*)(wxCommandEvent&)' to 'void (PropertiesDialog::*)(wxEvent&)' [-Wcast-function-type] reinterpret_cast(f)); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = PropertiesDialog::PathsList; A = wxCommandEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = PropertiesDialog::PathsList; EventArg = wxCommandEvent; EventHandler = PropertiesDialog::PathsList; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (PropertiesDialog::PathsList::*)(wxCommandEvent&)' to 'void (PropertiesDialog::PathsList::*)(wxEvent&)' [-Wcast-function-type] make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX unicode_helpers.o make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX pretranslate.o In file included from /usr/include/wx-3.0/wx/encconv.h:17, from catalog.h:31, from pretranslate.h:29, from pretranslate.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/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/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/dataview.h: In member function 'int wxDataViewItemArray::Index(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h: In member function 'size_t wxDataViewItemArray::IndexForInsert(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX edframe.o 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/frame.h:18, from edframe.h:32, from edframe.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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h: In member function 'int wxDataViewItemArray::Index(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h: In member function 'size_t wxDataViewItemArray::IndexForInsert(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ 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/frame.h:18, from edframe.h:32, from edframe.cpp:26: edframe.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: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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:278:4: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON (XRCID("button_new_from_this_pot"),PoeditFrame::OnNew) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:288:4: note: in expansion of macro 'EVT_MENU_RANGE' EVT_MENU_RANGE (wxID_FILE1, wxID_FILE9, PoeditFrame::OnOpenHist) ^~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:289:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (wxID_CLOSE, PoeditFrame::OnCloseCmd) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:291:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (wxID_SAVE, PoeditFrame::OnSave) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:292:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (wxID_SAVEAS, PoeditFrame::OnSaveAs) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:293:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_compile_mo"), PoeditFrame::OnCompileMO) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:294:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_export"), PoeditFrame::OnExport) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:295:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_catproperties"), PoeditFrame::OnProperties) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:296:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_update_from_src"), PoeditFrame::OnUpdateFromSources) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:297:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_update_from_pot"),PoeditFrame::OnUpdateFromPOT) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:299:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_update_from_crowdin"),PoeditFrame::OnUpdateFromCrowdin) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:301:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("toolbar_update"),PoeditFrame::OnUpdateSmart) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:302:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_validate"), PoeditFrame::OnValidate) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:303:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_purge_deleted"), PoeditFrame::OnPurgeDeleted) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:304:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_fuzzy"), PoeditFrame::OnFuzzyFlag) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:305:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_ids"), PoeditFrame::OnIDsFlag) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:306:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_warnings"), PoeditFrame::OnToggleWarnings) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:307:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("sort_by_order"), PoeditFrame::OnSortByFileOrder) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:308:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("sort_by_source"), PoeditFrame::OnSortBySource) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:309:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("sort_by_translation"), PoeditFrame::OnSortByTranslation) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:310:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("sort_group_by_context"), PoeditFrame::OnSortGroupByContext) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:311:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("sort_untrans_first"), PoeditFrame::OnSortUntranslatedFirst) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:312:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("sort_errors_first"), PoeditFrame::OnSortErrorsFirst) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:313:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("show_sidebar"), PoeditFrame::OnShowHideSidebar) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:314:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI (XRCID("show_sidebar"), PoeditFrame::OnUpdateShowHideSidebar) ^~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:315:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("show_statusbar"), PoeditFrame::OnShowHideStatusbar) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:316:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI (XRCID("show_statusbar"), PoeditFrame::OnUpdateShowHideStatusbar) ^~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:317:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_copy_from_src"), PoeditFrame::OnCopyFromSource) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:318:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_copy_from_singular"), PoeditFrame::OnCopyFromSingular) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:319:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_clear"), PoeditFrame::OnClearTranslation) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:320:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_references"), PoeditFrame::OnReferencesMenu) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:321:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (wxID_FIND, PoeditFrame::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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:322:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (wxID_REPLACE, PoeditFrame::OnFindAndReplace) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:323:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_find_next"), PoeditFrame::OnFindNext) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:324:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_find_prev"), PoeditFrame::OnFindPrev) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:325:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_comment"), PoeditFrame::OnEditComment) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:326:4: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON (XRCID("menu_comment"), PoeditFrame::OnEditComment) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:327:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("go_done_and_next"), PoeditFrame::OnDoneAndNext) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:328:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("go_prev"), PoeditFrame::OnPrev) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:329:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("go_next"), PoeditFrame::OnNext) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:330:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("go_prev_page"), PoeditFrame::OnPrevPage) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:331:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("go_next_page"), PoeditFrame::OnNextPage) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:332:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("go_prev_unfinished"), PoeditFrame::OnPrevUnfinished) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:333:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("go_next_unfinished"), PoeditFrame::OnNextUnfinished) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:334:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("go_prev_pluralform"), PoeditFrame::OnPrevPluralForm) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:335:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("go_next_pluralform"), PoeditFrame::OnNextPluralForm) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:336:4: note: in expansion of macro 'EVT_MENU_RANGE' EVT_MENU_RANGE (ID_POPUP_REFS, ID_POPUP_REFS + 999, PoeditFrame::OnReference) ^~~~~~~~~~~~~~ /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:4142:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(event, 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:4142:36: note: in expansion of macro 'wxCommandEventHandler' wx__DECLARE_EVT1(event, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:337:4: note: in expansion of macro 'EVT_COMMAND' EVT_COMMAND (wxID_ANY, EVT_SUGGESTION_SELECTED, PoeditFrame::OnSuggestion) ^~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:338:4: note: in expansion of macro 'EVT_MENU' EVT_MENU (XRCID("menu_pretranslate"), PoeditFrame::OnPreTranslateAll) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:339:4: note: in expansion of macro 'EVT_MENU_RANGE' EVT_MENU_RANGE (ID_BOOKMARK_GO, ID_BOOKMARK_GO + 9, ^~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:341:4: note: in expansion of macro 'EVT_MENU_RANGE' EVT_MENU_RANGE (ID_BOOKMARK_SET, ID_BOOKMARK_SET + 9, ^~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~ edframe.cpp:343:4: note: in expansion of macro 'EVT_CLOSE' EVT_CLOSE ( PoeditFrame::OnCloseWindow) ^~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~ edframe.cpp:344:4: note: in expansion of macro 'EVT_SIZE' EVT_SIZE (PoeditFrame::OnSize) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:347:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("menu_references"), PoeditFrame::OnReferencesMenuUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4372:45: note: in expansion of macro 'wx__DECLARE_EVT2' #define EVT_UPDATE_UI_RANGE(id1, id2, func) wx__DECLARE_EVT2(wxEVT_UPDATE_UI, id1, id2, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4372:89: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI_RANGE(id1, id2, func) wx__DECLARE_EVT2(wxEVT_UPDATE_UI, id1, id2, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:348:4: note: in expansion of macro 'EVT_UPDATE_UI_RANGE' EVT_UPDATE_UI_RANGE(ID_BOOKMARK_SET, ID_BOOKMARK_SET + 9, PoeditFrame::OnSingleSelectionUpdate) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:350:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("go_done_and_next"), PoeditFrame::OnSingleSelectionUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:351:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("go_prev"), PoeditFrame::OnSingleSelectionUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:352:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("go_next"), PoeditFrame::OnSingleSelectionUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:353:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("go_prev_page"), PoeditFrame::OnSingleSelectionUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:354:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("go_next_page"), PoeditFrame::OnSingleSelectionUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:355:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("go_prev_unfinished"), PoeditFrame::OnSingleSelectionUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:356:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("go_next_unfinished"), PoeditFrame::OnSingleSelectionUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:357:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("go_prev_pluralform"), PoeditFrame::OnSingleSelectionWithPluralsUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:358:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("go_next_pluralform"), PoeditFrame::OnSingleSelectionWithPluralsUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:360:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("menu_fuzzy"), PoeditFrame::OnSelectionUpdateEditable) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:361:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("menu_clear"), PoeditFrame::OnSelectionUpdateEditable) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:362:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("menu_copy_from_src"), PoeditFrame::OnSelectionUpdateEditable) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:363:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("menu_copy_from_singular"), PoeditFrame::OnSingleSelectionWithPluralsUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:364:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("menu_comment"), PoeditFrame::OnEditCommentUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:367:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(wxID_SAVE, PoeditFrame::OnHasCatalogUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:368:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(wxID_SAVEAS, PoeditFrame::OnHasCatalogUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:369:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("menu_statistics"), PoeditFrame::OnHasCatalogUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:370:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("menu_pretranslate"), PoeditFrame::OnIsEditableUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:371:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("menu_validate"), PoeditFrame::OnIsEditableUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:372:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("menu_update_from_src"), PoeditFrame::OnUpdateFromSourcesUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:374:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("menu_update_from_crowdin"), PoeditFrame::OnUpdateFromCrowdinUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:376:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("menu_update_from_pot"), PoeditFrame::OnUpdateFromPOTUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:377:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("toolbar_update"), PoeditFrame::OnUpdateSmartUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:380:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("menu_find_next"), PoeditFrame::OnUpdateFind) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:381:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(XRCID("menu_find_prev"), PoeditFrame::OnUpdateFind) ^~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:384:4: note: in expansion of macro 'EVT_MENU' EVT_MENU(wxID_UNDO, PoeditFrame::OnTextEditingCommand) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:385:4: note: in expansion of macro 'EVT_MENU' EVT_MENU(wxID_REDO, PoeditFrame::OnTextEditingCommand) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:386:4: note: in expansion of macro 'EVT_MENU' EVT_MENU(wxID_CUT, PoeditFrame::OnTextEditingCommand) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:387:4: note: in expansion of macro 'EVT_MENU' EVT_MENU(wxID_COPY, PoeditFrame::OnTextEditingCommand) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:388:4: note: in expansion of macro 'EVT_MENU' EVT_MENU(wxID_PASTE, PoeditFrame::OnTextEditingCommand) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:389:4: note: in expansion of macro 'EVT_MENU' EVT_MENU(wxID_DELETE, PoeditFrame::OnTextEditingCommand) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ edframe.cpp:390:4: note: in expansion of macro 'EVT_MENU' EVT_MENU(wxID_SELECTALL, PoeditFrame::OnTextEditingCommand) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:391:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(wxID_UNDO, PoeditFrame::OnTextEditingCommandUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:392:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(wxID_REDO, PoeditFrame::OnTextEditingCommandUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:393:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(wxID_CUT, PoeditFrame::OnTextEditingCommandUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:394:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(wxID_COPY, PoeditFrame::OnTextEditingCommandUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:395:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(wxID_PASTE, PoeditFrame::OnTextEditingCommandUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:396:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(wxID_DELETE, PoeditFrame::OnTextEditingCommandUpdate) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxUpdateUIEvent&)' 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:4371:36: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(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:3945:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxUpdateUIEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4371:77: note: in expansion of macro 'wxUpdateUIEventHandler' #define EVT_UPDATE_UI(winid, func) wx__DECLARE_EVT1(wxEVT_UPDATE_UI, winid, wxUpdateUIEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ edframe.cpp:397:4: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI(wxID_SELECTALL, PoeditFrame::OnTextEditingCommandUpdate) ^~~~~~~~~~~~~ /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)); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = PoeditFrame; A = wxUpdateUIEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = PoeditFrame; EventArg = wxUpdateUIEvent; EventHandler = PoeditFrame; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (PoeditFrame::*)(wxUpdateUIEvent&)' to 'void (PoeditFrame::*)(wxEvent&)' [-Wcast-function-type] reinterpret_cast(f)); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = PoeditFrame; A = wxFocusEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = PoeditFrame; EventArg = wxFocusEvent; EventHandler = PoeditFrame; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (PoeditFrame::*)(wxFocusEvent&)' to 'void (PoeditFrame::*)(wxEvent&)' [-Wcast-function-type] /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = PoeditFrame; A = wxDataViewEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = PoeditFrame; EventArg = wxDataViewEvent; EventHandler = PoeditFrame; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (PoeditFrame::*)(wxDataViewEvent&)' to 'void (PoeditFrame::*)(wxEvent&)' [-Wcast-function-type] /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = PoeditFrame; A = wxSplitterEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = PoeditFrame; EventArg = wxSplitterEvent; EventHandler = PoeditFrame; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (PoeditFrame::*)(wxSplitterEvent&)' to 'void (PoeditFrame::*)(wxEvent&)' [-Wcast-function-type] make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX prefsdlg.o In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/variant.h:20, from /usr/include/wx-3.0/wx/colour.h:55, from /usr/include/wx-3.0/wx/bitmap.h:20, from /usr/include/wx-3.0/wx/preferences.h:17, from prefsdlg.h:30, from prefsdlg.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/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); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h: In member function 'int wxDataViewItemArray::Index(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h: In member function 'size_t wxDataViewItemArray::IndexForInsert(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from /usr/include/wx-3.0/wx/editlbox.h:17, from prefsdlg.cpp:31: /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)); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = {anonymous}::ExtractorsPageWindow; A = wxCommandEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = {anonymous}::ExtractorsPageWindow; EventArg = wxCommandEvent; EventHandler = {anonymous}::ExtractorsPageWindow; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void ({anonymous}::ExtractorsPageWindow::*)(wxCommandEvent&)' to 'void ({anonymous}::ExtractorsPageWindow::*)(wxEvent&)' [-Wcast-function-type] reinterpret_cast(f)); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = {anonymous}::PrefsPanel; A = wxCommandEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = {anonymous}::PrefsPanel; EventArg = wxCommandEvent; EventHandler = {anonymous}::TMPageWindow; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void ({anonymous}::PrefsPanel::*)(wxCommandEvent&)' to 'void ({anonymous}::PrefsPanel::*)(wxEvent&)' [-Wcast-function-type] /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = {anonymous}::TMPageWindow; A = wxCommandEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = {anonymous}::TMPageWindow; EventArg = wxCommandEvent; EventHandler = {anonymous}::TMPageWindow; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void ({anonymous}::TMPageWindow::*)(wxCommandEvent&)' to 'void ({anonymous}::TMPageWindow::*)(wxEvent&)' [-Wcast-function-type] /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = {anonymous}::TMPageWindow; A = wxUpdateUIEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = {anonymous}::TMPageWindow; EventArg = wxUpdateUIEvent; EventHandler = {anonymous}::TMPageWindow; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void ({anonymous}::TMPageWindow::*)(wxUpdateUIEvent&)' to 'void ({anonymous}::TMPageWindow::*)(wxEvent&)' [-Wcast-function-type] make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX text_control.o 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/control.h:22, from /usr/include/wx-3.0/wx/textctrl.h:22, from text_control.h:29, from text_control.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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/textctrl.h:22, from text_control.h:29, from text_control.cpp:26: /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = TranslationTextCtrl; A = wxCommandEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = TranslationTextCtrl; EventArg = wxCommandEvent; EventHandler = TranslationTextCtrl; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (TranslationTextCtrl::*)(wxCommandEvent&)' to 'void (TranslationTextCtrl::*)(wxEvent&)' [-Wcast-function-type] reinterpret_cast(f)); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = TranslationTextCtrl; A = wxKeyEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = TranslationTextCtrl; EventArg = wxKeyEvent; EventHandler = TranslationTextCtrl; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (TranslationTextCtrl::*)(wxKeyEvent&)' to 'void (TranslationTextCtrl::*)(wxEvent&)' [-Wcast-function-type] /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = CustomizedTextCtrl; A = wxCommandEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = CustomizedTextCtrl; EventArg = wxCommandEvent; EventHandler = CustomizedTextCtrl; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (CustomizedTextCtrl::*)(wxCommandEvent&)' to 'void (CustomizedTextCtrl::*)(wxEvent&)' [-Wcast-function-type] /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = CustomizedTextCtrl; A = wxClipboardTextEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = CustomizedTextCtrl; EventArg = wxClipboardTextEvent; EventHandler = CustomizedTextCtrl; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (CustomizedTextCtrl::*)(wxClipboardTextEvent&)' to 'void (CustomizedTextCtrl::*)(wxEvent&)' [-Wcast-function-type] make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX syntaxhighlighter.o In file included from /usr/include/wx-3.0/wx/encconv.h:17, from catalog.h:31, from syntaxhighlighter.cpp:28: /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/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/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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX utility.o In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from utility.h:37, from utility.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/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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utility.cpp: In static member function 'static bool TempOutputFileFor::ReplaceFile(const wxString&, const wxString&)': utility.cpp:271:14: warning: ignoring return value of 'int chown(const char*, __uid_t, __gid_t)', declared with attribute warn_unused_result [-Wunused-result] chown(destPath, st.st_uid, st.st_gid); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' /usr/bin/wxrc-3.0 -v -c -o compiled_xrc.cpp ./resources/comment.xrc ./resources/manager.xrc ./resources/menus.xrc ./resources/prefs.xrc ./resources/progress.xrc ./resources/properties.xrc ./resources/summary.xrc ./resources/toolbar.xrc processing ./resources/comment.xrc... processing ./resources/manager.xrc... processing ./resources/menus.xrc... processing ./resources/prefs.xrc... processing ./resources/progress.xrc... processing ./resources/properties.xrc... processing ./resources/summary.xrc... processing ./resources/toolbar.xrc... creating C++ source file /usr/src/RPM/BUILD/poedit-2.2/src/compiled_xrc.cpp... make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX sidebar.o 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 sidebar.h:33, from sidebar.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 sidebar.h:33, from sidebar.cpp:26: /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = Sidebar; A = wxPaintEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = Sidebar; EventArg = wxPaintEvent; EventHandler = Sidebar; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (Sidebar::*)(wxPaintEvent&)' to 'void (Sidebar::*)(wxEvent&)' [-Wcast-function-type] reinterpret_cast(f)); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = SuggestionWidget; A = wxPaintEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = SuggestionWidget; EventArg = wxPaintEvent; EventHandler = SuggestionWidget; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (SuggestionWidget::*)(wxPaintEvent&)' to 'void (SuggestionWidget::*)(wxEvent&)' [-Wcast-function-type] /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = SuggestionWidget; A = wxCommandEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = SuggestionWidget; EventArg = wxCommandEvent; EventHandler = SuggestionWidget; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (SuggestionWidget::*)(wxCommandEvent&)' to 'void (SuggestionWidget::*)(wxEvent&)' [-Wcast-function-type] /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = SuggestionWidget; A = wxMouseEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = SuggestionWidget; EventArg = wxMouseEvent; EventHandler = SuggestionWidget; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (SuggestionWidget::*)(wxMouseEvent&)' to 'void (SuggestionWidget::*)(wxEvent&)' [-Wcast-function-type] /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = SidebarSeparator; A = wxPaintEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = SidebarSeparator; EventArg = wxPaintEvent; EventHandler = SidebarSeparator; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (SidebarSeparator::*)(wxPaintEvent&)' to 'void (SidebarSeparator::*)(wxEvent&)' [-Wcast-function-type] make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX extractors/extractor_gettext.o In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from ./utility.h:37, from extractors/extractor.h:36, from extractors/extractor_gettext.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/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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extractors/extractor_gettext.cpp: In member function 'virtual wxString GettextExtractorBase::Extract(TempDirectory&, const SourceCodeSpec&, const std::vector&) const': extractors/extractor_gettext.cpp:153:21: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] catch (std::out_of_range) {} ^~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX http_client.o 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/app.h:19, from concurrency.h:72, from http_client.h:31, from http_client.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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX extractors/extractor.o In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from ./utility.h:37, from extractors/extractor.h:36, from extractors/extractor.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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX welcomescreen.o 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 welcomescreen.h:29, from welcomescreen.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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h: In member function 'int wxDataViewItemArray::Index(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h: In member function 'size_t wxDataViewItemArray::IndexForInsert(_wxArraywxDataViewItemArray, wxDataViewItemArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxDataViewItemArray::CMPFUNC' {aka 'int (*)(wxDataViewItem*, wxDataViewItem*)'} to 'wxDataViewItemArray::SCMPFUNC' {aka 'int (*)(wxDataViewItem, wxDataViewItem)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:674:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:851:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY' WX_DEFINE_TYPEARRAY(T, name, wxBaseArrayPtrVoid) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataview.h:90:1: note: in expansion of macro 'WX_DEFINE_ARRAY' WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray); ^~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/window.h:18, from /usr/include/wx-3.0/wx/panel.h:19, from welcomescreen.h:29, from welcomescreen.cpp:26: /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[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX pluralforms/pl_evaluate.o make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX wx/main_toolbar.o 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/frame.h:18, from ./main_toolbar.h:29, from wx/main_toolbar.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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX extractors/extractor_legacy.o In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from ./utility.h:37, from extractors/extractor.h:36, from extractors/extractor_legacy.h:29, from extractors/extractor_legacy.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/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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX keychain/keytar_posix.o make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX wx_backports/wx_gtk_activityindicator.o 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/control.h:22, from wx_backports/activityindicator.h:15, from wx_backports/wx_gtk_activityindicator.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 /usr/include/wx-3.0/wx/version.h:16, from /usr/include/wx-3.0/wx/defs.h:193, from /usr/include/wx-3.0/wx/wxprec.h:12, from wx_backports/wx_gtk_activityindicator.cpp:19: wx_backports/wx_gtk_activityindicator.cpp: In member function 'virtual wxSize wxActivityIndicator::DoGetBestClientSize() const': /usr/include/wx-3.0/wx/cpp.h:102:54: warning: this statement may fall through [-Wimplicit-fallthrough=] #define wxSTATEMENT_MACRO_END } while ( (void)0, 0 ) ^ /usr/include/wx-3.0/wx/debug.h:304:9: note: in expansion of macro 'wxSTATEMENT_MACRO_END' wxSTATEMENT_MACRO_END ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/debug.h:306:29: note: in expansion of macro 'wxFAIL_COND_MSG' #define wxFAIL_MSG(msg) wxFAIL_COND_MSG("Assert failure", msg) ^~~~~~~~~~~~~~~ wx_backports/wx_gtk_activityindicator.cpp:134:13: note: in expansion of macro 'wxFAIL_MSG' wxFAIL_MSG(wxS("Invalid window variant")); ^~~~~~~~~~ wx_backports/wx_gtk_activityindicator.cpp:137:9: note: here case wxWINDOW_VARIANT_NORMAL: ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX tm/suggestions.o 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/app.h:19, from ./concurrency.h:72, from tm/suggestions.h:35, from tm/suggestions.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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX wx_backports/wx_gtk_nativewin.o 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/nativewin.h:13, from wx_backports/nativewin.h:15, from wx_backports/wx_gtk_nativewin.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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX crowdin_client.o 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/app.h:19, from concurrency.h:72, from crowdin_client.h:33, from crowdin_client.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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX compiled_xrc.o 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 compiled_xrc.cpp:11: /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/xrc/xh_treebk.h: In member function 'int wxArrayTbkPageIndexes::Index(_wxArraywxArrayTbkPageIndexes, wxArrayTbkPageIndexes::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayTbkPageIndexes::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxArrayTbkPageIndexes::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:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:898:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArraySizeT, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/xrc/xh_treebk.h:20:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SIZE_T' WX_DEFINE_USER_EXPORTED_ARRAY_SIZE_T(size_t, wxArrayTbkPageIndexes, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/xrc/xh_treebk.h: In member function 'size_t wxArrayTbkPageIndexes::IndexForInsert(_wxArraywxArrayTbkPageIndexes, wxArrayTbkPageIndexes::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayTbkPageIndexes::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxArrayTbkPageIndexes::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:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:898:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArraySizeT, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/xrc/xh_treebk.h:20:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SIZE_T' WX_DEFINE_USER_EXPORTED_ARRAY_SIZE_T(size_t, wxArrayTbkPageIndexes, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX tm/tmx_io.o In file included from /usr/include/wx-3.0/wx/encconv.h:17, from ./catalog.h:31, from tm/transmem.h:35, from tm/tmx_io.h:30, from tm/tmx_io.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/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/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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX crowdin_gui.o In file included from /usr/include/wx-3.0/wx/encconv.h:17, from catalog.h:31, from crowdin_gui.h:31, from crowdin_gui.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/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/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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/app.h:19, from concurrency.h:72, from cloud_sync.h:30, from crowdin_gui.h:32, from crowdin_gui.cpp:27: /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = {anonymous}::CrowdinOpenDialog; A = wxCommandEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = {anonymous}::CrowdinOpenDialog; EventArg = wxCommandEvent; EventHandler = {anonymous}::CrowdinOpenDialog; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void ({anonymous}::CrowdinOpenDialog::*)(wxCommandEvent&)' to 'void ({anonymous}::CrowdinOpenDialog::*)(wxEvent&)' [-Wcast-function-type] reinterpret_cast(f)); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = {anonymous}::CrowdinOpenDialog; A = wxUpdateUIEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = {anonymous}::CrowdinOpenDialog; EventArg = wxUpdateUIEvent; EventHandler = {anonymous}::CrowdinOpenDialog; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void ({anonymous}::CrowdinOpenDialog::*)(wxUpdateUIEvent&)' to 'void ({anonymous}::CrowdinOpenDialog::*)(wxEvent&)' [-Wcast-function-type] /usr/include/wx-3.0/wx/event.h: In instantiation of 'static void (wxEvtHandler::* wxPrivate::HandlerImpl::ConvertToEvtMethod(void (T::*)(A&)))(wxEvent&) [with T = CrowdinLoginPanel; A = wxCommandEvent; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]': /usr/include/wx-3.0/wx/event.h:427:51: required from 'void (wxEvtHandler::* wxEventFunctorMethod::GetEvtMethod() const)(wxEvent&) [with EventTag = wxEventTypeTag; Class = CrowdinLoginPanel; EventArg = wxCommandEvent; EventHandler = CrowdinLoginPanel; wxEventFunction = void (wxEvtHandler::*)(wxEvent&)]' /usr/include/wx-3.0/wx/event.h:426:29: required from here /usr/include/wx-3.0/wx/event.h:331:21: warning: cast between incompatible pointer to member types from 'void (CrowdinLoginPanel::*)(wxCommandEvent&)' to 'void (CrowdinLoginPanel::*)(wxEvent&)' [-Wcast-function-type] make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX tm/transmem.o In file included from /usr/include/wx-3.0/wx/encconv.h:17, from ./catalog.h:31, from tm/transmem.h:35, from tm/transmem.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/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/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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX http_client_casablanca.o 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/app.h:19, from concurrency.h:72, from http_client.h:31, from http_client_casablanca.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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXX language.o In file included from /usr/include/wx-3.0/wx/arrstr.h:32, from /usr/include/wx-3.0/wx/filename.h:14, from language.cpp:41: /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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in 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:170:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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:177:29: note: in definition of macro '_WX_DECLARE_BASEARRAY_2' Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: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[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' CXXLD poedit make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' Making all in docs make[1]: Nothing to be done for 'all'. Making all in locales make[1]: Nothing to be done for 'all'. Making all in artwork make[1]: Nothing to be done for 'all'. make[1]: Nothing to be done for 'all-am'. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.59920 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/poedit-buildroot + : + /bin/rm -rf -- /usr/src/tmp/poedit-buildroot + cd poedit-2.2 + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/poedit-buildroot make: Entering directory '/usr/src/RPM/BUILD/poedit-2.2' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/src' /bin/mkdir -p '/usr/src/tmp/poedit-buildroot/usr/bin' /bin/install -p poedit '/usr/src/tmp/poedit-buildroot/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/src' Making install in docs make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/docs' make[2]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/docs' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/poedit-buildroot/usr/share/man/man1' /bin/install -p -m 644 poedit.1 '/usr/src/tmp/poedit-buildroot/usr/share/man/man1' make[2]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/docs' make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/docs' Making install in locales make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/locales' make[2]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/locales' make[2]: Nothing to be done for 'install-exec-am'. for i in af an ar az be be@latin bg bs ca ckb co cs da de el en_GB es et eu fa fi fr ga gl he hr hu hy id is it ja ka kab kk ko lt lv ms nb nl oc pa pl pt_BR pt_PT ro ru sk sl sq sr sv tg th tr uk uz vi zh_CN zh_TW ; do \ /bin/sh /usr/src/RPM/BUILD/poedit-2.2/admin/install-sh -d /usr/src/tmp/poedit-buildroot/usr/share/locale/$i/LC_MESSAGES ; \ /bin/install -p -m 644 ./$i.mo /usr/src/tmp/poedit-buildroot/usr/share/locale/$i/LC_MESSAGES/poedit.mo ; \ done make[2]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/locales' make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/locales' Making install in artwork make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/artwork' make[2]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2/artwork' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/poedit-buildroot/usr/share/icons/hicolor/16x16/apps' /bin/install -p -m 644 linux/appicon/16x16/apps/poedit.png '/usr/src/tmp/poedit-buildroot/usr/share/icons/hicolor/16x16/apps' /bin/mkdir -p '/usr/src/tmp/poedit-buildroot/usr/share/icons/hicolor/24x24/apps' /bin/install -p -m 644 linux/appicon/24x24/apps/poedit.png '/usr/src/tmp/poedit-buildroot/usr/share/icons/hicolor/24x24/apps' /bin/mkdir -p '/usr/src/tmp/poedit-buildroot/usr/share/icons/hicolor/256x256/apps' /bin/install -p -m 644 linux/appicon/256x256/apps/poedit.png '/usr/src/tmp/poedit-buildroot/usr/share/icons/hicolor/256x256/apps' /bin/mkdir -p '/usr/src/tmp/poedit-buildroot/usr/share/icons/hicolor/32x32/apps' /bin/install -p -m 644 linux/appicon/32x32/apps/poedit.png '/usr/src/tmp/poedit-buildroot/usr/share/icons/hicolor/32x32/apps' /bin/mkdir -p '/usr/src/tmp/poedit-buildroot/usr/share/icons/hicolor/48x48/apps' /bin/install -p -m 644 linux/appicon/48x48/apps/poedit.png '/usr/src/tmp/poedit-buildroot/usr/share/icons/hicolor/48x48/apps' /bin/mkdir -p '/usr/src/tmp/poedit-buildroot/usr/share/icons/hicolor/512x512/apps' /bin/install -p -m 644 linux/appicon/512x512/apps/poedit.png '/usr/src/tmp/poedit-buildroot/usr/share/icons/hicolor/512x512/apps' /bin/mkdir -p '/usr/src/tmp/poedit-buildroot/usr/share/pixmaps' /bin/install -p -m 644 linux/appicon/48x48/apps/poedit.png '/usr/src/tmp/poedit-buildroot/usr/share/pixmaps' /bin/mkdir -p '/usr/src/tmp/poedit-buildroot/usr/share/poedit/icons' /bin/install -p -m 644 linux/document-new.png linux/document-open.png linux/document-properties.png linux/document-save.png linux/edit-delete.png linux/poedit-sync.png linux/poedit-update.png linux/poedit-validate.png linux/sidebar.png CrowdinLogo.png DownvoteTemplate.png ExtractorsGNUgettext.png ItemBookmarkTemplate.png ItemCommentTemplate.png PoeditWelcome.png SuggestionError.png SuggestionPerfectMatch.png SuggestionTMTemplate.png poedit-status-cat-mid.png poedit-status-cat-no.png poedit-status-cat-ok.png StatusError.png StatusErrorBlack.png StatusWarning.png StatusWarningBlack.png window-close.png '/usr/src/tmp/poedit-buildroot/usr/share/poedit/icons' /bin/mkdir -p '/usr/src/tmp/poedit-buildroot/usr/share/poedit/icons/hicolor/scalable/actions' /bin/install -p -m 644 linux/poedit-sync-symbolic.svg linux/poedit-update-symbolic.svg linux/poedit-validate-symbolic.svg linux/sidebar-symbolic.svg '/usr/src/tmp/poedit-buildroot/usr/share/poedit/icons/hicolor/scalable/actions' make[2]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/artwork' make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2/artwork' make[1]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2' make[2]: Entering directory '/usr/src/RPM/BUILD/poedit-2.2' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/poedit-buildroot/usr/share/appdata' /bin/install -p -m 644 net.poedit.Poedit.appdata.xml '/usr/src/tmp/poedit-buildroot/usr/share/appdata' /bin/mkdir -p '/usr/src/tmp/poedit-buildroot/usr/share/applications' /bin/install -p -m 644 net.poedit.Poedit.desktop net.poedit.PoeditURI.desktop '/usr/src/tmp/poedit-buildroot/usr/share/applications' make[2]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2' make[1]: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2' make: Leaving directory '/usr/src/RPM/BUILD/poedit-2.2' + /usr/lib/rpm/find-lang poedit + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/poedit-buildroot (auto) Verifying and fixing files in /usr/src/tmp/poedit-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/poedit-buildroot/ (default) Compressing files in /usr/src/tmp/poedit-buildroot (auto) Verifying ELF objects in /usr/src/tmp/poedit-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .opt-?.pyc files Hardlinking identical .pyc and .pyo files Processing files: poedit-2.2-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.57255 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd poedit-2.2 + DOCDIR=/usr/src/tmp/poedit-buildroot/usr/share/doc/poedit-2.2 + export DOCDIR + rm -rf /usr/src/tmp/poedit-buildroot/usr/share/doc/poedit-2.2 + /bin/mkdir -p /usr/src/tmp/poedit-buildroot/usr/share/doc/poedit-2.2 + cp -prL AUTHORS NEWS README /usr/src/tmp/poedit-buildroot/usr/share/doc/poedit-2.2 + chmod -R go-w /usr/src/tmp/poedit-buildroot/usr/share/doc/poedit-2.2 + chmod -R a+rX /usr/src/tmp/poedit-buildroot/usr/share/doc/poedit-2.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aoOBaR find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib,vala) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gcxYB1 find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,typelib,vala) Requires: gettext-tools, libwxGTK3.0 >= 3.0.3-alt9, /lib/ld-linux.so.2, libboost_iostreams.so.1.67.0 >= set:mhtclET4EEzB3o09TcQd7kZtoD6lvC5I01jVZ50A3x3N6JFnjt9e, libboost_system.so.1.67.0 >= set:jh9iwjC2, libboost_thread.so.1.67.0 >= set:mi41d3D8ppVGamslU3tHCVyeK9rBrR9oXR31, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.25), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libcpprest.so.2.10 >= set:qkZHrFX1aTBwXWFbC5MkRod0n8ajZKQZ4fI9Pq7n2V4HqXF6iTQCOFkXzP2Fv9CkWdl1GdsLcXph6Yvg592EkZaU0YQi2cGmIa0bWunQsauprIHYUDaCQpydJm, libcrypto.so.1.1 >= set:pn4odxZF1c, libcrypto.so.1.1(OPENSSL_1_1_0), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GLIBC_2.0), libglib-2.0.so.0 >= set:onuSk8, libgobject-2.0.so.0 >= set:mj3bI72NfLgwP0Rid, libgtk-3.so.0 >= set:qlZdhGJzI6qepiU8OfC4Gd6dsAQeEerELFKLj5GX9nIl9Vy0n1A8w2SgSVZ35hc7wME9RYgUxE3hL9xEp1qf1q6V4, libgtkspell3-3.so.0 >= set:ifZKfO1pOIrbA6, libicui18n.so.63 >= set:qoRQbzmEF0, libicuuc.so.63 >= set:pjsasGZ0dR0RUzyCP2dlKIwZ0R0e9jGlQLZAdyqQ6uXtSsQIxX356mj3vGvrZJDNzkcHh4zQRvraAdxY9UkMCNTk28D2oPCUPdrtZemhPSGERLXKr1, liblucene++.so.0 >= set:smEwNdxwa0KOiGweUZrqtu1lBmeuPD356cld23MGykK7LrfptZESDoifpw43GFoEZJCTJAenOhRA182whiqitPoIsBdMSyyTglICVuikTq4F9NcCzZ0YMZylZr9lEcg0EmAkIoABbaYbvjy2nSN6ACiiN1GygE16kFzVgXqXfrr0, libm.so.6(GLIBC_2.0), libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.3.2), libpthread.so.0(GLIBC_2.3.3), libsecret-1.so.0 >= set:liERwizHp4NLV2, libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.1), libstdc++.so.6(CXXABI_1.3.11), libstdc++.so.6(CXXABI_1.3.2), libstdc++.so.6(CXXABI_1.3.3), libstdc++.so.6(CXXABI_1.3.5), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.14), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.18), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.9), libwx_baseu-3.0.so.0 >= set:pgDYCBgDmGJaNlJaaCbwl0SKsIVqCHgZlcAKZzXBOzPwC9w7nJQ4l7IaRbbYCDHVps0jcY5TthNuqLoSvlhe9ubxa6u0rRxfns9eiRay9FSZwAJUvZq0bIY76DZclg9QKynal10Jy9kh1urMbzaqVcsFhO3Y0mBVCoLh4S12VmDlskzu8U172GatPTwLj7QADmZhU6IC6Mvdu8k8r32EzENxvfiG8u8Ow8Gl6JLP6tG99RAZJ4N6hxMU4jJcEoon5HYz7tTXrPVSsZLUVJcaeZtZezk9Bhi8D0MTduSfi4QwzZrdBW4xLW3Nkhu90xwllyuWr3tVGNAIyMisFrhZbLxiuNALgP0WeKmpdnXXCga4lomvLA3IXBkkCZadZgARSLiOIzan0RzkBMj6OaE7wybaJqoEo0TEKAfnvpXRRxyPNfl1RZ7DZIygV88UZC99MB7PVZ2tO8wIs6XoDI3Z8Ehdg8qa1eZaArlH13xymjqm0ZmFMSjbxsUWJPk8PqeJ78ZzInsUqDzGocd2mMJ7RL0s59tO5QKuQJZBEtwOVb80MoO9VMEj55DObE7WM5Es8XqQ4QqclVnGBnUa06u6scGLsvTrHWbBqQmdhfmbxmIx9jRqM7XDJOBnFgnpoRG2xvasxLcOsubkxyhY0nBb6yfy8iOWe0Z9Lw84HJJiM4Q7vK8Nc48aOHr7VBk1px0ojBvzkTywlcZx5ncgxjW1z07nHAbynYaPbjSZoYQ43GVXlMZbaozCZ5JAwGNmREZbUcv4pD7Ucm1zKUFHegxhZsWd8keWHpQZ5WHaWYeUjGtss5bsXTazuP809tldYBvhiTE2IAUG9BIYQzAz3F3Ur1G6Yj6hnZiTzMJphvmrd1t7OZG4cCQvhQn, libwx_baseu-3.0.so.0(WXU_3.0), libwx_baseu_net-3.0.so.0 >= set:mheX1ot24iny2vahGreOCFlVFwHQL1iC4P3gduZGYNjybxsjCVLBp2, libwx_baseu_net-3.0.so.0(WXU_3.0), libwx_gtk3u_adv-3.0.so.0 >= set:piuy2D5py5zHPBCQZi1XkMkc3KcL9dUhi7OxGMAqpR8gat5s1PvpUNM9oyB4a2BPoX0aUOZ0wHUaNnIQ4RMgXBuZtb1LDc7qyygEKz7K1GbstC6zZjY6WiN32WyrRVQ0Xb0e0wlnV65Gy84S33tLKBRqOA4b7zZ60aAzEoy49cmT5an7UyM5TjOwDR4I1ghbZs1v5zTncyB5jdknxYtik7uF2A4yoP6hCHcsVtQPLUZD6AeQZ3mRYh2mZ5QZBZAFeC4LWCJ9Yui30lpJ4dTWJTI3WYfirCk0Y6BSsLqcGbdCjXib8E5zj0OpdSVAATwgs93yakWkw0V7EEluTVtK5, libwx_gtk3u_adv-3.0.so.0(WXU_3.0), libwx_gtk3u_adv-3.0.so.0(WXU_3.0.3), libwx_gtk3u_core-3.0.so.0 >= set:rhRI6D3mCcy9cJPEfqt7hMzeaA4oTKlEeJF42U8DKbScVBGxYGnAeFgXnuL71TceFRxkVj7DZ1S0WkerPhJ2D9Plo2FPG6mqNWNcA0FPPsjEmy0ZAKt7wCxTjXD8tbhjdpWD0VRvArk0PimdL8lEBjD8pZi9I9R9IEr95OhoXv15g75geRHD6OvhDmXUBFzp3XGGilMkiRC2NY4Zh6zqeOAJn9fU4uK95d3iZ9yVJmo5qTkUGyJpuvUew1LUL5SLnecZH2oNlddr1SPYcJYLxPCA3wA7h7WCbJYSjRmDOZiRZLggo5ZiZmpfLobSZxdpqZKlerGmIZoEs3waVSXSDZpzfo27eWBJZF2LwjB7OMPIhDV2Wko64e7DUZvhEZByFhRtytkou53w4eQyH7PQEcnh6Wg4xm3WcoyR9Z27tZa0hqZ1QwB8SKwCxouo6jghktd137pt7GcpcP3NNZINxqwo18rbXV4ummCZghLB2fkQDAgRFYZhz4NgvQVL4dM9Prexwnnj1iC8jjfC4QSnvva6g2ZELJRZdFhN8tc1OPCmPOobakPMM4jCWocWVZuojNqoECXwnLcZhZkZmZ8ZnShsQKuJBpusfzqvcVhKgwzYNdZlFVEGnXfjugn5Ku0vskEZhBsWJA4rjXqIR0bHZf135QvdmbDNnhcsdZqrabRhSGfWGvdowLM2w9EGHPaCg9xgVHEacVIVfo68KvHV8ad3XdwWQiwQit7HOmnmWTNv67BRGz3Q7QdzJ0oPNsMJdg657ZrhbRZgnmZbPuOXayeMwomX74HEequS9CxZJaZdvurDC9pZJaNoDKPO4JzwOT9os3ZhblHrEJZ4qIsS8brZmpoPtlw0zcEZBJxhK7tZbqEcASuRMZtyyjHdHYYSsffdVD7Ic5ZxQcBPZ2zZgfzTidHOakpw2iDRWD5XgZpEVpSSUTMZx4jrtdF2FiQ9J5qlHLc9zkH30sOzgtpY877fVX9cWbvMByezb43YgwtW9imH6ftUb8utN7ooqdPQkNGi2GVQMmiaPN3LcLG4nwIlSQqxPDYpvPYhIIv0pZ7Ek70lqJ3FCHhgKWXJFgCeVXKVv3lUEtcN4q8ByNglqnCZGAZs3Pulk61y6vSZH6jNfcMFZAEu4IAQQEiZ6Z0qcvE81HNm775tZ0iggVeQNZDXQpPWhzqNWbBfYOZonaRZdhvVl9PErIcHAN2cWzXOcqFN65yZJSXs6Btza7FRuVIMiXLxXkuvIRD0jZ0UdrsXVqdZhU6z9fz5qci2BgcvV6GNN8k2bapf5RJJIKPRit9SlZr0x3yI8nnyUMmb7MLUmNsNoEYh1WWXn80HmuMSRGmk4aiemGt34O74zJqJCi0ENoIKMt1HG0cFhdL8ix1waMCRZkJ4Z5KaXx3KQjkWvqpPZ2RWqoAv0SZBCZdp89ZuoYnrJMj1c0S8dzJ1i80Llt6uGW2vqq1kQvRvACZxkJfm04DVA8xxB4payxuhIgQKZId0FCbN0i1YyOZoXMqThPljdioTKcheaJSdDhauVFskIKzJSjh4b3eNF8FQfcpC3DlMB2NdrtZ4ZmW2b1P2bdMXt0yG1ipYyFW8D8aIWIpfra8vDQ70YiHsZLodVoEWUifPcvINZ8XRQXD83xvYSDDLB9UnjVLqEiVAlcPSnDJUkb0NPPXa7cw31HZ66vKyqen51EeZBxMnY1C4OkSUhYlyKhqtpB01Tqxq7IyHqU88S2VBN3cXZpXsrAZ7GP0hEsc5yZmjrw3dxKBZv33Y2mPzujGtp3Z9qzHmhaKg1indfH9URc3HCTZAo7m5bdnwLcMbQcVJ8iLjEKZCPnu8puwetatatrJdJN6eZhoTZzVDLtgUz3PREkebZ9uvgZGmLlhUvaW1i7wZmh9zQOZaZ8nB4rVUzb1y86DvpHPKvEZ6hx9hNkJZ3softNGb5djZjGgYOZFEKtlUz1BZdptGZDR3lUtChwrVzh02g9ss4D64H7gT24Mcl5uJwPSPqOytNNYUWqj88kfhlsciKMdhaoxaSXecPP07tfsp3NI2FikqBTShQyZit63CdJx1PFrlJcvLcWb1RKmPvVcE9aVCjFP7c6qU2Gs6rm4DAsMBjnhOThn6pusLVWBwbVNCsRLd3ZAZ9JshFknRYzj6rSLGOwSrG0UdTC3Ut1cMRlvLnbbgvAWqYbATbTNXcbc3vIK1NkJXfnSJmyS2C9rZmyPPzcO0ASwjjlaC405KhXCavZJEAzaODjacEe2VHntLdREB4E3By2yGJwmBsI6tKCTuLnch9mhPJxdCZmDjvgbCgKhtJrVcocyEZ118awTmULulZyjgRmk1433, libwx_gtk3u_core-3.0.so.0(WXU_3.0), libwx_gtk3u_stc-3.0.so.0 >= set:njMZIp9tTbuprfWUsd8hcWGIk05PmvviGteW2D, libwx_gtk3u_stc-3.0.so.0(WXU_3.0), libwx_gtk3u_xrc-3.0.so.0 >= set:njzAccNis8KIJPSsjMzSR9CpjUDZdIwWIjO0, libwx_gtk3u_xrc-3.0.so.0(WXU_3.0), rtld(GNU_HASH), rtld(GNU_UNIQUE) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.FIicFJ Creating poedit-debuginfo package Processing files: poedit-debuginfo-2.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1sZEto find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bCx5EQ find-requires: running scripts (debuginfo) Requires: poedit = 2.2-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libboost_iostreams.so.1.67.0), debug(libboost_system.so.1.67.0), debug(libboost_thread.so.1.67.0), debug(libc.so.6), debug(libcpprest.so.2.10), debug(libcrypto.so.1.1), debug(libgcc_s.so.1), debug(libglib-2.0.so.0), debug(libgobject-2.0.so.0), debug(libgtk-3.so.0), debug(libgtkspell3-3.so.0), debug(libicui18n.so.63), debug(libicuuc.so.63), debug(liblucene++.so.0), debug(libm.so.6), debug(libpthread.so.0), debug(libsecret-1.so.0), debug(libstdc++.so.6), debug(libwx_baseu-3.0.so.0), debug(libwx_baseu_net-3.0.so.0), debug(libwx_gtk3u_adv-3.0.so.0), debug(libwx_gtk3u_core-3.0.so.0), debug(libwx_gtk3u_stc-3.0.so.0), debug(libwx_gtk3u_xrc-3.0.so.0) Wrote: /usr/src/RPM/RPMS/i586/poedit-2.2-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/poedit-debuginfo-2.2-alt1.i586.rpm 592.96user 20.59system 8:22.86elapsed 122%CPU (0avgtext+0avgdata 859052maxresident)k 0inputs+0outputs (0major+9196024minor)pagefaults 0swaps 620.18user 25.63system 9:15.42elapsed 116%CPU (0avgtext+0avgdata 859052maxresident)k 10744inputs+0outputs (0major+9849720minor)pagefaults 0swaps --- poedit-2.2-alt1.i586.rpm.repo 2018-10-23 08:59:55.000000000 +0000 +++ poedit-2.2-alt1.i586.rpm.hasher 2019-01-09 11:29:38.971915178 +0000 @@ -177,3 +177,2 @@ Requires: rpmlib(PayloadIsLzma) -Provides: .sisyphus.215328.1300.7.1-poedit-2.2-alt1 Provides: poedit = 2.2-alt1 --- poedit-debuginfo-2.2-alt1.i586.rpm.repo 2018-10-23 08:59:55.000000000 +0000 +++ poedit-debuginfo-2.2-alt1.i586.rpm.hasher 2019-01-09 11:29:39.019915178 +0000 @@ -125,3 +125,3 @@ /usr/src/debug/poedit-2.2/src/wx_backports/wx_gtk_nativewin.cpp 100644 -Requires: .sisyphus.215328.1300.7.1-poedit-2.2-alt1 +Requires: poedit = 2.2-alt1 Requires: /usr/lib/debug/lib/ld-linux.so.2.debug