<86>Mar 27 13:26:15 userdel[21244]: delete user 'rooter' <86>Mar 27 13:26:15 userdel[21244]: removed group 'rooter' owned by 'rooter' <86>Mar 27 13:26:15 userdel[21244]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 27 13:26:15 groupadd[21260]: group added to /etc/group: name=rooter, GID=609 <86>Mar 27 13:26:15 groupadd[21260]: group added to /etc/gshadow: name=rooter <86>Mar 27 13:26:15 groupadd[21260]: new group: name=rooter, GID=609 <86>Mar 27 13:26:15 useradd[21269]: new user: name=rooter, UID=609, GID=609, home=/root, shell=/bin/bash <86>Mar 27 13:26:15 userdel[21285]: delete user 'builder' <86>Mar 27 13:26:15 userdel[21285]: removed group 'builder' owned by 'builder' <86>Mar 27 13:26:15 userdel[21285]: removed shadow group 'builder' owned by 'builder' <86>Mar 27 13:26:15 groupadd[21295]: group added to /etc/group: name=builder, GID=610 <86>Mar 27 13:26:15 groupadd[21295]: group added to /etc/gshadow: name=builder <86>Mar 27 13:26:15 groupadd[21295]: new group: name=builder, GID=610 <86>Mar 27 13:26:15 useradd[21302]: new user: name=builder, UID=610, GID=610, home=/usr/src, shell=/bin/bash <13>Mar 27 13:26:34 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Mar 27 13:26:34 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Mar 27 13:26:34 rpmi: libwayland-client-1.16.0-alt1 1535614871 installed <13>Mar 27 13:26:34 rpmi: libjpeg-2:1.5.1-alt1 1498218318 installed <13>Mar 27 13:26:34 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633314 installed <13>Mar 27 13:26:34 rpmi: libsqlite3-3.27.2-alt1 sisyphus+225506.100.1.1 1553253705 installed <13>Mar 27 13:26:34 rpmi: libglvnd-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Mar 27 13:26:35 rpmi: libicu63-1:6.3.1-alt1 sisyphus.215328.100 1540049988 installed <13>Mar 27 13:26:35 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Mar 27 13:26:35 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Mar 27 13:26:35 rpmi: libSM-1.2.3-alt1 sisyphus.215747.100 1540812795 installed <13>Mar 27 13:26:35 rpmi: libwayland-egl-4:18.1.0-alt1 1535614871 installed <13>Mar 27 13:26:35 rpmi: libwayland-server-1.16.0-alt1 1535614871 installed <13>Mar 27 13:26:35 rpmi: libidn2-2.1.1-alt1 sisyphus+221274.100.1.2 1549951289 installed <13>Mar 27 13:26:35 rpmi: perl-XML-NamespaceSupport-1.12-alt1 1491296348 installed <13>Mar 27 13:26:35 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Mar 27 13:26:35 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Mar 27 13:26:35 rpmi: libtiff5-4.0.3-alt1 1348347501 installed <13>Mar 27 13:26:35 rpmi: libgudev-1:232-alt3 1523738518 installed <13>Mar 27 13:26:35 rpmi: libfribidi-1.0.5-alt1 1532424345 installed <13>Mar 27 13:26:35 rpmi: liblcms2-2.9-alt1 1516411892 installed <13>Mar 27 13:26:35 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Mar 27 13:26:35 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus.215491.100 1540428597 installed <13>Mar 27 13:26:35 rpmi: libbrotlidec-1.0.7-alt1 sisyphus.215491.100 1540428597 installed <13>Mar 27 13:26:35 rpmi: libnettle6-3.4.1-alt1 sisyphus.217427.100 1544107917 installed <13>Mar 27 13:26:35 rpmi: libquadmath0-8.3.1-alt2 sisyphus+224979.100.1.1 1552540396 installed <13>Mar 27 13:26:35 rpmi: libgraphite2-1.3.13-alt1 sisyphus.218545.100 1545686511 installed <13>Mar 27 13:26:35 rpmi: libharfbuzz-2.2.0-alt1 sisyphus.218134.500 1545261518 installed <13>Mar 27 13:26:35 rpmi: libfreetype-2.10.0-alt1 sisyphus+225205.100.1.2 1552930259 installed <13>Mar 27 13:26:36 rpmi: fontconfig-2.13.1-alt1 sisyphus.215917.100 1540973886 installed Updating fonts cache: <29>Mar 27 13:26:37 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Mar 27 13:26:37 rpmi: libharfbuzz-icu-2.2.0-alt1 sisyphus.218134.500 1545261518 installed <13>Mar 27 13:26:37 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed <13>Mar 27 13:26:37 rpmi: perl-Compress-Raw-Zlib-2.084-alt1.1 sisyphus+219907.700.1.1 1548343625 installed <13>Mar 27 13:26:37 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Mar 27 13:26:37 rpmi: perl-XML-SAX-Base-1.09-alt1 1494364363 installed <13>Mar 27 13:26:37 rpmi: rpm-macros-info-install-6.5-alt2 sisyphus+220294.200.2.1 1548933637 installed <13>Mar 27 13:26:37 rpmi: xml-utils-1:2.9.4.0.12.e905-alt1.1 1525115767 installed <13>Mar 27 13:26:37 rpmi: sgml-common-0.6.3-alt15 1423664786 installed <13>Mar 27 13:26:37 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Mar 27 13:26:37 rpmi: libp11-kit-0.23.9-alt5 1525798298 installed <13>Mar 27 13:26:37 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Mar 27 13:26:37 rpmi: docbook-dtds-4.5-alt1 1223476557 installed <13>Mar 27 13:26:37 rpmi: rpm-build-gir-0.7.2-alt4 1534675014 installed <13>Mar 27 13:26:37 rpmi: libgraphite2-devel-1.3.13-alt1 sisyphus.218545.100 1545686511 installed <13>Mar 27 13:26:37 rpmi: libquadmath8-devel-8.3.1-alt2 sisyphus+224979.100.1.1 1552540396 installed <13>Mar 27 13:26:37 rpmi: libgfortran5-8.3.1-alt2 sisyphus+224979.100.1.1 1552540396 installed <13>Mar 27 13:26:37 rpmi: libhogweed4-3.4.1-alt1 sisyphus.217427.100 1544107917 installed <13>Mar 27 13:26:37 rpmi: libgnutls30-3.6.6-alt1 sisyphus+219978.100.1.1 1548422819 installed <13>Mar 27 13:26:37 rpmi: libbrotlienc-1.0.7-alt1 sisyphus.215491.100 1540428597 installed <13>Mar 27 13:26:37 rpmi: libwoff2-1.0.2-alt2 1516265772 installed <13>Mar 27 13:26:37 rpmi: libpng-devel-1.6.36-alt1 sisyphus+219478.100.1.1 1547633314 installed <13>Mar 27 13:26:37 rpmi: libICE-devel-1.0.9-alt1 1409902721 installed <13>Mar 27 13:26:37 rpmi: libSM-devel-1.2.3-alt1 sisyphus.215747.100 1540812795 installed <13>Mar 27 13:26:37 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Mar 27 13:26:37 rpmi: icu-utils-1:6.3.1-alt1 sisyphus.215328.100 1540049988 installed <13>Mar 27 13:26:38 rpmi: libicu-devel-1:6.3.1-alt1 sisyphus.215328.100 1540049988 installed <13>Mar 27 13:26:38 rpmi: libOpenGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Mar 27 13:26:38 rpmi: libGLES-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Mar 27 13:26:38 rpmi: libjasper-2.0.14-alt1 1530105217 installed <13>Mar 27 13:26:38 rpmi: libwayland-cursor-1.16.0-alt1 1535614871 installed <13>Mar 27 13:26:38 rpmi: wayland-devel-1.16.0-alt1 1535614871 installed <13>Mar 27 13:26:38 rpmi: libwayland-client-devel-1.16.0-alt1 1535614871 installed <13>Mar 27 13:26:38 rpmi: libwebp7-1.0.2-alt1 sisyphus+219651.100.1.2 1548057725 installed <13>Mar 27 13:26:38 rpmi: libopenjpeg2.0-2.3.0-alt2 sisyphus.216213.100 1541598437 installed <13>Mar 27 13:26:38 rpmi: libmspack-0.6-alt1 1530626814 installed <13>Mar 27 13:26:38 rpmi: libhyphen-2.8.8-alt1 1433702533 installed <13>Mar 27 13:26:38 rpmi: libxkbcommon-0.8.4-alt1 sisyphus+222759.100.1.1 1551009799 installed <13>Mar 27 13:26:38 rpmi: udev-rules-1:241-alt3 sisyphus+222052.100.2.1 1550680909 installed <13>Mar 27 13:26:38 rpmi: libgtk+2-locales-2.24.32-alt2 1518699309 installed <13>Mar 27 13:26:38 rpmi: liborc-0.4.28-alt1 1511201506 installed <13>Mar 27 13:26:38 rpmi: libepoxy-1.5.3-alt1 sisyphus.214119.100 1538723829 installed <13>Mar 27 13:26:38 rpmi: libhunspell-1.7.0-alt1 sisyphus.216944.100 1543319096 installed <13>Mar 27 13:26:38 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed <13>Mar 27 13:26:38 rpmi: libthai-0.1.28-alt1_1 sisyphus.214516.100 1539257851 installed <13>Mar 27 13:26:38 rpmi: publicsuffix-list-dafsa-20181106-alt1 sisyphus.216228.100 1541611754 installed <13>Mar 27 13:26:38 rpmi: libpsl-0.20.2-alt2 sisyphus+222635.100.1.1 1550951841 installed <13>Mar 27 13:26:38 rpmi: libnghttp2-1.34.0-alt1 sisyphus+222625.100.1.1 1550947259 installed <13>Mar 27 13:26:38 rpmi: libusb-1.0.22-alt1 1525452055 installed <13>Mar 27 13:26:38 rpmi: libpixman-3:0.38.0-alt1 sisyphus+221327.100.1.1 1549959657 installed <13>Mar 27 13:26:38 rpmi: libaspell-0.60.6.1-alt3 1534002619 installed <13>Mar 27 13:26:38 rpmi: libenchant2-2.2.3-alt2 sisyphus.212851.200 1538554923 installed <13>Mar 27 13:26:39 rpmi: libSDL2-2.0.9-alt2 sisyphus+224084.100.1.2 1551995688 installed <13>Mar 27 13:26:39 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Mar 27 13:26:39 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>Mar 27 13:26:39 rpmi: libdrm-1:2.4.97-alt1 sisyphus+220483.100.1.1 1549270242 installed <13>Mar 27 13:26:39 rpmi: libgbm-4:19.0.0-alt1 sisyphus+224993.400.4.1 1552635329 installed <13>Mar 27 13:26:39 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Mar 27 13:26:39 rpmi: libgdk-pixbuf-locales-2.38.1-alt1 sisyphus+223283.100.1.1 1551374215 installed <13>Mar 27 13:26:39 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Mar 27 13:26:41 rpmi: glibc-devel-static-6:2.27-alt8 sisyphus.219011.100 1547073625 installed <13>Mar 27 13:26:41 rpmi: libproxy-0.4.15-alt2 sisyphus+222634.100.1.1 1550954627 installed <13>Mar 27 13:26:41 rpmi: gcc-fortran-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Mar 27 13:26:41 rpmi: libgfortran8-devel-8.3.1-alt2 sisyphus+224979.100.1.1 1552540396 installed <13>Mar 27 13:26:42 rpmi: gcc8-fortran-8.3.1-alt2 sisyphus+224979.100.1.1 1552540396 installed <13>Mar 27 13:26:42 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Mar 27 13:26:43 rpmi: libstdc++8-devel-8.3.1-alt2 sisyphus+224979.100.1.1 1552540396 installed <13>Mar 27 13:26:44 rpmi: gcc8-c++-8.3.1-alt2 sisyphus+224979.100.1.1 1552540396 installed <13>Mar 27 13:26:46 rpmi: libstdc++8-devel-static-8.3.1-alt2 sisyphus+224979.100.1.1 1552540396 installed <13>Mar 27 13:26:46 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Mar 27 13:26:46 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed <13>Mar 27 13:26:46 rpmi: perl-Compress-Raw-Bzip2-2.084-alt1.1 sisyphus+219907.1000.1.1 1548343668 installed <13>Mar 27 13:26:46 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Mar 27 13:26:46 rpmi: perl-Term-ANSIColor-4.06-alt1 1479407083 installed <13>Mar 27 13:26:46 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Mar 27 13:26:46 rpmi: tex-common-0.2-alt4 1244804096 installed <13>Mar 27 13:26:46 rpmi: texi2dvi-6.5-alt2 sisyphus+220294.200.2.1 1548933637 installed <13>Mar 27 13:26:46 rpmi: perl-Unicode-Normalize-1:5.28.1-alt1 sisyphus+219907.100.1.1 1548343222 installed <13>Mar 27 13:26:46 rpmi: perl-Unicode-EastAsianWidth-1.40-alt1 sisyphus.217785.100 1544703272 installed <13>Mar 27 13:26:46 rpmi: perl-Text-Unidecode-1.30-alt1 1480505027 installed <13>Mar 27 13:26:46 rpmi: perl-Pod-Escapes-1.07-alt1 1418767892 installed <13>Mar 27 13:26:46 rpmi: perl-Filter-1.59-alt1.1 sisyphus+219907.400.1.1 1548343389 installed <13>Mar 27 13:26:46 rpmi: perl-Encode-3.01-alt1 sisyphus+224923.100.1.1 1552474122 installed <13>Mar 27 13:26:46 rpmi: perl-URI-1.76-alt1 sisyphus+220243.100.1.1 1548863244 installed <13>Mar 27 13:26:46 rpmi: perl-IO-Compress-2.084-alt1 sisyphus+219744.100.2.1 1548168679 installed <13>Mar 27 13:26:46 rpmi: perl-Net-HTTP-6.18-alt1 1526560501 installed <13>Mar 27 13:26:46 rpmi: perl-HTML-Parser-3.72-alt1.2 sisyphus+219907.600.1.1 1548343581 installed <13>Mar 27 13:26:46 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Mar 27 13:26:46 rpmi: perl-libintl-1.31-alt1.1 sisyphus+219907.6300.1.1 1548352985 installed <13>Mar 27 13:26:46 rpmi: perl-Pod-Simple-3.35-alt1 1482098090 installed <13>Mar 27 13:26:46 rpmi: makeinfo-6.5-alt2 sisyphus+220294.200.2.1 1548933643 installed <13>Mar 27 13:26:46 rpmi: texinfo-6.5-alt2 sisyphus+220294.200.2.1 1548933643 installed <13>Mar 27 13:26:46 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Mar 27 13:26:46 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Mar 27 13:26:46 rpmi: perl-HTTP-Message-6.18-alt1 1528288416 installed <13>Mar 27 13:26:46 rpmi: perl-HTTP-Cookies-6.04-alt1 1504116575 installed <13>Mar 27 13:26:46 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Mar 27 13:26:46 rpmi: perl-libwww-6.37-alt1 sisyphus+224063.100.1.1 1551968725 installed <13>Mar 27 13:26:46 rpmi: perl-XML-LibXML-2.0134-alt1 sisyphus+221347.100.1.1 1549969058 installed <13>Mar 27 13:26:46 rpmi: perl-XML-SAX-1.00-alt1 1519094959 installed <13>Mar 27 13:26:46 rpmi: perl-XML-Simple-2.25-alt1 1521437714 installed <13>Mar 27 13:26:46 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Mar 27 13:26:48 rpmi: icon-theme-adwaita-3.32.0-alt1 sisyphus+225063.1600.1.1 1552933594 installed <13>Mar 27 13:26:48 rpmi: libOpenSP-1.5.2-alt3.qa1 1365943435 installed <13>Mar 27 13:26:48 rpmi: openjade-1.3.2-alt15 sisyphus+219815.100.1.1 1548167857 installed <13>Mar 27 13:26:49 rpmi: libruby-2.5.4-alt3 sisyphus+220149.50.44.1 1552160041 installed <13>Mar 27 13:26:49 rpmi: libyaml2-0.2.1-alt1 sisyphus+222676.100.1.1 1550991397 installed <13>Mar 27 13:26:49 rpmi: bc-1:1.07.1-alt1 sisyphus+221902.700.4.1 1550587857 installed <13>Mar 27 13:26:49 rpmi: libatk-locales-2.32.0-alt1 sisyphus+225059.600.3.2 1552845198 installed <13>Mar 27 13:26:49 rpmi: libatk-2.32.0-alt1 sisyphus+225059.600.3.2 1552845362 installed <13>Mar 27 13:26:49 rpmi: shared-mime-info-1.12-alt1 sisyphus+219597.100.2.2 1548057005 installed <13>Mar 27 13:26:49 rpmi: gsettings-desktop-schemas-data-3.32.0-alt1 sisyphus+225059.300.3.2 1552843929 installed <13>Mar 27 13:26:50 rpmi: libgio-2.60.0-alt1 sisyphus+225059.100.3.2 1552843618 installed <13>Mar 27 13:26:50 rpmi: gsettings-desktop-schemas-3.32.0-alt1 sisyphus+225059.300.3.2 1552843980 installed <13>Mar 27 13:26:50 rpmi: libgdk-pixbuf-2.38.1-alt1 sisyphus+223283.100.1.1 1551374252 installed <13>Mar 27 13:26:50 rpmi: libnotify-0.7.7-alt1.2 1525614802 installed <13>Mar 27 13:26:50 rpmi: libgstreamer1.0-1.15.2-alt1 sisyphus+225059.1700.3.2 1552847065 installed <13>Mar 27 13:26:50 rpmi: gtk-update-icon-cache-3.24.7-alt1 sisyphus+225059.1000.3.2 1552845896 installed <13>Mar 27 13:26:50 rpmi: libgusb-0.3.0-alt1 1518891735 installed <13>Mar 27 13:26:50 rpmi: libcolord-1.4.4-alt1 sisyphus+224111.100.1.1 1552060572 installed <13>Mar 27 13:26:50 rpmi: libdconf-0.32.0-alt1 sisyphus+225059.1100.3.2 1552846106 installed <13>Mar 27 13:26:50 rpmi: libjson-glib-1.4.4-alt1 sisyphus.213175.100 1537249589 installed <13>Mar 27 13:26:50 rpmi: libjavascriptcoregtk4-2.24.0-alt1 sisyphus+225059.2200.3.2 1552849457 installed <13>Mar 27 13:26:50 rpmi: liblz4-1:1.8.3-alt2 sisyphus+221902.4200.4.1 1550599659 installed <13>Mar 27 13:26:50 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Mar 27 13:26:50 rpmi: libgcrypt20-1.8.4-alt1 sisyphus+225621.500.1.1 1553521735 installed <13>Mar 27 13:26:50 rpmi: libsystemd-1:241-alt3 sisyphus+222052.100.2.1 1550681059 installed <13>Mar 27 13:26:51 rpmi: libdbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918047 installed <13>Mar 27 13:26:51 rpmi: dbus-tools-1.12.12-alt2 sisyphus+221234.100.1.2 1549918047 installed <86>Mar 27 13:26:51 groupadd[17877]: group added to /etc/group: name=messagebus, GID=499 <86>Mar 27 13:26:51 groupadd[17877]: group added to /etc/gshadow: name=messagebus <86>Mar 27 13:26:51 groupadd[17877]: new group: name=messagebus, GID=499 <86>Mar 27 13:26:51 useradd[17893]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null <13>Mar 27 13:26:51 rpmi: dbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918047 installed <13>Mar 27 13:26:51 rpmi: libxslt-1.1.32-alt2 1517429984 installed <13>Mar 27 13:26:51 rpmi: xsltproc-1.1.32-alt2 1517429984 installed <13>Mar 27 13:26:51 rpmi: dconf-0.32.0-alt1 sisyphus+225059.1100.3.2 1552846106 installed <13>Mar 27 13:26:51 rpmi: libgtk+3-schemas-3.24.7-alt1 sisyphus+225059.1000.3.2 1552845705 installed <13>Mar 27 13:26:51 rpmi: libavahi-0.6.32-alt1 1500485702 installed <13>Mar 27 13:26:51 rpmi: libcups-2.2.10-alt2 sisyphus+224799.100.1.1 1552314897 installed <13>Mar 27 13:26:51 rpmi: libpolkit-0.115-alt5 sisyphus.219065.100 1547027030 installed <86>Mar 27 13:26:51 groupadd[18046]: group added to /etc/group: name=colord, GID=498 <86>Mar 27 13:26:51 groupadd[18046]: group added to /etc/gshadow: name=colord <86>Mar 27 13:26:51 groupadd[18046]: new group: name=colord, GID=498 <86>Mar 27 13:26:51 useradd[18051]: new user: name=colord, UID=498, GID=498, home=/var/colord, shell=/dev/null <13>Mar 27 13:26:51 rpmi: colord-1.4.4-alt1 sisyphus+224111.100.1.1 1552060572 installed <13>Mar 27 13:26:51 rpmi: libsecret-0.18.8-alt1 sisyphus+223449.100.1.1 1551519613 installed <13>Mar 27 13:26:51 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Mar 27 13:26:51 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Mar 27 13:26:51 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Mar 27 13:26:51 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Mar 27 13:26:51 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Mar 27 13:26:51 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Mar 27 13:26:51 rpmi: libXfixes-5.0.3-alt1 sisyphus.216396.300 1542022162 installed <13>Mar 27 13:26:51 rpmi: libXi-1.7.9-alt1.S1 1515755342 installed <13>Mar 27 13:26:51 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Mar 27 13:26:51 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Mar 27 13:26:51 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Mar 27 13:26:51 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949137 installed <13>Mar 27 13:26:51 rpmi: libGLX-mesa-4:19.0.0-alt1 sisyphus+224993.400.4.1 1552635329 installed <13>Mar 27 13:26:51 rpmi: libEGL-mesa-4:19.0.0-alt1 sisyphus+224993.400.4.1 1552635329 installed <13>Mar 27 13:26:51 rpmi: libEGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Mar 27 13:26:51 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949218 installed <13>Mar 27 13:26:51 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Mar 27 13:26:51 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed <13>Mar 27 13:26:51 rpmi: libat-spi2-core-2.32.0-alt1 sisyphus+225059.500.3.2 1552845273 installed <13>Mar 27 13:26:51 rpmi: libXt-1.1.4-alt1 1369984722 installed <13>Mar 27 13:26:54 rpmi: libxcb-devel-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Mar 27 13:26:54 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Mar 27 13:26:54 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Mar 27 13:26:54 rpmi: libXrender-devel-0.9.8-alt1 1371312112 installed <13>Mar 27 13:26:54 rpmi: libXfixes-devel-5.0.3-alt1 sisyphus.216396.300 1542022162 installed <13>Mar 27 13:26:54 rpmi: libXt-devel-1.1.4-alt1 1369984722 installed <13>Mar 27 13:26:54 rpmi: libXmu-1.1.3-alt1 sisyphus+225206.1200.1.2 1552949641 installed <13>Mar 27 13:26:54 rpmi: libGLX-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Mar 27 13:26:54 rpmi: libGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Mar 27 13:26:54 rpmi: libcairo-1:1.16.0-alt1 sisyphus.215566.100 1540457683 installed <13>Mar 27 13:26:54 rpmi: libpango-1.42.4-alt1 1534787259 installed <13>Mar 27 13:26:54 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus.215566.100 1540457683 installed <13>Mar 27 13:26:54 rpmi: libglvnd-devel-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Mar 27 13:26:54 rpmi: libEGL-devel-4:19.0.0-alt1 sisyphus+224993.400.4.1 1552635329 installed <13>Mar 27 13:26:54 rpmi: libGL-devel-4:19.0.0-alt1 sisyphus+224993.400.4.1 1552635329 installed <13>Mar 27 13:26:54 rpmi: libgst-plugins1.0-1.15.2-alt1 sisyphus+225059.2000.3.2 1552847431 installed <13>Mar 27 13:26:55 rpmi: libgtk+2-2.24.32-alt2 1518699309 installed <13>Mar 27 13:26:55 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Mar 27 13:26:55 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Mar 27 13:26:55 rpmi: libfreeglut-3.0.0-alt3 sisyphus.215254.100 1540853076 installed <13>Mar 27 13:26:55 rpmi: libXtst-1.2.2-alt1 1369984893 installed <13>Mar 27 13:26:55 rpmi: dbus-tools-gui-1.12.12-alt2 sisyphus+221234.100.1.2 1549918047 installed <13>Mar 27 13:26:55 rpmi: at-spi2-core-2.32.0-alt1 sisyphus+225059.500.3.2 1552845273 installed <13>Mar 27 13:26:55 rpmi: at-spi2-atk-2.32.0-alt1 sisyphus+225059.700.3.2 1552845433 installed <13>Mar 27 13:26:55 rpmi: libgdk-pixbuf-xlib-2.38.1-alt1 sisyphus+223283.100.1.1 1551374252 installed <13>Mar 27 13:26:55 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Mar 27 13:26:55 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Mar 27 13:26:55 rpmi: python-modules-curses-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Mar 27 13:26:55 rpmi: libverto-0.3.0-alt1_7 sisyphus+223221.100.1.1 1551348953 installed <13>Mar 27 13:26:55 rpmi: libkeyutils-1.6-alt2 sisyphus.217337.100 1544003161 installed <13>Mar 27 13:26:55 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Mar 27 13:26:55 rpmi: rpm-macros-alternatives-0.5.0-alt1 sisyphus+221902.300.4.1 1550587121 installed <13>Mar 27 13:26:55 rpmi: alternatives-0.5.0-alt1 sisyphus+221902.300.4.1 1550587121 installed <13>Mar 27 13:26:55 rpmi: ca-certificates-2019.02.01-alt1 sisyphus+220384.200.1.1 1549032756 installed <13>Mar 27 13:26:55 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Mar 27 13:26:55 rpmi: p11-kit-trust-0.23.9-alt5 1525798298 installed <13>Mar 27 13:26:55 rpmi: libcrypto1.1-1.1.1b-alt1 sisyphus+225327.200.2.1 1553099317 installed <13>Mar 27 13:26:55 rpmi: libssl1.1-1.1.1b-alt1 sisyphus+225327.200.2.1 1553099317 installed <13>Mar 27 13:26:55 rpmi: ruby-rubygems-update-3.0.1-alt1 sisyphus+218713.1100.2.1 1547736306 installed <13>Mar 27 13:26:55 rpmi: gem-did-you-mean-1.3.0-alt1 sisyphus+219587.100.1.1 1547808061 installed <13>Mar 27 13:26:55 rpmi: ruby-minitest-5.11.3-alt1 sisyphus+219345.3500.8.1 1547631954 installed <13>Mar 27 13:26:55 rpmi: ruby-net-telnet-0.2.0-alt1 sisyphus+219345.2700.8.1 1547631566 installed <13>Mar 27 13:26:55 rpmi: gem-power-assert-1.1.3-alt1 sisyphus+219345.3200.8.1 1547631761 installed <13>Mar 27 13:26:55 rpmi: rake-12.3.2-alt2 sisyphus+218713.60.1.1 1547734935 installed <13>Mar 27 13:26:55 rpmi: ruby-rake-12.3.2-alt2 sisyphus+218713.60.1.1 1547734935 installed <13>Mar 27 13:26:55 rpmi: ruby-test-unit-1:3.2.9-alt1 sisyphus+219345.3100.8.1 1547631703 installed <13>Mar 27 13:26:55 rpmi: ruby-xmlrpc-0.3.0-alt1 sisyphus+219345.3300.8.1 1547631818 installed <13>Mar 27 13:26:55 rpmi: gem-2.5.4-alt3 sisyphus+220149.50.44.1 1552160010 installed <13>Mar 27 13:26:55 rpmi: ri-6.1.1-alt3 sisyphus+220149.7500.44.1 1552167568 installed <13>Mar 27 13:26:55 rpmi: rdoc-6.1.1-alt3 sisyphus+220149.7500.44.1 1552167568 installed <13>Mar 27 13:26:55 rpmi: ruby-rdoc-6.1.1-alt3 sisyphus+220149.7500.44.1 1552167568 installed <13>Mar 27 13:26:56 rpmi: ruby-stdlibs-2.5.4-alt3 sisyphus+220149.50.44.1 1552160041 installed <13>Mar 27 13:26:56 rpmi: erb-2.5.4-alt3 sisyphus+220149.50.44.1 1552160010 installed <13>Mar 27 13:26:56 rpmi: irb-2.5.4-alt3 sisyphus+220149.50.44.1 1552160010 installed <13>Mar 27 13:26:56 rpmi: ruby-bundler-2.0.1-alt1 sisyphus+218713.700.2.1 1547736109 installed <13>Mar 27 13:26:56 rpmi: bundle-2.0.1-alt1 sisyphus+218713.700.2.1 1547736109 installed <13>Mar 27 13:26:56 rpmi: ruby-2.5.4-alt3 sisyphus+220149.50.44.1 1552160041 installed <86>Mar 27 13:26:56 groupadd[20994]: group added to /etc/group: name=_keytab, GID=497 <86>Mar 27 13:26:56 groupadd[20994]: group added to /etc/gshadow: name=_keytab <86>Mar 27 13:26:56 groupadd[20994]: new group: name=_keytab, GID=497 <13>Mar 27 13:26:56 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746516 installed <13>Mar 27 13:26:56 rpmi: libpython3-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Mar 27 13:26:56 rpmi: python3-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Mar 27 13:26:57 rpmi: python3-base-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Mar 27 13:26:57 rpmi: glib2-devel-2.60.0-alt1 sisyphus+225059.100.3.2 1552843618 installed <13>Mar 27 13:26:57 rpmi: libgio-devel-2.60.0-alt1 sisyphus+225059.100.3.2 1552843618 installed <13>Mar 27 13:26:57 rpmi: libgdk-pixbuf-devel-2.38.1-alt1 sisyphus+223283.100.1.1 1551374252 installed <13>Mar 27 13:26:57 rpmi: libharfbuzz-devel-2.2.0-alt1 sisyphus.218134.500 1545261518 installed <13>Mar 27 13:26:58 rpmi: libfreetype-devel-2.10.0-alt1 sisyphus+225205.100.1.2 1552930259 installed <13>Mar 27 13:26:58 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus.215917.100 1540973886 installed <13>Mar 27 13:26:58 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus.215566.100 1540457683 installed <13>Mar 27 13:26:58 rpmi: libcairo-gobject-devel-1:1.16.0-alt1 sisyphus.215566.100 1540457683 installed <13>Mar 27 13:26:58 rpmi: libXft-devel-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Mar 27 13:26:58 rpmi: libpango-devel-1.42.4-alt1 1534787259 installed <13>Mar 27 13:26:58 rpmi: libatk-devel-2.32.0-alt1 sisyphus+225059.600.3.2 1552845362 installed <13>Mar 27 13:26:58 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Mar 27 13:26:58 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Mar 27 13:26:58 rpmi: python-modules-compiler-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Mar 27 13:26:58 rpmi: python-modules-email-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Mar 27 13:26:58 rpmi: python-modules-unittest-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Mar 27 13:26:58 rpmi: python-modules-nis-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Mar 27 13:26:58 rpmi: python-modules-encodings-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Mar 27 13:26:59 rpmi: python-modules-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Mar 27 13:26:59 rpmi: python-modules-xml-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Mar 27 13:26:59 rpmi: gtk-builder-convert-2.24.32-alt2 1518699309 installed <13>Mar 27 13:26:59 rpmi: python-modules-hotshot-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Mar 27 13:26:59 rpmi: python-modules-bsddb-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Mar 27 13:26:59 rpmi: python-modules-ctypes-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Mar 27 13:26:59 rpmi: python-modules-multiprocessing-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Mar 27 13:26:59 rpmi: python-modules-logging-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Mar 27 13:26:59 rpmi: python-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Mar 27 13:26:59 rpmi: python-modules-distutils-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Mar 27 13:26:59 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <86>Mar 27 13:26:59 groupadd[23948]: group added to /etc/group: name=sasl, GID=496 <86>Mar 27 13:26:59 groupadd[23948]: group added to /etc/gshadow: name=sasl <86>Mar 27 13:26:59 groupadd[23948]: new group: name=sasl, GID=496 <13>Mar 27 13:26:59 rpmi: libsasl2-3-2.1.27-alt1 sisyphus+223971.100.1.1 1551928460 installed <13>Mar 27 13:26:59 rpmi: libldap-2.4.46-alt1.1 sisyphus+219907.4400.1.1 1548349979 installed <13>Mar 27 13:26:59 rpmi: libcurl-7.64.0-alt2 sisyphus+224983.100.1.2 1552555781 installed <13>Mar 27 13:26:59 rpmi: libmysqlclient21-8.0.15-alt1 sisyphus+223624.140.3.1 1551794946 installed <13>Mar 27 13:26:59 rpmi: glib-networking-2.60.0.1-alt1 sisyphus+225059.1400.3.2 1552846366 installed <13>Mar 27 13:26:59 rpmi: libsoup-2.66.0-alt1 sisyphus+225059.1600.3.2 1552846567 installed <13>Mar 27 13:26:59 rpmi: libsoup-gnome-2.66.0-alt1 sisyphus+225059.1600.3.2 1552846567 installed <13>Mar 27 13:26:59 rpmi: librest-0.8.1-alt1 1508266400 installed <13>Mar 27 13:27:00 rpmi: libgtk+3-3.24.7-alt1 sisyphus+225059.1000.3.2 1552845896 installed <13>Mar 27 13:27:04 rpmi: libwebkit2gtk-2.24.0-alt1 sisyphus+225059.2200.3.2 1552849457 installed <13>Mar 27 13:27:04 rpmi: libwxBase3.0-3.0.4-alt3.2 sisyphus+223008.100.1.3 1551400162 installed <13>Mar 27 13:27:05 rpmi: libwxGTK3.0-3.0.4-alt3.2 sisyphus+223008.100.1.3 1551400162 installed <13>Mar 27 13:27:05 rpmi: libwxGTK3.0-gl-3.0.4-alt3.2 sisyphus+223008.100.1.3 1551400162 installed <13>Mar 27 13:27:05 rpmi: libwxGTK3.0-media-3.0.4-alt3.2 sisyphus+223008.100.1.3 1551400162 installed <13>Mar 27 13:27:05 rpmi: libwxBase3.0-devel-3.0.4-alt3.2 sisyphus+223008.100.1.3 1551400162 installed <13>Mar 27 13:27:05 rpmi: libwxGTK3.0-devel-3.0.4-alt3.2 sisyphus+223008.100.1.3 1551400162 installed <13>Mar 27 13:27:05 rpmi: libgtk+3-devel-3.24.7-alt1 sisyphus+225059.1000.3.2 1552845896 installed <13>Mar 27 13:27:05 rpmi: libmysqlclient21-devel-8.0.15-alt1 sisyphus+223624.140.3.1 1551794946 installed <13>Mar 27 13:27:05 rpmi: libcurl-devel-7.64.0-alt2 sisyphus+224983.100.1.2 1552555781 installed <13>Mar 27 13:27:05 rpmi: python-dev-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Mar 27 13:27:05 rpmi: libnotify-devel-0.7.7-alt1.2 1525614802 installed <13>Mar 27 13:27:05 rpmi: libssl-devel-1.1.1b-alt1 sisyphus+225327.200.2.1 1553099317 installed <13>Mar 27 13:27:05 rpmi: libfreeglut-devel-3.0.0-alt3 sisyphus.215254.100 1540853076 installed <13>Mar 27 13:27:05 rpmi: libXmu-devel-1.1.3-alt1 sisyphus+225206.1200.1.2 1552949641 installed <13>Mar 27 13:27:05 rpmi: libXi-devel-1.7.9-alt1.S1 1515755342 installed <13>Mar 27 13:27:06 rpmi: docbook2X-0.8.8-alt1.1 1449176216 installed <13>Mar 27 13:27:06 rpmi: libstdc++-devel-static-8-alt1 sisyphus+222164.100.1.1 1550685957 installed <13>Mar 27 13:27:06 rpmi: gcc-c++-8-alt1 sisyphus+222164.100.1.1 1550685959 installed <13>Mar 27 13:27:06 rpmi: gcc-fortran-8-alt1 sisyphus+222164.100.1.1 1550685959 installed <13>Mar 27 13:27:06 rpmi: libsqlite3-devel-3.27.2-alt1 sisyphus+225506.100.1.1 1553253705 installed <13>Mar 27 13:27:06 rpmi: libjpeg-devel-2:1.5.1-alt1 1498218318 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/boinc-7.8.4-alt4.1.nosrc.rpm Installing boinc-7.8.4-alt4.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.30819 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf boinc-7.8.4 + echo 'Source #0 (boinc-7.8.4.tar.gz):' Source #0 (boinc-7.8.4.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/boinc-7.8.4.tar.gz + /bin/tar -xf - + echo 'Source #1 (boinc-conffiles-7.8.4.tar):' Source #1 (boinc-conffiles-7.8.4.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/boinc-conffiles-7.8.4.tar + cd boinc-7.8.4 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #3 (install-examples.patch):' Patch #3 (install-examples.patch): + /usr/bin/patch -p1 patching file samples/example_app/Makefile Hunk #1 succeeded at 86 with fuzz 1 (offset 29 lines). + echo 'Patch #4 (install-translations.patch):' Patch #4 (install-translations.patch): + /usr/bin/patch -p1 patching file locale/Makefile.am Hunk #2 succeeded at 47 (offset 3 lines). + echo 'Patch #7 (install-init-script.patch):' Patch #7 (install-init-script.patch): + /usr/bin/patch -p1 patching file client/scripts/Makefile.am + echo 'Patch #8 (alt-service-actions.patch):' Patch #8 (alt-service-actions.patch): + /usr/bin/patch -p1 patching file client/scripts/boinc-client.in + echo 'Patch #9 (fix-boinc-client-service.patch):' Patch #9 (fix-boinc-client-service.patch): + /usr/bin/patch -p1 patching file client/scripts/boinc-client.in + echo 'Patch #10 (README.patch):' Patch #10 (README.patch): + /usr/bin/patch -p1 patching file README.ALT + echo 'Patch #17 (libadds.patch):' Patch #17 (libadds.patch): + /usr/bin/patch -p2 patching file api/static_graphics.cpp patching file sched/Makefile.am Hunk #1 succeeded at 26 (offset -1 lines). patching file zip/Makefile.am Hunk #1 succeeded at 62 with fuzz 2 (offset 12 lines). patching file api/Makefile.am + echo 'Patch #19 (install-py.patch):' Patch #19 (install-py.patch): + /usr/bin/patch -p1 patching file py/Makefile.am Hunk #2 succeeded at 32 (offset 4 lines). + echo 'Patch #21 (make_clientgui_resources.patch):' Patch #21 (make_clientgui_resources.patch): + /usr/bin/patch -p2 patching file clientgui/Makefile.am Hunk #1 succeeded at 112 (offset -16 lines). + echo 'Patch #23 (install_appmgr.patch):' Patch #23 (install_appmgr.patch): + /usr/bin/patch -p2 patching file tools/Makefile.am Hunk #1 succeeded at 29 with fuzz 2 (offset 8 lines). + echo 'Patch #24 (boinc-7.0.31-alt-glibc-2.16.patch):' Patch #24 (boinc-7.0.31-alt-glibc-2.16.patch): + /usr/bin/patch -p2 patching file configure.ac Hunk #1 succeeded at 642 (offset 79 lines). patching file tools/process_input_template.cpp Hunk #1 succeeded at 20 with fuzz 2 (offset 5 lines). + echo 'Patch #27 (boinc-7.8.4-alt-glibc.patch):' Patch #27 (boinc-7.8.4-alt-glibc.patch): + /usr/bin/patch -p2 patching file clientgui/AsyncRPC.cpp patching file lib/gui_rpc_client.h + grep -rHsl -m 1 -e bin/env html/Makefile.am html/inc html/languages html/ops html/project.sample html/user + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/wd_nresults_changing.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/watchdogs.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/upgrade_db.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/update_uotd.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/update_translations.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/update_profile_pages.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/update_forum_activities.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/test_job_file.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/team_import.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/team_export.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/survey_get_addrs.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/submit_init_priority.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/size_census.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/single_job_setup.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/remote_server_status.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/remind.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/purge_trickles.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/notify.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/news_convert.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/mass_email_script.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/export_credit_by_app.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/expire_batches + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/delete_spammers.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/delete_job_files + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/decay_credit_by_app.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/db_schemaversion.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/create_boinc_wide_team.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/clean_cache.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/badge_assign_custom.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/badge_assign.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/autolock.php + read f + sed -e '1 s,^#!/usr/bin/env[[:space:]]\+\(.*\)$,#!/usr/bin/\1,' -i html/ops/app_select_edit.php + read f + cp -vf packages/generic/sea/boincmgr.16x16.png packages/generic/sea/boincmgr.32x32.png packages/generic/sea/boincmgr.48x48.png clientgui/res/ 'packages/generic/sea/boincmgr.16x16.png' -> 'clientgui/res/boincmgr.16x16.png' 'packages/generic/sea/boincmgr.32x32.png' -> 'clientgui/res/boincmgr.32x32.png' 'packages/generic/sea/boincmgr.48x48.png' -> 'clientgui/res/boincmgr.48x48.png' + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.67000 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd boinc-7.8.4 + TYPE_FLAGS= + case i586-linux in + TYPE_FLAGS=' --with-boinc-platform=i686-pc-linux-gnu' + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force -I m4 autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in `.'. libtoolize-default: linking file `./config.guess' libtoolize-default: linking file `./config.sub' libtoolize-default: linking file `./install-sh' libtoolize-default: linking file `./ltmain.sh' libtoolize-default: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize-default: linking file `m4/libtool.m4' libtoolize-default: linking file `m4/ltoptions.m4' libtoolize-default: linking file `m4/ltsugar.m4' libtoolize-default: linking file `m4/ltversion.m4' libtoolize-default: linking file `m4/lt~obsolete.m4' autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:58: installing './compile' configure.ac:29: installing './missing' api/Makefile.am:23: warning: source file '$(top_srcdir)/samples/image_libs/bmplib.cpp' is in a subdirectory, api/Makefile.am:23: but option 'subdir-objects' is disabled automake-default: warning: possible forward-incompatibility. automake-default: At least a source file is in a subdirectory, but the 'subdir-objects' automake-default: automake option hasn't been enabled. For now, the corresponding output automake-default: object file(s) will be placed in the top-level directory. However, automake-default: this behaviour will change in future Automake versions: they will automake-default: unconditionally cause object files to be placed in the same subdirectory automake-default: of the corresponding sources. automake-default: You are advised to start using 'subdir-objects' option throughout your automake-default: project, to avoid future incompatibilities. api/Makefile.am:23: warning: source file '$(top_srcdir)/samples/image_libs/tgalib.cpp' is in a subdirectory, api/Makefile.am:23: but option 'subdir-objects' is disabled api/Makefile.am: installing './depcomp' clientgui/Makefile.am:26: warning: source file 'common/wxPieCtrl.cpp' is in a subdirectory, clientgui/Makefile.am:26: but option 'subdir-objects' is disabled clientgui/Makefile.am:26: warning: source file 'gtk/taskbarex.cpp' is in a subdirectory, clientgui/Makefile.am:26: but option 'subdir-objects' is disabled lib/Makefile.am:90: warning: source file 'mac/mac_backtrace.cpp' is in a subdirectory, lib/Makefile.am:90: but option 'subdir-objects' is disabled lib/Makefile.am:90: warning: source file 'mac/QBacktrace.c' is in a subdirectory, lib/Makefile.am:90: but option 'subdir-objects' is disabled lib/Makefile.am:90: warning: source file 'mac/QCrashReport.c' is in a subdirectory, lib/Makefile.am:90: but option 'subdir-objects' is disabled lib/Makefile.am:90: warning: source file 'mac/QMachOImage.c' is in a subdirectory, lib/Makefile.am:90: but option 'subdir-objects' is disabled lib/Makefile.am:90: warning: source file 'mac/QMachOImageList.c' is in a subdirectory, lib/Makefile.am:90: but option 'subdir-objects' is disabled lib/Makefile.am:90: warning: source file 'mac/QSymbols.c' is in a subdirectory, lib/Makefile.am:90: but option 'subdir-objects' is disabled lib/Makefile.am:90: warning: source file 'mac/QTaskMemory.c' is in a subdirectory, lib/Makefile.am:90: but option 'subdir-objects' is disabled sched/Makefile.am:11: warning: source file '../db/boinc_db.cpp' is in a subdirectory, sched/Makefile.am:11: but option 'subdir-objects' is disabled sched/Makefile.am:11: warning: source file '../db/db_base.cpp' is in a subdirectory, sched/Makefile.am:11: but option 'subdir-objects' is disabled sched/Makefile.am:11: warning: source file '../tools/process_result_template.cpp' is in a subdirectory, sched/Makefile.am:11: but option 'subdir-objects' is disabled sched/Makefile.am:11: warning: source file '../tools/process_input_template.cpp' is in a subdirectory, sched/Makefile.am:11: but option 'subdir-objects' is disabled sched/Makefile.am:11: warning: source file '../tools/backend_lib.cpp' is in a subdirectory, sched/Makefile.am:11: but option 'subdir-objects' is disabled sched/Makefile.am:157: warning: source file '../vda/sched_vda.cpp' is in a subdirectory, sched/Makefile.am:157: but option 'subdir-objects' is disabled sched/Makefile.am:197: warning: source file '../lib/synch.cpp' is in a subdirectory, sched/Makefile.am:197: but option 'subdir-objects' is disabled parallel-tests: installing './test-driver' tools/Makefile.am:64: warning: source file '../lib/remote_submit.cpp' is in a subdirectory, tools/Makefile.am:64: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './unzip/api.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './unzip/apihelp.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './unzip/crc32.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './unzip/explode.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './unzip/extract.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './unzip/fileio.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './unzip/globals.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './unzip/inflate.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './unzip/list.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './unzip/match.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './unzip/process.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './unzip/ttyio.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './unzip/unreduce.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './unzip/unshrink.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './unzip/unzip.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './unzip/zipinfo.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './zip/deflate.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './zip/trees.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './zip/util.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './zip/z_fileio.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './zip/z_globals.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './zip/zip.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './zip/zipfile.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:21: warning: source file './zip/zipup.c' is in a subdirectory, zip/Makefile.am:21: but option 'subdir-objects' is disabled zip/Makefile.am:49: warning: source file './unzip/win32/nt.c' is in a subdirectory, zip/Makefile.am:49: but option 'subdir-objects' is disabled zip/Makefile.am:49: warning: source file './unzip/win32/win32.c' is in a subdirectory, zip/Makefile.am:49: but option 'subdir-objects' is disabled zip/Makefile.am:49: warning: source file './zip/win32/win32_boinc.c' is in a subdirectory, zip/Makefile.am:49: but option 'subdir-objects' is disabled zip/Makefile.am:49: warning: source file './zip/win32/win32i64.c' is in a subdirectory, zip/Makefile.am:49: but option 'subdir-objects' is disabled zip/Makefile.am:49: warning: source file './zip/win32/z_nt.c' is in a subdirectory, zip/Makefile.am:49: but option 'subdir-objects' is disabled zip/Makefile.am:49: warning: source file './zip/win32/win32zip.c' is in a subdirectory, zip/Makefile.am:49: but option 'subdir-objects' is disabled zip/Makefile.am:57: warning: source file './unzip/unix/unix.c' is in a subdirectory, zip/Makefile.am:57: but option 'subdir-objects' is disabled zip/Makefile.am:57: warning: source file './zip/unix/z_unix.c' is in a subdirectory, zip/Makefile.am:57: but option 'subdir-objects' is disabled autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + readlink -e -- ./configure + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --with-boinc-platform=i686-pc-linux-gnu CXXFLAGS=-std=gnu++11 --enable-client --disable-server --enable-unicode --with-ssl configure: WARNING: unrecognized options: --without-included-gettext checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking target 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... /bin/gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes 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 for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU Objective C++ compiler... no checking whether i586-alt-linux-g++ accepts -g... no checking dependency style of i586-alt-linux-g++... none checking for i586-alt-linux-g77... no checking for i586-alt-linux-xlf... no checking for i586-alt-linux-f77... no checking for i586-alt-linux-frt... no checking for i586-alt-linux-pgf77... no checking for i586-alt-linux-cf77... no checking for i586-alt-linux-fort77... no checking for i586-alt-linux-fl32... no checking for i586-alt-linux-af77... no checking for i586-alt-linux-xlf90... no checking for i586-alt-linux-f90... no checking for i586-alt-linux-pgf90... no checking for i586-alt-linux-pghpf... no checking for i586-alt-linux-epcf90... no checking for i586-alt-linux-gfortran... i586-alt-linux-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether i586-alt-linux-gfortran accepts -g... yes checking how to run the C preprocessor... i586-alt-linux-gcc -E checking whether make sets $(MAKE)... (cached) yes checking for ln... /bin/ln checking whether '/bin/ln' works... yes checking whether ln -s works... yes checking whether 'ln -s' really works or whether I'm deluding myself... it works checking if C compiler supports -Wall... yes checking if C++ compiler supports -Wall... yes checking if f77 compiler supports -Wall... yes --- Configuring BOINC 7.8.4 (Release) --- --- Build Components: (client manager libraries) --- checking for docbook2x-man... no 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 we are compiling for cygwin... no checking for winsock2.h... (cached) no checking for winsock.h... (cached) no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking dependency style of i586-alt-linux-gcc... none checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i586-alt-linux-objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... no checking for ar... /usr/bin/ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for sysroot... no checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... yes checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking for ld used by i586-alt-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i586-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-g++ static flag -static works... yes checking if i586-alt-linux-g++ supports -c -o file.o... yes checking if i586-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i586-alt-linux-gfortran option to produce PIC... -fPIC checking if i586-alt-linux-gfortran PIC flag -fPIC works... yes checking if i586-alt-linux-gfortran static flag -static works... no checking if i586-alt-linux-gfortran supports -c -o file.o... yes checking if i586-alt-linux-gfortran supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gfortran linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking default bitness of compiler... 32 checking boinc platform... i686-pc-linux-gnu checking alternate boinc platform... none checking library extension... a checking shared object extension... so checking for pkg-config... /usr/bin/pkg-config checking for dlopen in -ldl... (cached) yes checking for gzopen in -lz... yes checking for openssl... yes OpenSSL found in /usr checking for gawk... (cached) /bin/gawk checking for curl-config... /usr/bin/curl-config checking for the version of libcurl... 7.64.0-DEV checking for libcurl >= version 7.17.1... yes checking whether libcurl is usable... yes checking for curl_free... yes checking for shmget in dynamic library cygipc... no checking for aio_fork in dynamic library aio... no checking for dlopen in dynamic library dl... -ldl checking for gethostbyname in static library nsl... no checking for gethostbyname in dynamic library nsl... no checking for static library freetype... -lfreetype checking for bind in static library socket... no checking for bind in dynamic library socket... no checking for gzopen in static library z... -lz checking for md5_finish in dynamic library cups... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for pthread_join in LIBS= with CFLAGS=-pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... (cached) yes checking whether we are using the Microsoft C compiler... no checking for windows.h... (cached) no checking for OpenGL library... -L/usr/lib -lGL checking for OpenGL Utility library... -L/usr/lib -lGLU checking for fopen in -lXmu... yes checking for fopen in -lXi... yes checking for GLUT library... -L/usr/lib -lglut checking gl.h usability... no checking gl.h presence... no checking for gl.h... no checking glu.h usability... no checking glu.h presence... no checking for glu.h... no checking glut.h usability... no checking glut.h presence... no checking for glut.h... no checking glaux.h usability... no checking glaux.h presence... no checking for glaux.h... no checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking GL/glu.h usability... yes checking GL/glu.h presence... yes checking for GL/glu.h... yes checking GL/glut.h usability... yes checking GL/glut.h presence... yes checking for GL/glut.h... yes checking GL/glaux.h usability... no checking GL/glaux.h presence... no checking for GL/glaux.h... no checking OpenGL/gl.h usability... no checking OpenGL/gl.h presence... no checking for OpenGL/gl.h... no checking OpenGL/glu.h usability... no checking OpenGL/glu.h presence... no checking for OpenGL/glu.h... no checking OpenGL/glut.h usability... no checking OpenGL/glut.h presence... no checking for OpenGL/glut.h... no checking OpenGL/glaux.h usability... no checking OpenGL/glaux.h presence... no checking for OpenGL/glaux.h... no checking GLUT/glut.h usability... no checking GLUT/glut.h presence... no checking for GLUT/glut.h... no checking MesaGL/gl.h usability... no checking MesaGL/gl.h presence... no checking for MesaGL/gl.h... no checking MesaGL/glu.h usability... no checking MesaGL/glu.h presence... no checking for MesaGL/glu.h... no checking MesaGL/glut.h usability... no checking MesaGL/glut.h presence... no checking for MesaGL/glut.h... no checking MesaGL/glaux.h usability... no checking MesaGL/glaux.h presence... no checking for MesaGL/glaux.h... no checking libnotify/notify.h usability... no checking libnotify/notify.h presence... no checking for libnotify/notify.h... no checking gtk/gtk.h usability... no checking gtk/gtk.h presence... no checking for gtk/gtk.h... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking xlocale.h usability... no checking xlocale.h presence... no checking for xlocale.h... no checking for jpeg_start_compress in -ljpeg... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for XScreenSaverAllocInfo in -lXss... no checking X11/extensions/scrnsaver.h usability... no checking X11/extensions/scrnsaver.h presence... no checking for X11/extensions/scrnsaver.h... no configure: WARNING: libxss missing, disabling X ScreenSaver user idle detection checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking return type of signal handlers... void checking for sys/types.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for memory.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking netinet/ether.h usability... yes checking netinet/ether.h presence... yes checking for netinet/ether.h... yes checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking net/if_arp.h usability... yes checking net/if_arp.h presence... yes checking for net/if_arp.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for strings.h... (cached) yes checking sys/auxv.h usability... yes checking sys/auxv.h presence... yes checking for sys/auxv.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/msg.h usability... yes checking sys/msg.h presence... yes checking for sys/msg.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking for sys/socket.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/systeminfo.h usability... no checking sys/systeminfo.h presence... no checking for sys/systeminfo.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/vmmeter.h usability... no checking sys/vmmeter.h presence... no checking for sys/vmmeter.h... no checking for sys/wait.h... (cached) yes checking for unistd.h... (cached) yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking procfs.h usability... no checking procfs.h presence... no checking for procfs.h... no checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking sal.h usability... no checking sal.h presence... no checking for sal.h... no checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking intrin.h usability... no checking intrin.h presence... no checking for intrin.h... no checking x86intrin.h usability... yes checking x86intrin.h presence... yes checking for x86intrin.h... yes checking pmmintrin.h usability... yes checking pmmintrin.h presence... yes checking for pmmintrin.h... yes checking xmmintrin.h usability... yes checking xmmintrin.h presence... yes checking for xmmintrin.h... yes checking emmintrin.h usability... yes checking emmintrin.h presence... yes checking for emmintrin.h... yes checking immintrin.h usability... yes checking immintrin.h presence... yes checking for immintrin.h... yes checking avxintrin.h usability... no checking avxintrin.h presence... no checking for avxintrin.h... no checking whether _xgetbv is declared... yes checking whether xgetbv is declared... no checking whether __xgetbv is declared... no checking whether cpuid is declared... no checking whether _cpuid is declared... no checking whether __cpuid is declared... no checking if assembler supports xgetbv... yes checking for nvapi.h... no checking for socklen_t... yes checking for net/if.h... (cached) yes checking for net/if_arp.h... (cached) yes checking for sys/sysctl.h... yes checking for sys/mount.h... yes checking for sys/swap.h... yes checking for sys/sensors.h... no checking for resolv.h... yes checking for netinet/if_ether.h... yes checking for struct lifconf... no checking for struct lifreq... no checking for struct ifconf... yes checking for struct ifreq... yes checking for struct ether_addr... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking whether largefile support breaks C++... no checking standard C++ headers... yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ header ... (cached) yes checking for C++ namespaces... yes checking for min(0,0) in namespace std... yes checking for max(0,0) in namespace std... yes checking for transform((char *)0,(char *) 0,(char *)0,(int(*)(int))malloc) in namespace std... yes checking for locale("") in namespace std... yes checking whether i586-alt-linux-gcc needs -traditional... no checking for vprintf... yes checking for _doprnt... no checking for ether_ntoa... yes checking for setpriority... yes checking for sched_setscheduler... yes checking for strlcpy... yes checking for strlcat... yes checking for strcasestr... yes checking for strcasecmp... yes checking for sigaction... yes checking for getutent... yes checking for setutent... yes checking for getisax... no checking for strdup... yes checking for _strdup... no checking for strdupa... no checking for _strdupa... no checking for daemon... yes checking for stat64... yes checking for putenv... yes checking for setenv... yes checking for unsetenv... yes checking for res_init... no checking for strtoull... yes checking for localtime... yes checking for localtime_r... yes checking for gmtime... yes checking for gmtime_r... yes checking whether _fpreset is declared... no checking whether fpreset is declared... no checking whether _configthreadlocale is declared... no checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for wx-config... /usr/bin/wx-config checking for wxWidgets version >= 3.0.0... yes (version 3.0.4) checking for wxWidgets static library... no checking if wxWidgets works... yes checking for default wxWidgets config... gtk3-unicode-3.0 checking for wxwidgets options... --unicode=yes checking wxWidgets config to use... gtk3-unicode-3.0 checking for wx-config... (cached) /usr/bin/wx-config checking for wxWidgets version >= 3.0.0... yes (version 3.0.4) checking for wxWidgets static library... no checking if wxWidgets uses the GTK+ toolkit... gtk+-3.0 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 libnotify... yes checking checking availability of sqlite3 using pkg-config... yes checking for sqlite3_open... yes checking for xcb... yes checking for xcb-atom... no WARNING: Xcb-atom not found, x11_screensaver will not be built checking for sin in dynamic library m... -lm checking for pthread_join in dynamic library pthread... -lpthread checking for dynamic library nvapi... no checking for res_init in -lresolv... no checking for res_query in static library resolv... -lresolv checking for whoami... /usr/bin/whoami checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating version.h config.status: creating api/Makefile config.status: creating apps/Makefile config.status: creating clientgui/Makefile config.status: creating clientgui/res/Makefile config.status: creating clientscr/Makefile config.status: creating client/Makefile config.status: creating client/win/boinc_path_config.py config.status: creating client/scripts/Makefile config.status: creating client/scripts/boinc-client config.status: creating db/Makefile config.status: creating doc/Makefile config.status: creating doc/manpages/Makefile config.status: creating html/Makefile config.status: creating lib/Makefile config.status: creating locale/Makefile config.status: creating Makefile config.status: creating py/Boinc/version.py config.status: creating py/Makefile config.status: creating py/boinc_path_config.py config.status: creating py/setup.py config.status: creating sched/boinc_path_config.py config.status: creating sched/Makefile config.status: creating packages/generic/sea/Makefile config.status: creating packages/solaris/CSW/Makefile config.status: creating packages/solaris/CSW/boincclient/Makefile config.status: creating packages/solaris/CSW/boincclient/pkginfo config.status: creating packages/solaris/CSW/boincclient/prototype config.status: creating packages/solaris/CSW/boincdevel/Makefile config.status: creating packages/solaris/CSW/boincdevel/pkginfo config.status: creating packages/solaris/CSW/boincdevel/prototype config.status: creating packages/solaris/CSW/boinclibs/Makefile config.status: creating packages/solaris/CSW/boinclibs/pkginfo config.status: creating packages/solaris/CSW/boinclibs/prototype config.status: creating packages/solaris/CSW/boincmanager/Makefile config.status: creating packages/solaris/CSW/boincmanager/pkginfo config.status: creating packages/solaris/CSW/boincmanager/prototype config.status: creating samples/Makefile config.status: creating test/boinc_path_config.py config.status: creating test/Makefile config.status: creating test/version.inc config.status: creating tools/boinc_path_config.py config.status: creating tools/Makefile config.status: creating vda/Makefile config.status: creating zip/Makefile config.status: creating zip/zip/Makefile config.status: creating zip/unzip/Makefile config.status: creating m4/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext --- Configuring BOINC 7.8.4 (Release) --- --- Build Components: (client manager libraries) --- + make V=1 make: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4' cd . && sh generate_svn_version.sh make all-recursive make[1]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4' Making all in m4 make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/m4' Making all in api make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/api' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c -o boinc_api.lo boinc_api.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c boinc_api.cpp -fPIC -DPIC -o .libs/boinc_api.o In file included from ../lib/hostinfo.h:32, from ../lib/app_ipc.h:28, from boinc_api.cpp:111: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from boinc_api.cpp:111: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c boinc_api.cpp -o boinc_api.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c -o graphics2_util.lo graphics2_util.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c graphics2_util.cpp -fPIC -DPIC -o .libs/graphics2_util.o In file included from ../lib/hostinfo.h:32, from ../lib/app_ipc.h:28, from graphics2_util.cpp:32: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from graphics2_util.cpp:32: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c graphics2_util.cpp -o graphics2_util.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c -o reduce_main.lo reduce_main.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c reduce_main.cpp -fPIC -DPIC -o .libs/reduce_main.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c reduce_main.cpp -o reduce_main.o >/dev/null 2>&1 cd ../lib; make libboinc.la make[3]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/lib' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-app_ipc.lo `test -f 'app_ipc.cpp' || echo './'`app_ipc.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c app_ipc.cpp -fPIC -DPIC -o .libs/libboinc_la-app_ipc.o In file included from hostinfo.h:32, from app_ipc.h:28, from app_ipc.cpp:37: coproc.h: In member function 'void COPROC::clear()': coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from app_ipc.h:30, from app_ipc.cpp:37: prefs.h: In member function 'void WEEK_PREFS::clear()': prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c app_ipc.cpp -o libboinc_la-app_ipc.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-base64.lo `test -f 'base64.cpp' || echo './'`base64.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c base64.cpp -fPIC -DPIC -o .libs/libboinc_la-base64.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c base64.cpp -o libboinc_la-base64.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-cc_config.lo `test -f 'cc_config.cpp' || echo './'`cc_config.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c cc_config.cpp -fPIC -DPIC -o .libs/libboinc_la-cc_config.o In file included from cc_config.h:31, from cc_config.cpp:18: coproc.h: In member function 'void COPROC::clear()': coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ cc_config.cpp: In member function 'int APP_CONFIG::parse_gpu_versions(XML_PARSER&, MSG_VEC&, LOG_FLAGS&)': cc_config.cpp:727:26: warning: '%s' directive writing up to 4095 bytes into a region of size 991 [-Wformat-overflow=] sprintf(buf, "Unparsed line in app_config.xml: %s", xp.parsed_tag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc_config.cpp:727:20: note: 'sprintf' output between 34 and 4129 bytes into a destination of size 1024 sprintf(buf, "Unparsed line in app_config.xml: %s", xp.parsed_tag); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc_config.cpp: In member function 'int APP_CONFIG::parse(XML_PARSER&, MSG_VEC&, LOG_FLAGS&)': cc_config.cpp:761:26: warning: '%s' directive writing up to 4095 bytes into a region of size 991 [-Wformat-overflow=] sprintf(buf, "Unparsed line in app_config.xml: %s", xp.parsed_tag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc_config.cpp:761:20: note: 'sprintf' output between 34 and 4129 bytes into a destination of size 1024 sprintf(buf, "Unparsed line in app_config.xml: %s", xp.parsed_tag); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc_config.cpp: In member function 'int APP_VERSION_CONFIG::parse(XML_PARSER&, MSG_VEC&, LOG_FLAGS&)': cc_config.cpp:789:26: warning: '%s' directive writing up to 4095 bytes into a region of size 991 [-Wformat-overflow=] sprintf(buf, "Unparsed line in app_config.xml: %s", xp.parsed_tag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc_config.cpp:789:20: note: 'sprintf' output between 34 and 4129 bytes into a destination of size 1024 sprintf(buf, "Unparsed line in app_config.xml: %s", xp.parsed_tag); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc_config.cpp:778:26: warning: '%s' directive writing up to 4095 bytes into a region of size 1007 [-Wformat-overflow=] sprintf(buf, "unexpected text '%s' in app_config.xml", xp.parsed_tag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc_config.cpp:778:20: note: 'sprintf' output between 37 and 4132 bytes into a destination of size 1024 sprintf(buf, "unexpected text '%s' in app_config.xml", xp.parsed_tag); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc_config.cpp: In member function 'int APP_CONFIGS::parse(XML_PARSER&, MSG_VEC&, LOG_FLAGS&)': cc_config.cpp:833:22: warning: '%s' directive writing up to 4095 bytes into a region of size 993 [-Wformat-overflow=] sprintf(buf, "Unknown tag in app_config.xml: %s", xp.parsed_tag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc_config.cpp:833:16: note: 'sprintf' output between 32 and 4127 bytes into a destination of size 1024 sprintf(buf, "Unknown tag in app_config.xml: %s", xp.parsed_tag); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc_config.cpp:804:26: warning: '%s' directive writing up to 4095 bytes into a region of size 1007 [-Wformat-overflow=] sprintf(buf, "unexpected text '%s' in app_config.xml", xp.parsed_tag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc_config.cpp:804:20: note: 'sprintf' output between 37 and 4132 bytes into a destination of size 1024 sprintf(buf, "unexpected text '%s' in app_config.xml", xp.parsed_tag); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c cc_config.cpp -o libboinc_la-cc_config.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-cert_sig.lo `test -f 'cert_sig.cpp' || echo './'`cert_sig.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c cert_sig.cpp -fPIC -DPIC -o .libs/libboinc_la-cert_sig.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c cert_sig.cpp -o libboinc_la-cert_sig.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-coproc.lo `test -f 'coproc.cpp' || echo './'`coproc.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c coproc.cpp -fPIC -DPIC -o .libs/libboinc_la-coproc.o In file included from coproc.cpp:56: coproc.h: In member function 'void COPROC::clear()': coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c coproc.cpp -o libboinc_la-coproc.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-diagnostics.lo `test -f 'diagnostics.cpp' || echo './'`diagnostics.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c diagnostics.cpp -fPIC -DPIC -o .libs/libboinc_la-diagnostics.o In file included from hostinfo.h:32, from app_ipc.h:28, from diagnostics.cpp:53: coproc.h: In member function 'void COPROC::clear()': coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from app_ipc.h:30, from diagnostics.cpp:53: prefs.h: In member function 'void WEEK_PREFS::clear()': prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ diagnostics.cpp: In function 'void boinc_set_signal_handler(int, handler_t)': diagnostics.cpp:697:42: warning: cast between incompatible function types from 'handler_t' {aka 'void (*)(int, siginfo*, void*)'} to 'void (*)(int)' [-Wcast-function-type] temp.sa_handler = (void (*)(int))handler; ^~~~~~~ diagnostics.cpp: In function 'int diagnostics_init(int, const char*, const char*)': diagnostics.cpp:298:50: warning: '.txt' directive output may be truncated writing 4 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(stdout_log, sizeof(stdout_log), "%s/%s.txt", user_dir, stdout_prefix); ^~~~~~~~~~~ diagnostics.cpp:298:17: note: 'snprintf' output 6 or more bytes (assuming 4101) into a destination of size 4096 snprintf(stdout_log, sizeof(stdout_log), "%s/%s.txt", user_dir, stdout_prefix); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diagnostics.cpp:299:58: warning: '.old' directive output may be truncated writing 4 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(stdout_archive, sizeof(stdout_archive), "%s/%s.old", user_dir, stdout_prefix); ^~~~~~~~~~~ diagnostics.cpp:299:17: note: 'snprintf' output 6 or more bytes (assuming 4101) into a destination of size 4096 snprintf(stdout_archive, sizeof(stdout_archive), "%s/%s.old", user_dir, stdout_prefix); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diagnostics.cpp:300:50: warning: '.txt' directive output may be truncated writing 4 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(stderr_log, sizeof(stderr_log), "%s/%s.txt", user_dir, stderr_prefix); ^~~~~~~~~~~ diagnostics.cpp:300:17: note: 'snprintf' output 6 or more bytes (assuming 4101) into a destination of size 4096 snprintf(stderr_log, sizeof(stderr_log), "%s/%s.txt", user_dir, stderr_prefix); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diagnostics.cpp:301:58: warning: '.old' directive output may be truncated writing 4 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(stderr_archive, sizeof(stderr_archive), "%s/%s.old", user_dir, stderr_prefix); ^~~~~~~~~~~ diagnostics.cpp:301:17: note: 'snprintf' output 6 or more bytes (assuming 4101) into a destination of size 4096 snprintf(stderr_archive, sizeof(stderr_archive), "%s/%s.old", user_dir, stderr_prefix); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c diagnostics.cpp -o libboinc_la-diagnostics.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-filesys.lo `test -f 'filesys.cpp' || echo './'`filesys.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c filesys.cpp -fPIC -DPIC -o .libs/libboinc_la-filesys.o filesys.cpp: In function 'int clean_out_dir(const char*)': filesys.cpp:406:38: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(path, sizeof(path), "%s/%s", dirpath, filename); ^~~~~~~ filesys.cpp:406:17: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 snprintf(path, sizeof(path), "%s/%s", dirpath, filename); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filesys.cpp: In function 'int dir_size(const char*, double&, bool)': filesys.cpp:470:42: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(subdir, sizeof(subdir), "%s/%s", dirpath, filename); ^~~~~~~ filesys.cpp:470:17: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 snprintf(subdir, sizeof(subdir), "%s/%s", dirpath, filename); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filesys.cpp: In function 'int boinc_make_dirs(const char*, const char*)': filesys.cpp:776:44: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(newpath, sizeof(newpath), "%s/%s", oldpath, q); ^~~~~~~ filesys.cpp:776:17: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 snprintf(newpath, sizeof(newpath), "%s/%s", oldpath, q); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c filesys.cpp -o libboinc_la-filesys.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-gui_rpc_client.lo `test -f 'gui_rpc_client.cpp' || echo './'`gui_rpc_client.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c gui_rpc_client.cpp -fPIC -DPIC -o .libs/libboinc_la-gui_rpc_client.o In file included from cc_config.h:31, from gui_rpc_client.h:38, from gui_rpc_client.cpp:56: coproc.h: In member function 'void COPROC::clear()': coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from gui_rpc_client.h:45, from gui_rpc_client.cpp:56: prefs.h: In member function 'void WEEK_PREFS::clear()': prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ gui_rpc_client.cpp: In member function 'int RPC_CLIENT::authorize(const char*)': gui_rpc_client.cpp:297:32: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 236 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "\n%s\n\n", nonce_hash); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ gui_rpc_client.cpp:297:13: note: 'snprintf' output between 44 and 299 bytes into a destination of size 256 snprintf(buf, sizeof(buf), "\n%s\n\n", nonce_hash); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c gui_rpc_client.cpp -o libboinc_la-gui_rpc_client.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-gui_rpc_client_ops.lo `test -f 'gui_rpc_client_ops.cpp' || echo './'`gui_rpc_client_ops.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c gui_rpc_client_ops.cpp -fPIC -DPIC -o .libs/libboinc_la-gui_rpc_client_ops.o In file included from cc_config.h:31, from gui_rpc_client.h:38, from gui_rpc_client_ops.cpp:79: coproc.h: In member function 'void COPROC::clear()': coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from gui_rpc_client.h:45, from gui_rpc_client_ops.cpp:79: prefs.h: In member function 'void WEEK_PREFS::clear()': prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ gui_rpc_client_ops.cpp: In member function 'int RPC_CLIENT::exchange_versions(VERSION_INFO&)': gui_rpc_client_ops.cpp:1464:42: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct VERSION_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&server, 0, sizeof(server)); ^ In file included from gui_rpc_client_ops.cpp:77: common_defs.h:307:8: note: 'struct VERSION_INFO' declared here struct VERSION_INFO { ^~~~~~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c gui_rpc_client_ops.cpp -o libboinc_la-gui_rpc_client_ops.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-gui_rpc_client_print.lo `test -f 'gui_rpc_client_print.cpp' || echo './'`gui_rpc_client_print.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c gui_rpc_client_print.cpp -fPIC -DPIC -o .libs/libboinc_la-gui_rpc_client_print.o In file included from cc_config.h:31, from gui_rpc_client.h:38, from gui_rpc_client_print.cpp:48: coproc.h: In member function 'void COPROC::clear()': coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from gui_rpc_client.h:45, from gui_rpc_client_print.cpp:48: prefs.h: In member function 'void WEEK_PREFS::clear()': prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c gui_rpc_client_print.cpp -o libboinc_la-gui_rpc_client_print.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-hostinfo.lo `test -f 'hostinfo.cpp' || echo './'`hostinfo.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c hostinfo.cpp -fPIC -DPIC -o .libs/libboinc_la-hostinfo.o In file included from hostinfo.h:32, from hostinfo.cpp:40: coproc.h: In member function 'void COPROC::clear()': coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c hostinfo.cpp -o libboinc_la-hostinfo.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-md5.lo `test -f 'md5.cpp' || echo './'`md5.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c md5.cpp -fPIC -DPIC -o .libs/libboinc_la-md5.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c md5.cpp -o libboinc_la-md5.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-md5_file.lo `test -f 'md5_file.cpp' || echo './'`md5_file.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c md5_file.cpp -fPIC -DPIC -o .libs/libboinc_la-md5_file.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c md5_file.cpp -o libboinc_la-md5_file.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-mem_usage.lo `test -f 'mem_usage.cpp' || echo './'`mem_usage.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c mem_usage.cpp -fPIC -DPIC -o .libs/libboinc_la-mem_usage.o mem_usage.cpp: In function 'int mem_usage(double&, double&)': mem_usage.cpp:51:23: warning: unused parameter 'vm_usage' [-Wunused-parameter] int mem_usage(double& vm_usage, double& resident_set) { ~~~~~~~~^~~~~~~~ mem_usage.cpp:51:41: warning: unused parameter 'resident_set' [-Wunused-parameter] int mem_usage(double& vm_usage, double& resident_set) { ~~~~~~~~^~~~~~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c mem_usage.cpp -o libboinc_la-mem_usage.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-mfile.lo `test -f 'mfile.cpp' || echo './'`mfile.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c mfile.cpp -fPIC -DPIC -o .libs/libboinc_la-mfile.o mfile.cpp: In member function 'size_t MFILE::write(const void*, size_t, size_t)': mfile.cpp:112:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] "ERROR: realloc() failed in MFILE::write(); len %d size %lu nitems %lu\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ len, size, nitems ~~~~ mfile.cpp:112:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c mfile.cpp -o libboinc_la-mfile.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-miofile.lo `test -f 'miofile.cpp' || echo './'`miofile.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c miofile.cpp -fPIC -DPIC -o .libs/libboinc_la-miofile.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c miofile.cpp -o libboinc_la-miofile.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-msg_log.lo `test -f 'msg_log.cpp' || echo './'`msg_log.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c msg_log.cpp -fPIC -DPIC -o .libs/libboinc_la-msg_log.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c msg_log.cpp -o libboinc_la-msg_log.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-network.lo `test -f 'network.cpp' || echo './'`network.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c network.cpp -fPIC -DPIC -o .libs/libboinc_la-network.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c network.cpp -o libboinc_la-network.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-notice.lo `test -f 'notice.cpp' || echo './'`notice.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c notice.cpp -fPIC -DPIC -o .libs/libboinc_la-notice.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c notice.cpp -o libboinc_la-notice.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-opencl_boinc.lo `test -f 'opencl_boinc.cpp' || echo './'`opencl_boinc.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c opencl_boinc.cpp -fPIC -DPIC -o .libs/libboinc_la-opencl_boinc.o opencl_boinc.cpp: In member function 'void OPENCL_DEVICE_PROP::description(char*, int, const char*)': opencl_boinc.cpp:273:9: warning: ' (driver version ' directive output may be truncated writing 17 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s (driver version %s, device version %s, %.0fMB, %.0fMB available, %.0f GFLOPS peak)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opencl_boinc.cpp:272:13: note: 'snprintf' output between 71 and 1539 bytes into a destination of size 256 snprintf(s2, sizeof(s2), ~~~~~~~~^~~~~~~~~~~~~~~~ "%s (driver version %s, device version %s, %.0fMB, %.0fMB available, %.0f GFLOPS peak)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ name, opencl_driver_version, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ s1, global_mem_size/MEGA, ~~~~~~~~~~~~~~~~~~~~~~~~~ opencl_available_ram/MEGA, peak_flops/1.e9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ); ~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c opencl_boinc.cpp -o libboinc_la-opencl_boinc.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-parse.lo `test -f 'parse.cpp' || echo './'`parse.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c parse.cpp -fPIC -DPIC -o .libs/libboinc_la-parse.o parse.cpp: In member function 'int XML_PARSER::copy_element(std::__cxx11::string&)': parse.cpp:923:40: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] snprintf(end_tag, sizeof(end_tag), "", parsed_tag); ^~~~~~~ parse.cpp:923:13: note: 'snprintf' output between 4 and 4099 bytes into a destination of size 4096 snprintf(end_tag, sizeof(end_tag), "", parsed_tag); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c parse.cpp -o libboinc_la-parse.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-prefs.lo `test -f 'prefs.cpp' || echo './'`prefs.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c prefs.cpp -fPIC -DPIC -o .libs/libboinc_la-prefs.o In file included from prefs.cpp:39: prefs.h: In member function 'void WEEK_PREFS::clear()': prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c prefs.cpp -o libboinc_la-prefs.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-procinfo.lo `test -f 'procinfo.cpp' || echo './'`procinfo.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c procinfo.cpp -fPIC -DPIC -o .libs/libboinc_la-procinfo.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c procinfo.cpp -o libboinc_la-procinfo.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-proc_control.lo `test -f 'proc_control.cpp' || echo './'`proc_control.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c proc_control.cpp -fPIC -DPIC -o .libs/libboinc_la-proc_control.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c proc_control.cpp -o libboinc_la-proc_control.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-project_init.lo `test -f 'project_init.cpp' || echo './'`project_init.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c project_init.cpp -fPIC -DPIC -o .libs/libboinc_la-project_init.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c project_init.cpp -o libboinc_la-project_init.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-proxy_info.lo `test -f 'proxy_info.cpp' || echo './'`proxy_info.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c proxy_info.cpp -fPIC -DPIC -o .libs/libboinc_la-proxy_info.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c proxy_info.cpp -o libboinc_la-proxy_info.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-sched_msgs.lo `test -f 'sched_msgs.cpp' || echo './'`sched_msgs.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c sched_msgs.cpp -fPIC -DPIC -o .libs/libboinc_la-sched_msgs.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c sched_msgs.cpp -o libboinc_la-sched_msgs.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-shmem.lo `test -f 'shmem.cpp' || echo './'`shmem.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c shmem.cpp -fPIC -DPIC -o .libs/libboinc_la-shmem.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c shmem.cpp -o libboinc_la-shmem.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-str_util.lo `test -f 'str_util.cpp' || echo './'`str_util.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c str_util.cpp -fPIC -DPIC -o .libs/libboinc_la-str_util.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c str_util.cpp -o libboinc_la-str_util.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-url.lo `test -f 'url.cpp' || echo './'`url.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c url.cpp -fPIC -DPIC -o .libs/libboinc_la-url.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c url.cpp -o libboinc_la-url.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-util.lo `test -f 'util.cpp' || echo './'`util.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c util.cpp -fPIC -DPIC -o .libs/libboinc_la-util.o util.cpp: In function 'int get_real_executable_path(char*, size_t)': util.cpp:632:36: warning: unused parameter 'path' [-Wunused-parameter] int get_real_executable_path(char* path, size_t max_len) { ~~~~~~^~~~ util.cpp:632:49: warning: unused parameter 'max_len' [-Wunused-parameter] int get_real_executable_path(char* path, size_t max_len) { ~~~~~~~^~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c util.cpp -o libboinc_la-util.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-procinfo_unix.lo `test -f 'procinfo_unix.cpp' || echo './'`procinfo_unix.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c procinfo_unix.cpp -fPIC -DPIC -o .libs/libboinc_la-procinfo_unix.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c procinfo_unix.cpp -o libboinc_la-procinfo_unix.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-synch.lo `test -f 'synch.cpp' || echo './'`synch.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c synch.cpp -fPIC -DPIC -o .libs/libboinc_la-synch.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c synch.cpp -o libboinc_la-synch.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c -o libboinc_la-unix_util.lo `test -f 'unix_util.cpp' || echo './'`unix_util.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c unix_util.cpp -fPIC -DPIC -o .libs/libboinc_la-unix_util.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -c unix_util.cpp -o libboinc_la-unix_util.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -std=gnu++11 -Wall -static -version-number 7:8:4 -o libboinc.la -rpath /usr/lib libboinc_la-app_ipc.lo libboinc_la-base64.lo libboinc_la-cc_config.lo libboinc_la-cert_sig.lo libboinc_la-coproc.lo libboinc_la-diagnostics.lo libboinc_la-filesys.lo libboinc_la-gui_rpc_client.lo libboinc_la-gui_rpc_client_ops.lo libboinc_la-gui_rpc_client_print.lo libboinc_la-hostinfo.lo libboinc_la-md5.lo libboinc_la-md5_file.lo libboinc_la-mem_usage.lo libboinc_la-mfile.lo libboinc_la-miofile.lo libboinc_la-msg_log.lo libboinc_la-network.lo libboinc_la-notice.lo libboinc_la-opencl_boinc.lo libboinc_la-parse.lo libboinc_la-prefs.lo libboinc_la-procinfo.lo libboinc_la-proc_control.lo libboinc_la-project_init.lo libboinc_la-proxy_info.lo libboinc_la-sched_msgs.lo libboinc_la-shmem.lo libboinc_la-str_util.lo libboinc_la-url.lo libboinc_la-util.lo libboinc_la-procinfo_unix.lo libboinc_la-synch.lo libboinc_la-unix_util.lo libtool: link: /usr/bin/ar cru .libs/libboinc.a libboinc_la-app_ipc.o libboinc_la-base64.o libboinc_la-cc_config.o libboinc_la-cert_sig.o libboinc_la-coproc.o libboinc_la-diagnostics.o libboinc_la-filesys.o libboinc_la-gui_rpc_client.o libboinc_la-gui_rpc_client_ops.o libboinc_la-gui_rpc_client_print.o libboinc_la-hostinfo.o libboinc_la-md5.o libboinc_la-md5_file.o libboinc_la-mem_usage.o libboinc_la-mfile.o libboinc_la-miofile.o libboinc_la-msg_log.o libboinc_la-network.o libboinc_la-notice.o libboinc_la-opencl_boinc.o libboinc_la-parse.o libboinc_la-prefs.o libboinc_la-procinfo.o libboinc_la-proc_control.o libboinc_la-project_init.o libboinc_la-proxy_info.o libboinc_la-sched_msgs.o libboinc_la-shmem.o libboinc_la-str_util.o libboinc_la-url.o libboinc_la-util.o libboinc_la-procinfo_unix.o libboinc_la-synch.o libboinc_la-unix_util.o libtool: link: ranlib .libs/libboinc.a libtool: link: ( cd ".libs" && rm -f "libboinc.la" && ln -s "../libboinc.la" "libboinc.la" ) make[3]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/lib' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -version-number 7:8:4 -o libboinc_api.la -rpath /usr/lib boinc_api.lo graphics2_util.lo reduce_main.lo -lpthread ../lib/libboinc.la libtool: link: i586-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i586-alt-linux/8/../../../crti.o /usr/lib/gcc/i586-alt-linux/8/crtbeginS.o .libs/boinc_api.o .libs/graphics2_util.o .libs/reduce_main.o -lpthread ../lib/.libs/libboinc.a -L/usr/lib/gcc/i586-alt-linux/8 -L/usr/lib/gcc/i586-alt-linux/8/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/8/crtendS.o /usr/lib/gcc/i586-alt-linux/8/../../../crtn.o -pthread -pthread -Wl,-soname -Wl,libboinc_api.so.7 -o .libs/libboinc_api.so.7.8.4 libtool: link: (cd ".libs" && rm -f "libboinc_api.so.7" && ln -s "libboinc_api.so.7.8.4" "libboinc_api.so.7") libtool: link: (cd ".libs" && rm -f "libboinc_api.so" && ln -s "libboinc_api.so.7.8.4" "libboinc_api.so") libtool: link: /usr/bin/ar cru .libs/libboinc_api.a boinc_api.o graphics2_util.o reduce_main.o libtool: link: ranlib .libs/libboinc_api.a libtool: link: ( cd ".libs" && rm -f "libboinc_api.la" && ln -s "../libboinc_api.la" "libboinc_api.la" ) /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c -o libboinc_graphics2_la-gutil.lo `test -f 'gutil.cpp' || echo './'`gutil.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c gutil.cpp -fPIC -DPIC -o .libs/libboinc_graphics2_la-gutil.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c gutil.cpp -o libboinc_graphics2_la-gutil.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c -o libboinc_graphics2_la-gutil_text.lo `test -f 'gutil_text.cpp' || echo './'`gutil_text.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c gutil_text.cpp -fPIC -DPIC -o .libs/libboinc_graphics2_la-gutil_text.o libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c gutil_text.cpp -o libboinc_graphics2_la-gutil_text.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c -o libboinc_graphics2_la-reduce_lib.lo `test -f 'reduce_lib.cpp' || echo './'`reduce_lib.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c reduce_lib.cpp -fPIC -DPIC -o .libs/libboinc_graphics2_la-reduce_lib.o reduce_lib.cpp: In member function 'void REDUCED_ARRAY_RENDER::draw_row_rect_x(int)': reduce_lib.cpp:191:10: warning: declaration of 'h' shadows a previous local [-Wshadow] float h = (row0[i]-rdata_min)/(rdata_max-rdata_min); ^ reduce_lib.cpp:118:38: note: shadowed declaration is here float z0=0,z1=0,x0=0,x1=0,y0=0,y1=0,h=0,xm=0; ^ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c reduce_lib.cpp -o libboinc_graphics2_la-reduce_lib.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c -o libboinc_graphics2_la-graphics2.lo `test -f 'graphics2.cpp' || echo './'`graphics2.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c graphics2.cpp -fPIC -DPIC -o .libs/libboinc_graphics2_la-graphics2.o In file included from ../lib/hostinfo.h:32, from ../lib/app_ipc.h:28, from graphics2.cpp:30: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from graphics2.cpp:30: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c graphics2.cpp -o libboinc_graphics2_la-graphics2.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c -o libboinc_graphics2_la-static_graphics.lo `test -f 'static_graphics.cpp' || echo './'`static_graphics.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c static_graphics.cpp -fPIC -DPIC -o .libs/libboinc_graphics2_la-static_graphics.o In file included from ../lib/hostinfo.h:32, from ../lib/app_ipc.h:28, from boinc_api.h:26, from static_graphics.cpp:34: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from boinc_api.h:26, from static_graphics.cpp:34: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ static_graphics.cpp: In function 'void app_graphics_render(int, int, double)': static_graphics.cpp:40:30: warning: unused parameter 'xs' [-Wunused-parameter] void app_graphics_render(int xs, int ys, double time_of_day) { ~~~~^~ static_graphics.cpp:40:38: warning: unused parameter 'ys' [-Wunused-parameter] void app_graphics_render(int xs, int ys, double time_of_day) { ~~~~^~ static_graphics.cpp:40:49: warning: unused parameter 'time_of_day' [-Wunused-parameter] void app_graphics_render(int xs, int ys, double time_of_day) { ~~~~~~~^~~~~~~~~~~ static_graphics.cpp: In function 'void boinc_app_mouse_button(int, int, int, int)': static_graphics.cpp:67:33: warning: unused parameter 'x' [-Wunused-parameter] void boinc_app_mouse_button(int x, int y, int which, int is_down) { ~~~~^ static_graphics.cpp:67:40: warning: unused parameter 'y' [-Wunused-parameter] void boinc_app_mouse_button(int x, int y, int which, int is_down) { ~~~~^ static_graphics.cpp:67:47: warning: unused parameter 'which' [-Wunused-parameter] void boinc_app_mouse_button(int x, int y, int which, int is_down) { ~~~~^~~~~ static_graphics.cpp:67:58: warning: unused parameter 'is_down' [-Wunused-parameter] void boinc_app_mouse_button(int x, int y, int which, int is_down) { ~~~~^~~~~~~ static_graphics.cpp: In function 'void boinc_app_mouse_move(int, int, int, int, int)': static_graphics.cpp:69:31: warning: unused parameter 'x' [-Wunused-parameter] void boinc_app_mouse_move(int x, int y, int left, int middle, int right) { ~~~~^ static_graphics.cpp:69:38: warning: unused parameter 'y' [-Wunused-parameter] void boinc_app_mouse_move(int x, int y, int left, int middle, int right) { ~~~~^ static_graphics.cpp:69:45: warning: unused parameter 'left' [-Wunused-parameter] void boinc_app_mouse_move(int x, int y, int left, int middle, int right) { ~~~~^~~~ static_graphics.cpp:69:55: warning: unused parameter 'middle' [-Wunused-parameter] void boinc_app_mouse_move(int x, int y, int left, int middle, int right) { ~~~~^~~~~~ static_graphics.cpp:69:67: warning: unused parameter 'right' [-Wunused-parameter] void boinc_app_mouse_move(int x, int y, int left, int middle, int right) { ~~~~^~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c static_graphics.cpp -o libboinc_graphics2_la-static_graphics.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c -o libboinc_graphics2_la-graphics2_unix.lo `test -f 'graphics2_unix.cpp' || echo './'`graphics2_unix.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c graphics2_unix.cpp -fPIC -DPIC -o .libs/libboinc_graphics2_la-graphics2_unix.o In file included from ../lib/hostinfo.h:32, from ../lib/app_ipc.h:28, from graphics2_unix.cpp:30: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from graphics2_unix.cpp:30: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../samples/image_libs -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c graphics2_unix.cpp -o libboinc_graphics2_la-graphics2_unix.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -version-number 7:8:4 -ljpeg -o libboinc_graphics2.la -rpath /usr/lib libboinc_graphics2_la-gutil.lo libboinc_graphics2_la-gutil_text.lo libboinc_graphics2_la-reduce_lib.lo libboinc_graphics2_la-graphics2.lo libboinc_graphics2_la-static_graphics.lo libboinc_graphics2_la-graphics2_unix.lo -L/usr/lib -lGL -lm -L/usr/lib -lGLU -L/usr/lib -lGL -lm -L/usr/lib -lglut -lSM -lICE -lXmu -lXi -L/usr/lib -lGLU -L/usr/lib -lGL -lm ../lib/libboinc.la -lboinc_api libtool: link: i586-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i586-alt-linux/8/../../../crti.o /usr/lib/gcc/i586-alt-linux/8/crtbeginS.o .libs/libboinc_graphics2_la-gutil.o .libs/libboinc_graphics2_la-gutil_text.o .libs/libboinc_graphics2_la-reduce_lib.o .libs/libboinc_graphics2_la-graphics2.o .libs/libboinc_graphics2_la-static_graphics.o .libs/libboinc_graphics2_la-graphics2_unix.o -Wl,-rpath -Wl,/usr/src/RPM/BUILD/boinc-7.8.4/api/.libs -ljpeg -L/usr/lib -lglut -lSM -lICE -lXmu -lXi -lGLU -lGL ../lib/.libs/libboinc.a /usr/src/RPM/BUILD/boinc-7.8.4/api/.libs/libboinc_api.so -L/usr/lib/gcc/i586-alt-linux/8 -L/usr/lib/gcc/i586-alt-linux/8/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/8/crtendS.o /usr/lib/gcc/i586-alt-linux/8/../../../crtn.o -pthread -pthread -Wl,-soname -Wl,libboinc_graphics2.so.7 -o .libs/libboinc_graphics2.so.7.8.4 libtool: link: (cd ".libs" && rm -f "libboinc_graphics2.so.7" && ln -s "libboinc_graphics2.so.7.8.4" "libboinc_graphics2.so.7") libtool: link: (cd ".libs" && rm -f "libboinc_graphics2.so" && ln -s "libboinc_graphics2.so.7.8.4" "libboinc_graphics2.so") libtool: link: /usr/bin/ar cru .libs/libboinc_graphics2.a libboinc_graphics2_la-gutil.o libboinc_graphics2_la-gutil_text.o libboinc_graphics2_la-reduce_lib.o libboinc_graphics2_la-graphics2.o libboinc_graphics2_la-static_graphics.o libboinc_graphics2_la-graphics2_unix.o libtool: link: ranlib .libs/libboinc_graphics2.a libtool: link: ( cd ".libs" && rm -f "libboinc_graphics2.la" && ln -s "../libboinc_graphics2.la" "libboinc_graphics2.la" ) /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c -o boinc_opencl.lo boinc_opencl.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c boinc_opencl.cpp -fPIC -DPIC -o .libs/boinc_opencl.o In file included from boinc_opencl.cpp:38: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from boinc_api.h:26, from boinc_opencl.cpp:40: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -c boinc_opencl.cpp -o boinc_opencl.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -version-number 7:8:4 -o libboinc_opencl.la -rpath /usr/lib boinc_opencl.lo libtool: link: i586-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i586-alt-linux/8/../../../crti.o /usr/lib/gcc/i586-alt-linux/8/crtbeginS.o .libs/boinc_opencl.o -L/usr/lib/gcc/i586-alt-linux/8 -L/usr/lib/gcc/i586-alt-linux/8/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/8/crtendS.o /usr/lib/gcc/i586-alt-linux/8/../../../crtn.o -pthread -pthread -Wl,-soname -Wl,libboinc_opencl.so.7 -o .libs/libboinc_opencl.so.7.8.4 libtool: link: (cd ".libs" && rm -f "libboinc_opencl.so.7" && ln -s "libboinc_opencl.so.7.8.4" "libboinc_opencl.so.7") libtool: link: (cd ".libs" && rm -f "libboinc_opencl.so" && ln -s "libboinc_opencl.so.7.8.4" "libboinc_opencl.so") libtool: link: /usr/bin/ar cru .libs/libboinc_opencl.a boinc_opencl.o libtool: link: ranlib .libs/libboinc_opencl.a libtool: link: ( cd ".libs" && rm -f "libboinc_opencl.la" && ln -s "../libboinc_opencl.la" "libboinc_opencl.la" ) rm -f libboinc_api.a /bin/ln .libs/libboinc_api.a . rm -f libboinc_graphics2.a /bin/ln .libs/libboinc_graphics2.a . rm -f libboinc_opencl.a /bin/ln .libs/libboinc_opencl.a . make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/api' Making all in lib make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/lib' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o libboinc_crypt_la-crypt.lo `test -f 'crypt.cpp' || echo './'`crypt.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c crypt.cpp -fPIC -DPIC -o .libs/libboinc_crypt_la-crypt.o crypt.cpp: In function 'char* check_validity(const char*, const char*, unsigned char*, char*)': crypt.cpp:743:40: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(fpath, sizeof(fpath), "%s/%s", certPath, file); ^~~~~~~ crypt.cpp:743:17: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 snprintf(fpath, sizeof(fpath), "%s/%s", certPath, file); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c crypt.cpp -o libboinc_crypt_la-crypt.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -pthread -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -static -version-number 7:8:4 -o libboinc_crypt.la -rpath /usr/lib libboinc_crypt_la-crypt.lo libtool: link: /usr/bin/ar cru .libs/libboinc_crypt.a libboinc_crypt_la-crypt.o libtool: link: ranlib .libs/libboinc_crypt.a libtool: link: ( cd ".libs" && rm -f "libboinc_crypt.la" && ln -s "../libboinc_crypt.la" "libboinc_crypt.la" ) rm -f libboinc.a /bin/ln .libs/libboinc.a . rm -f libboinc_crypt.a /bin/ln .libs/libboinc_crypt.a . make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/lib' Making all in client make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/client' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-acct_mgr.o `test -f 'acct_mgr.cpp' || echo './'`acct_mgr.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from acct_mgr.cpp:40: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from acct_mgr.cpp:40: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ acct_mgr.cpp: In member function 'int ACCT_MGR_OP::do_rpc(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, bool)': acct_mgr.cpp:234:32: warning: 'rpc.php' directive output may be truncated writing 7 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%srpc.php", url); ^~~~~~~~~~~ acct_mgr.cpp:234:13: note: 'snprintf' output between 8 and 263 bytes into a destination of size 256 snprintf(buf, sizeof(buf), "%srpc.php", url); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-acct_setup.o `test -f 'acct_setup.cpp' || echo './'`acct_setup.cpp In file included from client_state.h:34, from acct_setup.cpp:27: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from app.h:26, from client_state.h:42, from acct_setup.cpp:27: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-app.o `test -f 'app.cpp' || echo './'`app.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from file_names.h:21, from app.cpp:61: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from app.cpp:61: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ app.cpp: In member function 'int ACTIVE_TASK::handle_upload_files()': app.cpp:1070:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3840 and 4095 [-Wformat-truncation=] snprintf(path, sizeof(path), "%s/%s", slot_dir, buf); ^~~~~~~ ~~~ app.cpp:1070:21: note: 'snprintf' output between 2 and 4352 bytes into a destination of size 4096 snprintf(path, sizeof(path), "%s/%s", slot_dir, buf); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-app_config.o `test -f 'app_config.cpp' || echo './'`app_config.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from app_config.cpp:20: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from app_config.cpp:20: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-app_control.o `test -f 'app_control.cpp' || echo './'`app_control.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from app_control.cpp:74: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from app_control.cpp:74: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ app_control.cpp: In member function 'void ACTIVE_TASK::handle_exited_app(int)': app_control.cpp:535:30: warning: left shift of negative value [-Wshift-negative-value] (-1<<8)|result->exit_status ^ app_control.cpp: In member function 'void ACTIVE_TASK_SET::get_msgs()': app_control.cpp:1537:30: warning: ' checkpointed' directive writing 13 bytes into a region of size between 1 and 256 [-Wformat-overflow=] sprintf(buf, "%s checkpointed", atp->result->name); ^~~~~~~~~~~~~~~~~ app_control.cpp:1537:24: note: 'sprintf' output between 14 and 269 bytes into a destination of size 256 sprintf(buf, "%s checkpointed", atp->result->name); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-app_start.o `test -f 'app_start.cpp' || echo './'`app_start.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from app_start.cpp:83: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from app_start.cpp:83: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ app_start.cpp: In member function 'int ACTIVE_TASK::copy_output_files()': app_start.cpp:479:46: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(slotfile, sizeof(slotfile), "%s/%s", slot_dir, open_name); ^~~~~~~ ~~~~~~~~~ app_start.cpp:479:17: note: 'snprintf' output between 2 and 512 bytes into a destination of size 256 snprintf(slotfile, sizeof(slotfile), "%s/%s", slot_dir, open_name); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_start.cpp: In member function 'int ACTIVE_TASK::start(bool)': app_start.cpp:1111:40: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "../../%s", exec_path); ^~~~~~~~~~ ~~~~~~~~~ app_start.cpp:1111:21: note: 'snprintf' output between 7 and 4102 bytes into a destination of size 4096 snprintf(buf, sizeof(buf), "../../%s", exec_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ app_start.cpp:1170:22: warning: '%s' directive writing up to 4095 bytes into a region of size 4076 [-Wformat-overflow=] sprintf(err_msg, "couldn't start app: %s", buf); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ app_start.cpp:1170:12: note: 'sprintf' output between 21 and 4116 bytes into a destination of size 4096 sprintf(err_msg, "couldn't start app: %s", buf); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-async_file.o `test -f 'async_file.cpp' || echo './'`async_file.cpp In file included from ../lib/hostinfo.h:32, from ../lib/app_ipc.h:28, from app.h:26, from async_file.cpp:40: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from app.h:26, from async_file.cpp:40: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-check_state.o `test -f 'check_state.cpp' || echo './'`check_state.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from check_state.cpp:30: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from check_state.cpp:30: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-client_msgs.o `test -f 'client_msgs.cpp' || echo './'`client_msgs.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from file_names.h:21, from log_flags.h:28, from client_msgs.cpp:32: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.cpp:32: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ client_msgs.cpp: In function 'void show_message(PROJ_AM*, char*, int, bool, const char*)': client_msgs.cpp:81:48: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 998 [-Wformat-truncation=] snprintf(event_msg, sizeof(event_msg), "%s: %s", ^~~~~~~~ _("Message from server"), message ~~~~~~~ client_msgs.cpp:81:17: note: 'snprintf' output between 27 and 1050 bytes into a destination of size 1024 snprintf(event_msg, sizeof(event_msg), "%s: %s", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _("Message from server"), message ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ); ~ client_msgs.cpp:78:48: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(event_msg, sizeof(event_msg), "[error] %s", message); ^~~~~~~~~~~~ ~~~~~~~ client_msgs.cpp:78:17: note: 'snprintf' output between 9 and 1032 bytes into a destination of size 1024 snprintf(event_msg, sizeof(event_msg), "[error] %s", message); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-client_state.o `test -f 'client_state.cpp' || echo './'`client_state.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from client_state.cpp:61: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from client_state.cpp:61: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-client_types.o `test -f 'client_types.cpp' || echo './'`client_types.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from file_names.h:21, from log_flags.h:28, from client_types.cpp:46: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_types.cpp:46: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-coproc_sched.o `test -f 'coproc_sched.cpp' || echo './'`coproc_sched.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from coproc_sched.cpp:20: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from coproc_sched.cpp:20: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-cpu_sched.o `test -f 'cpu_sched.cpp' || echo './'`cpu_sched.cpp In file included from cpu_sched.cpp:67: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from app.h:26, from cpu_sched.cpp:73: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ cpu_sched.cpp: In member function 'bool CLIENT_STATE::enforce_run_list(std::vector&)': cpu_sched.cpp:1206:10: warning: variable 'scheduled_mt' set but not used [-Wunused-but-set-variable] bool scheduled_mt = false; ^~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-cs_account.o `test -f 'cs_account.cpp' || echo './'`cs_account.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from cs_account.cpp:41: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from cs_account.cpp:41: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-cs_apps.o `test -f 'cs_apps.cpp' || echo './'`cs_apps.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from cs_apps.cpp:38: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from cs_apps.cpp:38: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-cs_benchmark.o `test -f 'cs_benchmark.cpp' || echo './'`cs_benchmark.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from file_names.h:21, from cs_benchmark.cpp:62: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from cs_benchmark.cpp:62: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-cs_cmdline.o `test -f 'cs_cmdline.cpp' || echo './'`cs_cmdline.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from cs_cmdline.cpp:38: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from cs_cmdline.cpp:38: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-cs_files.o `test -f 'cs_files.cpp' || echo './'`cs_files.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from file_names.h:21, from cs_files.cpp:46: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from cs_files.cpp:46: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ cs_files.cpp: In member function 'int FILE_INFO::verify_file(bool, bool, bool)': cs_files.cpp:195:42: warning: '.gz' directive output may be truncated writing 3 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(gzpath, sizeof(gzpath), "%s.gz", pathname); ^~~~~~~ cs_files.cpp:195:17: note: 'snprintf' output between 4 and 4099 bytes into a destination of size 4096 snprintf(gzpath, sizeof(gzpath), "%s.gz", pathname); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cs_files.cpp: In member function 'bool CLIENT_STATE::create_and_delete_pers_file_xfers()': cs_files.cpp:421:60: warning: '.gzt' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(from_path, sizeof(from_path), "%s.gzt", path); ^~~~~~~~ cs_files.cpp:421:29: note: 'snprintf' output between 5 and 4100 bytes into a destination of size 4096 snprintf(from_path, sizeof(from_path), "%s.gzt", path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cs_files.cpp:422:56: warning: '.gz' directive output may be truncated writing 3 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(to_path, sizeof(to_path), "%s.gz", path); ^~~~~~~ cs_files.cpp:422:29: note: 'snprintf' output between 4 and 4099 bytes into a destination of size 4096 snprintf(to_path, sizeof(to_path), "%s.gz", path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-cs_notice.o `test -f 'cs_notice.cpp' || echo './'`cs_notice.cpp In file included from client_state.h:34, from cs_notice.cpp:36: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from app.h:26, from client_state.h:42, from cs_notice.cpp:36: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-cs_platforms.o `test -f 'cs_platforms.cpp' || echo './'`cs_platforms.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from cs_platforms.cpp:53: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from app.h:26, from client_state.h:42, from cs_platforms.cpp:54: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-cs_prefs.o `test -f 'cs_prefs.cpp' || echo './'`cs_prefs.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from cs_prefs.cpp:43: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from cs_prefs.cpp:43: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-cs_proxy.o `test -f 'cs_proxy.cpp' || echo './'`cs_proxy.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from cs_proxy.cpp:27: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from cs_proxy.cpp:27: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-cs_scheduler.o `test -f 'cs_scheduler.cpp' || echo './'`cs_scheduler.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from file_names.h:21, from cs_scheduler.cpp:43: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from cs_scheduler.cpp:43: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-cs_statefile.o `test -f 'cs_statefile.cpp' || echo './'`cs_statefile.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from cs_statefile.cpp:43: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from cs_statefile.cpp:43: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-cs_trickle.o `test -f 'cs_trickle.cpp' || echo './'`cs_trickle.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from file_names.h:21, from cs_trickle.cpp:35: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from cs_trickle.cpp:35: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-current_version.o `test -f 'current_version.cpp' || echo './'`current_version.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from current_version.cpp:25: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from current_version.cpp:25: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-dhrystone.o `test -f 'dhrystone.cpp' || echo './'`dhrystone.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-dhrystone2.o `test -f 'dhrystone2.cpp' || echo './'`dhrystone2.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-file_names.o `test -f 'file_names.cpp' || echo './'`file_names.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from file_names.cpp:43: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from file_names.cpp:43: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ file_names.cpp: In function 'void delete_old_slot_dirs()': file_names.cpp:246:62: warning: '%s' directive output may be truncated writing 13 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(init_data_path, sizeof(init_data_path), "%s/%s", path, INIT_DATA_FILE); ^~~~~~~ file_names.cpp:246:21: note: 'snprintf' output between 15 and 4110 bytes into a destination of size 4096 snprintf(init_data_path, sizeof(init_data_path), "%s/%s", path, INIT_DATA_FILE); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-file_xfer.o `test -f 'file_xfer.cpp' || echo './'`file_xfer.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from file_names.h:21, from file_xfer.cpp:32: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from file_xfer.cpp:32: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ file_xfer.cpp: In member function 'int FILE_XFER::init_upload(FILE_INFO&)': file_xfer.cpp:132:13: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3592 and 3847 [-Wformat-truncation=] "\n" ^~~~~~~~~~~~~~~~~~~~~~~~~ " %d\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " %d\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " %d\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "\n" ~~~~~~~~~~~~~~~~~ "\n" ~~~~~~~~~~~~~~~ "%s\n" ~~~~~~~~~~~~~~~~~~~ "\n" ~~~~~~~~~~~~~~~~~~~ "%s" ~~~~ "\n" ~~~~~~~~~~~~~~~~~~~~ "%.0f\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "\n" ~~~~~~~~~~~~~~~~ "%.0f\n" ~~~~~~~~~~~~~~~~~~~~~~~~~ "%s\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%.0f\n" ~~~~~~~~~~~~~~~~~~~~~~~~~ "\n", ~~~~~~~~~~ file_xfer.cpp:131:17: note: 'snprintf' output between 376 and 5716 bytes into a destination of size 4096 snprintf(header, sizeof(header), ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ "\n" ~~~~~~~~~~~~~~~~~~~~~~~~~ " %d\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " %d\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " %d\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "\n" ~~~~~~~~~~~~~~~~~ "\n" ~~~~~~~~~~~~~~~ "%s\n" ~~~~~~~~~~~~~~~~~~~ "\n" ~~~~~~~~~~~~~~~~~~~ "%s" ~~~~ "\n" ~~~~~~~~~~~~~~~~~~~~ "%.0f\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "\n" ~~~~~~~~~~~~~~~~ "%.0f\n" ~~~~~~~~~~~~~~~~~~~~~~~~~ "%s\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%.0f\n" ~~~~~~~~~~~~~~~~~~~~~~~~~ "\n", ~~~~~~~~~~~ BOINC_MAJOR_VERSION, BOINC_MINOR_VERSION, BOINC_RELEASE, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file_info.name, ~~~~~~~~~~~~~~~ file_info.xml_signature, ~~~~~~~~~~~~~~~~~~~~~~~~ file_info.max_nbytes, ~~~~~~~~~~~~~~~~~~~~~ file_info.nbytes, ~~~~~~~~~~~~~~~~~ file_info.md5_cksum, ~~~~~~~~~~~~~~~~~~~~ file_info.upload_offset ~~~~~~~~~~~~~~~~~~~~~~~ ); ~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-gpu_amd.o `test -f 'gpu_amd.cpp' || echo './'`gpu_amd.cpp In file included from gpu_amd.cpp:45: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from gpu_amd.cpp:49: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-gpu_detect.o `test -f 'gpu_detect.cpp' || echo './'`gpu_detect.cpp In file included from gpu_detect.cpp:71: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from gpu_detect.cpp:73: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ gpu_detect.cpp: In member function 'int COPROCS::read_coproc_info_file(std::vector >&)': gpu_detect.cpp:502:79: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&my_nvidia_gpu.pci_infos[0], 0, sizeof(struct PCI_INFO)); ^ In file included from gpu_detect.cpp:71: ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ gpu_detect.cpp:567:54: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct OPENCL_CPU_PROP'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&cpu_opencl, 0, sizeof(cpu_opencl)); ^ In file included from ../lib/coproc.h:89, from gpu_detect.cpp:71: ../lib/opencl_boinc.h:95:8: note: 'struct OPENCL_CPU_PROP' declared here struct OPENCL_CPU_PROP { ^~~~~~~~~~~~~~~ gpu_detect.cpp:570:58: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct OPENCL_CPU_PROP'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&cpu_opencl, 0, sizeof(cpu_opencl)); ^ In file included from ../lib/coproc.h:89, from gpu_detect.cpp:71: ../lib/opencl_boinc.h:95:8: note: 'struct OPENCL_CPU_PROP' declared here struct OPENCL_CPU_PROP { ^~~~~~~~~~~~~~~ gpu_detect.cpp: In member function 'void COPROCS::correlate_gpus(bool, std::vector >&, std::vector (&)[5])': gpu_detect.cpp:264:17: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 230 and 240 [-Wformat-truncation=] "CAL: ATI GPU %d: %s", ^~~~~~~~~~~~~~~~~~~~~ ati_gpus[i].device_num, buf ~~~ gpu_detect.cpp:263:21: note: 'snprintf' output between 17 and 282 bytes into a destination of size 256 snprintf(buf2, sizeof(buf2), ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ "CAL: ATI GPU %d: %s", ~~~~~~~~~~~~~~~~~~~~~~ ati_gpus[i].device_num, buf ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ); ~ gpu_detect.cpp:258:17: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 210 and 220 [-Wformat-truncation=] "CAL: ATI GPU %d (ignored by config): %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ati_gpus[i].device_num, buf ~~~ gpu_detect.cpp:257:21: note: 'snprintf' output between 37 and 302 bytes into a destination of size 256 snprintf(buf2, sizeof(buf2), ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ "CAL: ATI GPU %d (ignored by config): %s", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ati_gpus[i].device_num, buf ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ); ~ gpu_detect.cpp:271:17: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 219 and 229 [-Wformat-truncation=] "CAL: ATI GPU %d: (not used) %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ati_gpus[i].device_num, buf ~~~ gpu_detect.cpp:270:21: note: 'snprintf' output between 28 and 293 bytes into a destination of size 256 snprintf(buf2, sizeof(buf2), ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ "CAL: ATI GPU %d: (not used) %s", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ati_gpus[i].device_num, buf ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ); ~ gpu_detect.cpp:226:17: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 226 and 236 [-Wformat-truncation=] "CUDA: NVIDIA GPU %d: %s", ^~~~~~~~~~~~~~~~~~~~~~~~~ nvidia_gpus[i].device_num, buf ~~~ gpu_detect.cpp:225:21: note: 'snprintf' output between 21 and 286 bytes into a destination of size 256 snprintf(buf2, sizeof(buf2), ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ "CUDA: NVIDIA GPU %d: %s", ~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia_gpus[i].device_num, buf ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ); ~ gpu_detect.cpp:220:17: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 206 and 216 [-Wformat-truncation=] "CUDA: NVIDIA GPU %d (ignored by config): %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia_gpus[i].device_num, buf ~~~ gpu_detect.cpp:219:21: note: 'snprintf' output between 41 and 306 bytes into a destination of size 256 snprintf(buf2, sizeof(buf2), ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ "CUDA: NVIDIA GPU %d (ignored by config): %s", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia_gpus[i].device_num, buf ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ); ~ gpu_detect.cpp:233:17: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 215 and 225 [-Wformat-truncation=] "CUDA: NVIDIA GPU %d (not used): %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia_gpus[i].device_num, buf ~~~ gpu_detect.cpp:232:21: note: 'snprintf' output between 32 and 297 bytes into a destination of size 256 snprintf(buf2, sizeof(buf2), ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ "CUDA: NVIDIA GPU %d (not used): %s", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvidia_gpus[i].device_num, buf ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ); ~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-gpu_intel.o `test -f 'gpu_intel.cpp' || echo './'`gpu_intel.cpp In file included from gpu_intel.cpp:39: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from gpu_intel.cpp:42: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-gpu_nvidia.o `test -f 'gpu_nvidia.cpp' || echo './'`gpu_nvidia.cpp In file included from gpu_nvidia.cpp:91: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from gpu_nvidia.cpp:94: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-gpu_opencl.o `test -f 'gpu_opencl.cpp' || echo './'`gpu_opencl.cpp In file included from gpu_opencl.cpp:43: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from gpu_opencl.cpp:47: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-gui_http.o `test -f 'gui_http.cpp' || echo './'`gui_http.cpp In file included from client_state.h:34, from gui_http.cpp:27: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from app.h:26, from client_state.h:42, from gui_http.cpp:27: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-gui_rpc_server.o `test -f 'gui_rpc_server.cpp' || echo './'`gui_rpc_server.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from file_names.h:21, from gui_rpc_server.cpp:65: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from gui_rpc_server.cpp:65: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-gui_rpc_server_ops.o `test -f 'gui_rpc_server_ops.cpp' || echo './'`gui_rpc_server_ops.cpp In file included from client_state.h:34, from gui_rpc_server_ops.cpp:67: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from app.h:26, from client_state.h:42, from gui_rpc_server_ops.cpp:67: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-hostinfo_network.o `test -f 'hostinfo_network.cpp' || echo './'`hostinfo_network.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from file_names.h:21, from hostinfo_network.cpp:48: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from hostinfo_network.cpp:48: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-http_curl.o `test -f 'http_curl.cpp' || echo './'`http_curl.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from http_curl.cpp:49: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from http_curl.cpp:49: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ http_curl.cpp: In function 'void get_user_agent_string()': http_curl.cpp:81:36: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 254 [-Wformat-truncation=] snprintf(buf, sizeof(buf), " (%s)", gstate.client_brand); ^~~~~~~ ~~~~~~~~~~~~~~~~~~~ http_curl.cpp:81:17: note: 'snprintf' output between 4 and 259 bytes into a destination of size 256 snprintf(buf, sizeof(buf), " (%s)", gstate.client_brand); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http_curl.cpp: In member function 'void HTTP_OP::setup_proxy_session(bool)': http_curl.cpp:881:17: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 128 [-Wformat-truncation=] "%s:%s", ^~~~~~~ http_curl.cpp:880:21: note: 'snprintf' output between 2 and 512 bytes into a destination of size 128 snprintf(m_curl_user_credentials, sizeof(m_curl_user_credentials), ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s:%s", ~~~~~~~~ pi.socks5_user_name, pi.socks5_user_passwd ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ); ~ http_curl.cpp:860:17: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 128 [-Wformat-truncation=] "%s:%s", ^~~~~~~ http_curl.cpp:859:21: note: 'snprintf' output between 2 and 512 bytes into a destination of size 128 snprintf(m_curl_user_credentials, sizeof(m_curl_user_credentials), ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s:%s", ~~~~~~~~ pi.http_user_name, pi.http_user_passwd ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ); ~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-log_flags.o `test -f 'log_flags.cpp' || echo './'`log_flags.cpp In file included from client_state.h:34, from log_flags.cpp:41: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from app.h:26, from client_state.h:42, from log_flags.cpp:41: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-mac_address.o `test -f 'mac_address.cpp' || echo './'`mac_address.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-main.o `test -f 'main.cpp' || echo './'`main.cpp In file included from main.cpp:60: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from client_state.h:34, from main.cpp:65: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ main.cpp: In function 'void init_core_client(int, char**)': main.cpp:243:49: warning: cast between incompatible function types from 'void (*)(int)' to 'handler_t' {aka 'void (*)(int, siginfo*, void*)'} [-Wcast-function-type] boinc_set_signal_handler(SIGHUP, (handler_t)signal_handler); ^~~~~~~~~~~~~~ main.cpp:244:49: warning: cast between incompatible function types from 'void (*)(int)' to 'handler_t' {aka 'void (*)(int, siginfo*, void*)'} [-Wcast-function-type] boinc_set_signal_handler(SIGINT, (handler_t)signal_handler); ^~~~~~~~~~~~~~ main.cpp:245:50: warning: cast between incompatible function types from 'void (*)(int)' to 'handler_t' {aka 'void (*)(int, siginfo*, void*)'} [-Wcast-function-type] boinc_set_signal_handler(SIGQUIT, (handler_t)signal_handler); ^~~~~~~~~~~~~~ main.cpp:246:50: warning: cast between incompatible function types from 'void (*)(int)' to 'handler_t' {aka 'void (*)(int, siginfo*, void*)'} [-Wcast-function-type] boinc_set_signal_handler(SIGTERM, (handler_t)signal_handler); ^~~~~~~~~~~~~~ main.cpp:248:49: warning: cast between incompatible function types from 'void (*)(int)' to 'handler_t' {aka 'void (*)(int, siginfo*, void*)'} [-Wcast-function-type] boinc_set_signal_handler(SIGPWR, (handler_t)signal_handler); ^~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-net_stats.o `test -f 'net_stats.cpp' || echo './'`net_stats.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from net_stats.cpp:41: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from net_stats.cpp:41: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-pers_file_xfer.o `test -f 'pers_file_xfer.cpp' || echo './'`pers_file_xfer.cpp In file included from client_state.h:34, from pers_file_xfer.cpp:35: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from app.h:26, from client_state.h:42, from pers_file_xfer.cpp:35: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-project.o `test -f 'project.cpp' || echo './'`project.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from project.cpp:30: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from project.cpp:30: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-result.o `test -f 'result.cpp' || echo './'`result.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from result.cpp:32: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from result.cpp:32: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ result.cpp: In member function 'int RESULT::write_gui(MIOFILE&)': result.cpp:417:17: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 243 and 251 [-Wformat-truncation=] "%.3g %s + %s GPU (missing)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ result.cpp:416:21: note: 'snprintf' output 20 or more bytes (assuming 283) into a destination of size 256 snprintf(resources, sizeof(resources), ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%.3g %s + %s GPU (missing)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ avp->avg_ncpus, ~~~~~~~~~~~~~~~ cpu_string(avp->avg_ncpus), ~~~~~~~~~~~~~~~~~~~~~~~~~~~ avp->missing_coproc_name ~~~~~~~~~~~~~~~~~~~~~~~~ ); ~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-rr_sim.o `test -f 'rr_sim.cpp' || echo './'`rr_sim.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from rr_sim.cpp:49: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from rr_sim.cpp:49: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-sandbox.o `test -f 'sandbox.cpp' || echo './'`sandbox.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from file_names.h:21, from sandbox.cpp:37: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from sandbox.cpp:37: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ sandbox.cpp: In function 'int client_clean_out_dir(const char*, const char*, const char*)': sandbox.cpp:349:38: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(path, sizeof(path), "%s/%s", dirpath, filename); ^~~~~~~ sandbox.cpp:349:17: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 snprintf(path, sizeof(path), "%s/%s", dirpath, filename); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-scheduler_op.o `test -f 'scheduler_op.cpp' || echo './'`scheduler_op.cpp In file included from client_state.h:34, from scheduler_op.cpp:41: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from app.h:26, from client_state.h:42, from scheduler_op.cpp:41: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-thread.o `test -f 'thread.cpp' || echo './'`thread.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-time_stats.o `test -f 'time_stats.cpp' || echo './'`time_stats.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from time_stats.cpp:42: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from time_stats.cpp:42: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-whetstone.o `test -f 'whetstone.cpp' || echo './'`whetstone.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-work_fetch.o `test -f 'work_fetch.cpp' || echo './'`work_fetch.cpp In file included from ../lib/cc_config.h:31, from client_types.h:34, from client_msgs.h:26, from work_fetch.cpp:34: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from file_names.h:23, from log_flags.h:28, from client_msgs.h:28, from work_fetch.cpp:34: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -c -o boinc_client-hostinfo_unix.o `test -f 'hostinfo_unix.cpp' || echo './'`hostinfo_unix.cpp hostinfo_unix.cpp:225:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif LINUX_LIKE_SYSTEM ^~~~~~~~~~~~~~~~~ hostinfo_unix.cpp:225:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:225:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:225:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:419:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if LINUX_LIKE_SYSTEM ^~~~~~~~~~~~~~~~~ hostinfo_unix.cpp:419:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:419:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:419:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:1341:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if LINUX_LIKE_SYSTEM ^~~~~~~~~~~~~~~~~ hostinfo_unix.cpp:1341:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:1341:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:1341:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:1470:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif LINUX_LIKE_SYSTEM ^~~~~~~~~~~~~~~~~ hostinfo_unix.cpp:1470:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:1470:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:1470:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:1627:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if LINUX_LIKE_SYSTEM ^~~~~~~~~~~~~~~~~ hostinfo_unix.cpp:1627:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:1627:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:1627:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:2089:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if LINUX_LIKE_SYSTEM ^~~~~~~~~~~~~~~~~ hostinfo_unix.cpp:2089:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:2089:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:2089:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:2342:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if LINUX_LIKE_SYSTEM ^~~~~~~~~~~~~~~~~ hostinfo_unix.cpp:2342:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:2342:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] hostinfo_unix.cpp:2342:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from client_state.h:34, from hostinfo_unix.cpp:119: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from app.h:26, from client_state.h:42, from hostinfo_unix.cpp:119: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ hostinfo_unix.cpp: In function 'std::vector > get_tty_list()': hostinfo_unix.cpp:1829:42: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(fullname,"%s/%s",tty_patterns[i].dir,devname); ^~~~~~~ hostinfo_unix.cpp:1829:32: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf(fullname,"%s/%s",tty_patterns[i].dir,devname); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hostinfo_unix.cpp: In function 'std::vector > get_input_list()': hostinfo_unix.cpp:1891:42: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(fullname,"%s/%s",input_patterns[i].dir,devname); ^~~~~~~ hostinfo_unix.cpp:1891:32: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf(fullname,"%s/%s",input_patterns[i].dir,devname); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -static -L../lib -o boinc_client boinc_client-acct_mgr.o boinc_client-acct_setup.o boinc_client-app.o boinc_client-app_config.o boinc_client-app_control.o boinc_client-app_start.o boinc_client-async_file.o boinc_client-check_state.o boinc_client-client_msgs.o boinc_client-client_state.o boinc_client-client_types.o boinc_client-coproc_sched.o boinc_client-cpu_sched.o boinc_client-cs_account.o boinc_client-cs_apps.o boinc_client-cs_benchmark.o boinc_client-cs_cmdline.o boinc_client-cs_files.o boinc_client-cs_notice.o boinc_client-cs_platforms.o boinc_client-cs_prefs.o boinc_client-cs_proxy.o boinc_client-cs_scheduler.o boinc_client-cs_statefile.o boinc_client-cs_trickle.o boinc_client-current_version.o boinc_client-dhrystone.o boinc_client-dhrystone2.o boinc_client-file_names.o boinc_client-file_xfer.o boinc_client-gpu_amd.o boinc_client-gpu_detect.o boinc_client-gpu_intel.o boinc_client-gpu_nvidia.o boinc_client-gpu_opencl.o boinc_client-gui_http.o boinc_client-gui_rpc_server.o boinc_client-gui_rpc_server_ops.o boinc_client-hostinfo_network.o boinc_client-http_curl.o boinc_client-log_flags.o boinc_client-mac_address.o boinc_client-main.o boinc_client-net_stats.o boinc_client-pers_file_xfer.o boinc_client-project.o boinc_client-result.o boinc_client-rr_sim.o boinc_client-sandbox.o boinc_client-scheduler_op.o boinc_client-thread.o boinc_client-time_stats.o boinc_client-whetstone.o boinc_client-work_fetch.o boinc_client-hostinfo_unix.o ../lib/libboinc.la ../lib/libboinc_crypt.la -lcurl -L/usr -L/usr/lib -lssl -lcrypto -L/usr -L/usr/lib -lssl -lcrypto -ldl -lfreetype -lz -lresolv -lpthread -lm libtool: link: i586-alt-linux-g++ -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/include -I/usr/include/openssl -std=gnu++11 -Wall -o boinc_client boinc_client-acct_mgr.o boinc_client-acct_setup.o boinc_client-app.o boinc_client-app_config.o boinc_client-app_control.o boinc_client-app_start.o boinc_client-async_file.o boinc_client-check_state.o boinc_client-client_msgs.o boinc_client-client_state.o boinc_client-client_types.o boinc_client-coproc_sched.o boinc_client-cpu_sched.o boinc_client-cs_account.o boinc_client-cs_apps.o boinc_client-cs_benchmark.o boinc_client-cs_cmdline.o boinc_client-cs_files.o boinc_client-cs_notice.o boinc_client-cs_platforms.o boinc_client-cs_prefs.o boinc_client-cs_proxy.o boinc_client-cs_scheduler.o boinc_client-cs_statefile.o boinc_client-cs_trickle.o boinc_client-current_version.o boinc_client-dhrystone.o boinc_client-dhrystone2.o boinc_client-file_names.o boinc_client-file_xfer.o boinc_client-gpu_amd.o boinc_client-gpu_detect.o boinc_client-gpu_intel.o boinc_client-gpu_nvidia.o boinc_client-gpu_opencl.o boinc_client-gui_http.o boinc_client-gui_rpc_server.o boinc_client-gui_rpc_server_ops.o boinc_client-hostinfo_network.o boinc_client-http_curl.o boinc_client-log_flags.o boinc_client-mac_address.o boinc_client-main.o boinc_client-net_stats.o boinc_client-pers_file_xfer.o boinc_client-project.o boinc_client-result.o boinc_client-rr_sim.o boinc_client-sandbox.o boinc_client-scheduler_op.o boinc_client-thread.o boinc_client-time_stats.o boinc_client-whetstone.o boinc_client-work_fetch.o boinc_client-hostinfo_unix.o -L../lib ../lib/.libs/libboinc.a ../lib/.libs/libboinc_crypt.a -lcurl -L/usr -L/usr/lib -lssl -lcrypto -ldl -lfreetype -lz -lresolv -lpthread -lm -pthread i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -std=gnu++11 -Wall -c -o boinccmd-boinc_cmd.o `test -f 'boinc_cmd.cpp' || echo './'`boinc_cmd.cpp In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from boinc_cmd.cpp:41: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from boinc_cmd.cpp:41: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ boinc_cmd.cpp: In function 'int main(int, char**)': boinc_cmd.cpp:385:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class HOST_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&h, 0, sizeof(h)); ^ In file included from ../lib/gui_rpc_client.h:41, from boinc_cmd.cpp:41: ../lib/hostinfo.h:37:7: note: 'class HOST_INFO' declared here class HOST_INFO { ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -std=gnu++11 -Wall -static -L../lib -o boinccmd boinccmd-boinc_cmd.o ../lib/libboinc.la -lcurl -L/usr -L/usr/lib -lssl -lcrypto -L/usr -L/usr/lib -lssl -lcrypto -ldl -lfreetype -lz -lresolv -lpthread -lm libtool: link: i586-alt-linux-g++ -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -std=gnu++11 -Wall -o boinccmd boinccmd-boinc_cmd.o -L../lib ../lib/.libs/libboinc.a -lcurl -L/usr -L/usr/lib -lssl -lcrypto -ldl -lfreetype -lz -lresolv -lpthread -lm -pthread i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -std=gnu++11 -Wall -c -o switcher.o switcher.cpp In file included from ../lib/hostinfo.h:32, from ../lib/app_ipc.h:28, from switcher.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from switcher.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -std=gnu++11 -Wall -static -L../lib -o switcher switcher.o ../lib/libboinc.la -lresolv -lpthread -lm libtool: link: i586-alt-linux-g++ -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -std=gnu++11 -Wall -o switcher switcher.o -L../lib ../lib/.libs/libboinc.a -lresolv -lpthread -lm -pthread rm -f boinc .libs/boinc /bin/ln boinc_client boinc if test -f .libs/boinc_client ; then /bin/ln .libs/boinc_client .libs/boinc ; fi make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/client' Making all in client/scripts make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/client/scripts' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/client/scripts' Making all in clientgui make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/clientgui' Making all in res make[3]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/clientgui/res' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/clientgui/res' make[3]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/clientgui' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-AccountInfoPage.o `test -f 'AccountInfoPage.cpp' || echo './'`AccountInfoPage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from AccountInfoPage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from AccountInfoPage.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from AccountInfoPage.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from AccountInfoPage.cpp:22: AccountInfoPage.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::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ AccountInfoPage.cpp:57:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( wxID_ANY, CAccountInfoPage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:324:44: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGING(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGING, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ AccountInfoPage.cpp:58:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGING' EVT_WIZARDEX_PAGE_CHANGING( wxID_ANY, CAccountInfoPage::OnPageChanging ) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ AccountInfoPage.cpp:59:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( wxID_ANY, CAccountInfoPage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ /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:4329:38: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_RADIOBUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_RADIOBUTTON, 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:4329:81: note: in expansion of macro 'wxCommandEventHandler' #define EVT_RADIOBUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_RADIOBUTTON, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ AccountInfoPage.cpp:60:5: note: in expansion of macro 'EVT_RADIOBUTTON' EVT_RADIOBUTTON( ID_ACCOUNTCREATECTRL, CAccountInfoPage::OnAccountCreateCtrlSelected ) ^~~~~~~~~~~~~~~ /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:4329:38: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_RADIOBUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_RADIOBUTTON, 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:4329:81: note: in expansion of macro 'wxCommandEventHandler' #define EVT_RADIOBUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_RADIOBUTTON, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ AccountInfoPage.cpp:61:5: note: in expansion of macro 'EVT_RADIOBUTTON' EVT_RADIOBUTTON( ID_ACCOUNTUSEEXISTINGCTRL, CAccountInfoPage::OnAccountUseExistingCtrlSelected ) ^~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-AccountManagerInfoPage.o `test -f 'AccountManagerInfoPage.cpp' || echo './'`AccountManagerInfoPage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from AccountManagerInfoPage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from AccountManagerInfoPage.cpp:34: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from AccountManagerInfoPage.cpp:34: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from AccountManagerInfoPage.cpp:22: AccountManagerInfoPage.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::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ AccountManagerInfoPage.cpp:59:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( -1, CAccountManagerInfoPage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:324:44: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGING(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGING, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ AccountManagerInfoPage.cpp:60:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGING' EVT_WIZARDEX_PAGE_CHANGING( -1, CAccountManagerInfoPage::OnPageChanging ) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AccountManagerInfoPage.cpp:61:5: note: in expansion of macro 'EVT_LISTBOX' EVT_LISTBOX( ID_PROJECTS, CAccountManagerInfoPage::OnProjectSelected ) ^~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AccountManagerInfoPage.cpp:62:2: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON( ID_PROJECTWEBPAGECTRL, CAccountManagerInfoPage::OnProjectItemDisplay ) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:862:26: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_TEXT(id, fn) wx__DECLARE_EVT1(wxEVT_TEXT, id, wxTextEventHandler(fn)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:852:34: note: in expansion of macro 'wxCommandEventHandler' #define wxTextEventHandler(func) wxCommandEventHandler(func) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:862:59: note: in expansion of macro 'wxTextEventHandler' #define EVT_TEXT(id, fn) wx__DECLARE_EVT1(wxEVT_TEXT, id, wxTextEventHandler(fn)) ^~~~~~~~~~~~~~~~~~ AccountManagerInfoPage.cpp:63:5: note: in expansion of macro 'EVT_TEXT' EVT_TEXT( ID_PROJECTURLCTRL, CAccountManagerInfoPage::OnURLChanged ) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ AccountManagerInfoPage.cpp:64:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( -1, CAccountManagerInfoPage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-AccountManagerProcessingPage.o `test -f 'AccountManagerProcessingPage.cpp' || echo './'`AccountManagerProcessingPage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from AccountManagerProcessingPage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from AccountManagerProcessingPage.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from AccountManagerProcessingPage.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from AccountManagerProcessingPage.cpp:22: AccountManagerProcessingPage.cpp: At global scope: AccountManagerProcessingPage.cpp:74:78: warning: cast between incompatible pointer to member types from 'void (CAccountManagerProcessingPage::*)(CAccountManagerProcessingPageEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_ACCOUNTMANAGERPROCESSING_STATECHANGE( CAccountManagerProcessingPage::OnStateChange ) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ AccountManagerProcessingPage.h:47:5: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' DECLARE_EVENT_TABLE_ENTRY(wxEVT_ACCOUNTMANAGERPROCESSING_STATECHANGE, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ AccountManagerProcessingPage.cpp:74:5: note: in expansion of macro 'EVT_ACCOUNTMANAGERPROCESSING_STATECHANGE' EVT_ACCOUNTMANAGERPROCESSING_STATECHANGE( CAccountManagerProcessingPage::OnStateChange ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ AccountManagerProcessingPage.cpp:77:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( -1, CAccountManagerProcessingPage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ AccountManagerProcessingPage.cpp:78:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( -1, CAccountManagerProcessingPage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-AccountManagerPropertiesPage.o `test -f 'AccountManagerPropertiesPage.cpp' || echo './'`AccountManagerPropertiesPage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from AccountManagerPropertiesPage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from AccountManagerPropertiesPage.cpp:34: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from AccountManagerPropertiesPage.cpp:34: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from AccountManagerPropertiesPage.cpp:22: AccountManagerPropertiesPage.cpp: At global scope: AccountManagerPropertiesPage.cpp:76:78: warning: cast between incompatible pointer to member types from 'void (CAccountManagerPropertiesPage::*)(CAccountManagerPropertiesPageEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_ACCOUNTMANAGERPROPERTIES_STATECHANGE( CAccountManagerPropertiesPage::OnStateChange ) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ AccountManagerPropertiesPage.h:47:5: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' DECLARE_EVENT_TABLE_ENTRY(wxEVT_ACCOUNTMANAGERPROPERTIES_STATECHANGE, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ AccountManagerPropertiesPage.cpp:76:5: note: in expansion of macro 'EVT_ACCOUNTMANAGERPROPERTIES_STATECHANGE' EVT_ACCOUNTMANAGERPROPERTIES_STATECHANGE( CAccountManagerPropertiesPage::OnStateChange ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ AccountManagerPropertiesPage.cpp:79:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( -1, CAccountManagerPropertiesPage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ AccountManagerPropertiesPage.cpp:80:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( -1, CAccountManagerPropertiesPage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-AdvancedFrame.o `test -f 'AdvancedFrame.cpp' || echo './'`AdvancedFrame.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from AdvancedFrame.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/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from AdvancedFrame.cpp:38: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from AdvancedFrame.cpp:38: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from AdvancedFrame.cpp:27: AdvancedFrame.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxSizeEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4154:25: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SIZE(func) wx__DECLARE_EVT0(wxEVT_SIZE, wxSizeEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3912:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxSizeEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4154:54: note: in expansion of macro 'wxSizeEventHandler' #define EVT_SIZE(func) wx__DECLARE_EVT0(wxEVT_SIZE, wxSizeEventHandler(func)) ^~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:78:5: note: in expansion of macro 'EVT_SIZE' EVT_SIZE(CStatusBar::OnSize) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMenuEvent&)' 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:4173:30: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MENU_OPEN(func) wx__DECLARE_EVT0(wxEVT_MENU_OPEN, wxMenuEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3933:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMenuEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4173:64: note: in expansion of macro 'wxMenuEventHandler' #define EVT_MENU_OPEN(func) wx__DECLARE_EVT0(wxEVT_MENU_OPEN, wxMenuEventHandler(func)) ^~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:166:5: note: in expansion of macro 'EVT_MENU_OPEN' EVT_MENU_OPEN(CAdvancedFrame::OnMenuOpening) ^~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:169:5: note: in expansion of macro 'EVT_MENU_RANGE' EVT_MENU_RANGE(ID_ADVNOTICESVIEW, ID_ADVRESOURCEUSAGEVIEW, CAdvancedFrame::OnChangeView) ^~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:170:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_CHANGEGUI, CAdvancedFrame::OnChangeGUI) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:172:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_WIZARDATTACHPROJECT, CAdvancedFrame::OnWizardAttachProject) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:173:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_WIZARDATTACHACCOUNTMANAGER, CAdvancedFrame::OnWizardUpdate) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:174:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_WIZARDUPDATE, CAdvancedFrame::OnWizardUpdate) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:175:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_WIZARDDETACH, CAdvancedFrame::OnWizardDetach) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:177:5: note: in expansion of macro 'EVT_MENU_RANGE' EVT_MENU_RANGE(ID_ADVACTIVITYRUNALWAYS, ID_ADVACTIVITYSUSPEND, CAdvancedFrame::OnActivitySelection) ^~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:178:5: note: in expansion of macro 'EVT_MENU_RANGE' EVT_MENU_RANGE(ID_ADVACTIVITYGPUALWAYS, ID_ADVACTIVITYGPUSUSPEND, CAdvancedFrame::OnGPUSelection) ^~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:179:5: note: in expansion of macro 'EVT_MENU_RANGE' EVT_MENU_RANGE(ID_ADVNETWORKRUNALWAYS, ID_ADVNETWORKSUSPEND, CAdvancedFrame::OnNetworkSelection) ^~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:181:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_OPTIONS, CAdvancedFrame::OnOptions) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:182:2: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_PREFERENCES, CAdvancedFrame::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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:183:2: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_EXCLUSIVE_APPS, CAdvancedFrame::OnExclusiveApps) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:184:2: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_DIAGNOSTICLOGFLAGS, CAdvancedFrame::OnDiagnosticLogFlags) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:185:2: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_SELECTCOLUMNS, CAdvancedFrame::OnSelectColumns) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:186:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_SELECTCOMPUTER, CAdvancedFrame::OnSelectComputer) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:187:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_SHUTDOWNCORECLIENT, CAdvancedFrame::OnClientShutdown) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:188:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_RUNBENCHMARKS, CAdvancedFrame::OnRunBenchmarks) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:189:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_RETRYCOMMUNICATIONS, CAdvancedFrame::OnRetryCommunications) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:190:2: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_READPREFERENCES, CAdvancedFrame::OnReadPreferences) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:191:2: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_READCONFIG, CAdvancedFrame::OnReadConfig) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:192:2: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_EVENTLOG, CAdvancedFrame::OnEventLog) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:193:2: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_LAUNCHNEWINSTANCE, CAdvancedFrame::OnLaunchNewInstance) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:195:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_HELPBOINC, CAdvancedFrame::OnHelpBOINC) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:196:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_HELPBOINCMANAGER, CAdvancedFrame::OnHelpBOINC) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:197:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_HELPBOINCWEBSITE, CAdvancedFrame::OnHelpBOINC) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:198:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(wxID_ABOUT, CAdvancedFrame::OnHelpAbout) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:199:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_CHECK_VERSION, CAdvancedFrame::OnCheckVersion) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxHelpEvent&)' 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:4375:31: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_HELP(winid, func) wx__DECLARE_EVT1(wxEVT_HELP, winid, wxHelpEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3969:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxHelpEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4375:67: note: in expansion of macro 'wxHelpEventHandler' #define EVT_HELP(winid, func) wx__DECLARE_EVT1(wxEVT_HELP, winid, wxHelpEventHandler(func)) ^~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:200:5: note: in expansion of macro 'EVT_HELP' EVT_HELP(wxID_ANY, CAdvancedFrame::OnHelp) ^~~~~~~~ AdvancedFrame.cpp:202:39: warning: cast between incompatible pointer to member types from 'void (CAdvancedFrame::*)(CFrameEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_FRAME_CONNECT(CAdvancedFrame::OnConnect) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ BOINCBaseFrame.h:198:42: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' #define EVT_FRAME_CONNECT(fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_FRAME_CONNECT, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:202:5: note: in expansion of macro 'EVT_FRAME_CONNECT' EVT_FRAME_CONNECT(CAdvancedFrame::OnConnect) ^~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:203:44: warning: cast between incompatible pointer to member types from 'void (CAdvancedFrame::*)(CFrameEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_FRAME_NOTIFICATION(CAdvancedFrame::OnNotification) ^~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ BOINCBaseFrame.h:203:42: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' #define EVT_FRAME_NOTIFICATION(fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_FRAME_NOTIFICATION, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:203:5: note: in expansion of macro 'EVT_FRAME_NOTIFICATION' EVT_FRAME_NOTIFICATION(CAdvancedFrame::OnNotification) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxTimerEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:189:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxTimerEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:44: note: in expansion of macro 'wxTimerEventHandler' wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:204:5: note: in expansion of macro 'EVT_TIMER' EVT_TIMER(ID_REFRESHSTATETIMER, CAdvancedFrame::OnRefreshState) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxTimerEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:189:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxTimerEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:44: note: in expansion of macro 'wxTimerEventHandler' wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:205:5: note: in expansion of macro 'EVT_TIMER' EVT_TIMER(ID_FRAMERENDERTIMER, CAdvancedFrame::OnFrameRender) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxBookCtrlEvent&)' 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/notebook.h:175:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_NOTEBOOK_PAGE_CHANGED, winid, wxBookCtrlEventHandler(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/bookctrl.h:407:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxBookCtrlEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/notebook.h:175:58: note: in expansion of macro 'wxBookCtrlEventHandler' wx__DECLARE_EVT1(wxEVT_NOTEBOOK_PAGE_CHANGED, winid, wxBookCtrlEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:206:5: note: in expansion of macro 'EVT_NOTEBOOK_PAGE_CHANGED' EVT_NOTEBOOK_PAGE_CHANGED(ID_FRAMENOTEBOOK, CAdvancedFrame::OnNotebookSelectionChanged) ^~~~~~~~~~~~~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:207:5: note: in expansion of macro 'EVT_SIZE' EVT_SIZE(CAdvancedFrame::OnSize) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMoveEvent&)' 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:4156:25: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOVE(func) wx__DECLARE_EVT0(wxEVT_MOVE, wxMoveEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3914:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMoveEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4156:54: note: in expansion of macro 'wxMoveEventHandler' #define EVT_MOVE(func) wx__DECLARE_EVT0(wxEVT_MOVE, wxMoveEventHandler(func)) ^~~~~~~~~~~~~~~~~~ AdvancedFrame.cpp:208:5: note: in expansion of macro 'EVT_MOVE' EVT_MOVE(CAdvancedFrame::OnMove) ^~~~~~~~ AdvancedFrame.cpp: In member function 'void CAdvancedFrame::OnConnect(CFrameEvent&)': AdvancedFrame.cpp:1760:9: warning: variable 'wasShown' set but not used [-Wunused-but-set-variable] int wasShown = 0; ^~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-AlreadyExistsPage.o `test -f 'AlreadyExistsPage.cpp' || echo './'`AlreadyExistsPage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from AlreadyExistsPage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from AlreadyExistsPage.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from AlreadyExistsPage.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from AlreadyExistsPage.cpp:22: AlreadyExistsPage.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::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ AlreadyExistsPage.cpp:52:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( -1, CErrAlreadyExistsPage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ AlreadyExistsPage.cpp:53:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( -1, CErrAlreadyExistsPage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-AsyncRPC.o `test -f 'AsyncRPC.cpp' || echo './'`AsyncRPC.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from AsyncRPC.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/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from AsyncRPC.cpp:28: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from AsyncRPC.cpp:28: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from AsyncRPC.cpp:26: AsyncRPC.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)) ^~~~~~~~~~~~~~~~~~~~~ AsyncRPC.cpp:1021:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(wxID_EXIT, AsyncRPCDlg::OnExit) ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-BOINCBaseFrame.o `test -f 'BOINCBaseFrame.cpp' || echo './'`BOINCBaseFrame.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from BOINCBaseFrame.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from BOINCBaseFrame.cpp:31: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from BOINCBaseFrame.cpp:31: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from BOINCBaseFrame.cpp:22: BOINCBaseFrame.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxTimerEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:189:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxTimerEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:44: note: in expansion of macro 'wxTimerEventHandler' wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ BOINCBaseFrame.cpp:53:5: note: in expansion of macro 'EVT_TIMER' EVT_TIMER(ID_DOCUMENTPOLLTIMER, CBOINCBaseFrame::OnDocumentPoll) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxTimerEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:189:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxTimerEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:44: note: in expansion of macro 'wxTimerEventHandler' wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ BOINCBaseFrame.cpp:54:5: note: in expansion of macro 'EVT_TIMER' EVT_TIMER(ID_ALERTPOLLTIMER, CBOINCBaseFrame::OnAlertPoll) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxTimerEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:189:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxTimerEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:44: note: in expansion of macro 'wxTimerEventHandler' wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ BOINCBaseFrame.cpp:55:5: note: in expansion of macro 'EVT_TIMER' EVT_TIMER(ID_PERIODICRPCTIMER, CBOINCBaseFrame::OnPeriodicRPC) ^~~~~~~~~ BOINCBaseFrame.cpp:56:44: warning: cast between incompatible pointer to member types from 'void (CBOINCBaseFrame::*)(CFrameEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_FRAME_INITIALIZED(CBOINCBaseFrame::OnInitialized) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ BOINCBaseFrame.h:199:42: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' #define EVT_FRAME_INITIALIZED(fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_FRAME_INITIALIZED, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ BOINCBaseFrame.cpp:56:5: note: in expansion of macro 'EVT_FRAME_INITIALIZED' EVT_FRAME_INITIALIZED(CBOINCBaseFrame::OnInitialized) ^~~~~~~~~~~~~~~~~~~~~ BOINCBaseFrame.cpp:57:38: warning: cast between incompatible pointer to member types from 'void (CBOINCBaseFrame::*)(CFrameAlertEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_FRAME_ALERT(CBOINCBaseFrame::OnAlert) ^~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ BOINCBaseFrame.h:197:42: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' #define EVT_FRAME_ALERT(fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_FRAME_ALERT, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ BOINCBaseFrame.cpp:57:5: note: in expansion of macro 'EVT_FRAME_ALERT' EVT_FRAME_ALERT(CBOINCBaseFrame::OnAlert) ^~~~~~~~~~~~~~~ BOINCBaseFrame.cpp:58:40: warning: cast between incompatible pointer to member types from 'void (CBOINCBaseFrame::*)(CFrameEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_FRAME_REFRESH(CBOINCBaseFrame::OnRefreshView) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ BOINCBaseFrame.h:200:42: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' #define EVT_FRAME_REFRESH(fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_FRAME_REFRESHVIEW, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ BOINCBaseFrame.cpp:58:5: note: in expansion of macro 'EVT_FRAME_REFRESH' EVT_FRAME_REFRESH(CBOINCBaseFrame::OnRefreshView) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxActivateEvent&)' 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:4180:29: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ACTIVATE(func) wx__DECLARE_EVT0(wxEVT_ACTIVATE, wxActivateEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( 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/event.h:4180:62: note: in expansion of macro 'wxActivateEventHandler' #define EVT_ACTIVATE(func) wx__DECLARE_EVT0(wxEVT_ACTIVATE, wxActivateEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ BOINCBaseFrame.cpp:59:5: note: in expansion of macro 'EVT_ACTIVATE' EVT_ACTIVATE(CBOINCBaseFrame::OnActivate) ^~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~ BOINCBaseFrame.cpp:60:5: note: in expansion of macro 'EVT_CLOSE' EVT_CLOSE(CBOINCBaseFrame::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: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)) ^~~~~~~~~~~~~~~~~~~~~ BOINCBaseFrame.cpp:61:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_CLOSEWINDOW, CBOINCBaseFrame::OnCloseWindow) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ BOINCBaseFrame.cpp:62:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(wxID_EXIT, CBOINCBaseFrame::OnExit) ^~~~~~~~ BOINCBaseFrame.cpp: In member function 'virtual void CBOINCBaseFrame::OnAlert(CFrameAlertEvent&)': BOINCBaseFrame.cpp:244:49: warning: unused parameter 'event' [-Wunused-parameter] void CBOINCBaseFrame::OnAlert(CFrameAlertEvent& event) { ~~~~~~~~~~~~~~~~~~^~~~~ BOINCBaseFrame.cpp: In member function 'void CBOINCBaseFrame::ShowConnectionBadPasswordAlert(bool, int)': BOINCBaseFrame.cpp:498:86: warning: unused parameter 'iReadGUIRPCAuthFailure' [-Wunused-parameter] void CBOINCBaseFrame::ShowConnectionBadPasswordAlert( bool bUsedDefaultPassword, int iReadGUIRPCAuthFailure ) { ~~~~^~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-BOINCBaseView.o `test -f 'BOINCBaseView.cpp' || echo './'`BOINCBaseView.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from BOINCBaseView.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from BOINCBaseView.cpp:24: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from BOINCBaseView.cpp:24: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-BOINCBaseWizard.o `test -f 'BOINCBaseWizard.cpp' || echo './'`BOINCBaseWizard.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from BOINCBaseWizard.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from BOINCBaseWizard.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from BOINCBaseWizard.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-BOINCClientManager.o `test -f 'BOINCClientManager.cpp' || echo './'`BOINCClientManager.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from BOINCClientManager.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from BOINCClientManager.cpp:32: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from BOINCClientManager.cpp:32: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from BOINCClientManager.cpp:22: BOINCClientManager.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)) ^~~~~~~~~~~~~~~~~~~~~ BOINCClientManager.cpp:515:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(wxID_HELP, ClientCrashDlg::OnHelp) ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-BOINCDialupManager.o `test -f 'BOINCDialupManager.cpp' || echo './'`BOINCDialupManager.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from BOINCDialupManager.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from BOINCDialupManager.cpp:32: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from BOINCDialupManager.cpp:32: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ BOINCDialupManager.cpp: In member function 'void CBOINCDialUpManager::OnPoll()': BOINCDialupManager.cpp:97:25: warning: variable 'bIsOnline' set but not used [-Wunused-but-set-variable] bool bIsOnline = false; ^~~~~~~~~ BOINCDialupManager.cpp:98:25: warning: variable 'bWantConnection' set but not used [-Wunused-but-set-variable] bool bWantConnection = false; ^~~~~~~~~~~~~~~ BOINCDialupManager.cpp:99:25: warning: variable 'bWantDisconnect' set but not used [-Wunused-but-set-variable] bool bWantDisconnect = false; ^~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-BOINCGUIApp.o `test -f 'BOINCGUIApp.cpp' || echo './'`BOINCGUIApp.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from BOINCGUIApp.cpp:30: /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/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from BOINCGUIApp.cpp:42: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from BOINCGUIApp.cpp:42: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from BOINCGUIApp.cpp:30: BOINCGUIApp.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::*)(wxActivateEvent&)' 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:4181:33: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ACTIVATE_APP(func) wx__DECLARE_EVT0(wxEVT_ACTIVATE_APP, wxActivateEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( 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/event.h:4181:70: note: in expansion of macro 'wxActivateEventHandler' #define EVT_ACTIVATE_APP(func) wx__DECLARE_EVT0(wxEVT_ACTIVATE_APP, wxActivateEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ BOINCGUIApp.cpp:62:5: note: in expansion of macro 'EVT_ACTIVATE_APP' EVT_ACTIVATE_APP(CBOINCGUIApp::OnActivateApp) ^~~~~~~~~~~~~~~~ BOINCGUIApp.cpp:63:36: warning: cast between incompatible pointer to member types from 'void (CBOINCGUIApp::*)(CRPCFinishedEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_RPC_FINISHED(CBOINCGUIApp::OnRPCFinished) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ AsyncRPC.h:401:5: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' DECLARE_EVENT_TABLE_ENTRY(wxEVT_RPC_FINISHED, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ BOINCGUIApp.cpp:63:5: note: in expansion of macro 'EVT_RPC_FINISHED' EVT_RPC_FINISHED(CBOINCGUIApp::OnRPCFinished) ^~~~~~~~~~~~~~~~ /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:4183:32: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_END_SESSION(func) wx__DECLARE_EVT0(wxEVT_END_SESSION, 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:4183:68: note: in expansion of macro 'wxCloseEventHandler' #define EVT_END_SESSION(func) wx__DECLARE_EVT0(wxEVT_END_SESSION, wxCloseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ BOINCGUIApp.cpp:65:5: note: in expansion of macro 'EVT_END_SESSION' EVT_END_SESSION(CBOINCGUIApp::OnEndSession) ^~~~~~~~~~~~~~~ BOINCGUIApp.cpp: In member function 'virtual bool CBOINCGUIApp::OnInit()': BOINCGUIApp.cpp:116:14: warning: variable 'iErrorCode' set but not used [-Wunused-but-set-variable] int iErrorCode = 0; ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-BOINCListCtrl.o `test -f 'BOINCListCtrl.cpp' || echo './'`BOINCListCtrl.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from BOINCListCtrl.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from BOINCListCtrl.cpp:22: BOINCListCtrl.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::*)(wxPaintEvent&)' 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:4163:26: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3916:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxPaintEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4163:56: note: in expansion of macro 'wxPaintEventHandler' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ BOINCListCtrl.cpp:34:5: note: in expansion of macro 'EVT_PAINT' EVT_PAINT(MyEvtHandler::OnPaint) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4202:29: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_LEFT_DOWN(func) wx__DECLARE_EVT0(wxEVT_LEFT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4202:63: note: in expansion of macro 'wxMouseEventHandler' #define EVT_LEFT_DOWN(func) wx__DECLARE_EVT0(wxEVT_LEFT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ BOINCListCtrl.cpp:67:5: note: in expansion of macro 'EVT_LEFT_DOWN' EVT_LEFT_DOWN(CBOINCListCtrl::OnMouseDown) ^~~~~~~~~~~~~ BOINCListCtrl.cpp: In member function 'virtual bool CBOINCListCtrl::OnRestoreState(wxConfigBase*)': BOINCListCtrl.cpp:235:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TokenizedStringToArray(strColumnOrder, ";", &orderArray); ^ BOINCListCtrl.cpp:248:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TokenizedStringToArray(strHiddenColumns, ";", &hiddenArray); ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-BOINCTaskBar.o `test -f 'BOINCTaskBar.cpp' || echo './'`BOINCTaskBar.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from BOINCTaskBar.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from BOINCTaskBar.cpp:30: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from BOINCTaskBar.cpp:30: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from BOINCTaskBar.cpp:22: BOINCTaskBar.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::*)(wxIdleEvent&)' 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:4368:24: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_IDLE(func) wx__DECLARE_EVT0(wxEVT_IDLE, wxIdleEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3837:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxIdleEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4368:53: note: in expansion of macro 'wxIdleEventHandler' #define EVT_IDLE(func) wx__DECLARE_EVT0(wxEVT_IDLE, wxIdleEventHandler(func)) ^~~~~~~~~~~~~~~~~~ BOINCTaskBar.cpp:53:5: note: in expansion of macro 'EVT_IDLE' EVT_IDLE(CTaskBarIcon::OnIdle) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~ BOINCTaskBar.cpp:54:5: note: in expansion of macro 'EVT_CLOSE' EVT_CLOSE(CTaskBarIcon::OnClose) ^~~~~~~~~ BOINCTaskBar.cpp:55:39: warning: cast between incompatible pointer to member types from 'void (CTaskBarIcon::*)(CTaskbarEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_TASKBAR_REFRESH(CTaskBarIcon::OnRefresh) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ BOINCTaskBar.h:149:34: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' #define EVT_TASKBAR_REFRESH(fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_TASKBAR_REFRESH, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ BOINCTaskBar.cpp:55:5: note: in expansion of macro 'EVT_TASKBAR_REFRESH' EVT_TASKBAR_REFRESH(CTaskBarIcon::OnRefresh) ^~~~~~~~~~~~~~~~~~~ BOINCTaskBar.cpp:56:42: warning: cast between incompatible pointer to member types from 'void (CTaskBarIcon::*)(CTaskbarEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_TASKBAR_RELOADSKIN(CTaskBarIcon::OnReloadSkin) ^~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ BOINCTaskBar.h:148:36: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' #define EVT_TASKBAR_RELOADSKIN(fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_TASKBAR_RELOADSKIN, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ BOINCTaskBar.cpp:56:5: note: in expansion of macro 'EVT_TASKBAR_RELOADSKIN' EVT_TASKBAR_RELOADSKIN(CTaskBarIcon::OnReloadSkin) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxTaskBarIconEvent&)' 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/taskbar.h:125:5: note: in expansion of macro 'wx__DECLARE_EVT0' wx__DECLARE_EVT0(wxEVT_TASKBAR_ ## evt, wxTaskBarIconEventHandler(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/taskbar.h:122:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxTaskBarIconEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/taskbar.h:125:45: note: in expansion of macro 'wxTaskBarIconEventHandler' wx__DECLARE_EVT0(wxEVT_TASKBAR_ ## evt, wxTaskBarIconEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/taskbar.h:132:38: note: in expansion of macro 'wx__DECLARE_TASKBAREVT' #define EVT_TASKBAR_LEFT_DCLICK(fn) wx__DECLARE_TASKBAREVT(LEFT_DCLICK, fn) ^~~~~~~~~~~~~~~~~~~~~~ BOINCTaskBar.cpp:57:5: note: in expansion of macro 'EVT_TASKBAR_LEFT_DCLICK' EVT_TASKBAR_LEFT_DCLICK(CTaskBarIcon::OnLButtonDClick) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxTaskBarIconEvent&)' 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/taskbar.h:125:5: note: in expansion of macro 'wx__DECLARE_EVT0' wx__DECLARE_EVT0(wxEVT_TASKBAR_ ## evt, wxTaskBarIconEventHandler(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/taskbar.h:122:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxTaskBarIconEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/taskbar.h:125:45: note: in expansion of macro 'wxTaskBarIconEventHandler' wx__DECLARE_EVT0(wxEVT_TASKBAR_ ## evt, wxTaskBarIconEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/taskbar.h:130:38: note: in expansion of macro 'wx__DECLARE_TASKBAREVT' #define EVT_TASKBAR_RIGHT_DOWN(fn) wx__DECLARE_TASKBAREVT(RIGHT_DOWN, fn) ^~~~~~~~~~~~~~~~~~~~~~ BOINCTaskBar.cpp:59:5: note: in expansion of macro 'EVT_TASKBAR_RIGHT_DOWN' EVT_TASKBAR_RIGHT_DOWN(CTaskBarIcon::OnRButtonDown) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxTaskBarIconEvent&)' 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/taskbar.h:125:5: note: in expansion of macro 'wx__DECLARE_EVT0' wx__DECLARE_EVT0(wxEVT_TASKBAR_ ## evt, wxTaskBarIconEventHandler(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/taskbar.h:122:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxTaskBarIconEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/taskbar.h:125:45: note: in expansion of macro 'wxTaskBarIconEventHandler' wx__DECLARE_EVT0(wxEVT_TASKBAR_ ## evt, wxTaskBarIconEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/taskbar.h:131:38: note: in expansion of macro 'wx__DECLARE_TASKBAREVT' #define EVT_TASKBAR_RIGHT_UP(fn) wx__DECLARE_TASKBAREVT(RIGHT_UP, fn) ^~~~~~~~~~~~~~~~~~~~~~ BOINCTaskBar.cpp:60:5: note: in expansion of macro 'EVT_TASKBAR_RIGHT_UP' EVT_TASKBAR_RIGHT_UP(CTaskBarIcon::OnRButtonUp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxTaskBarIconExEvent&)' 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) ^~~~~~~~~~~~~~~~ gtk/taskbarex.h:123:5: note: in expansion of macro 'wx__DECLARE_EVT0' wx__DECLARE_EVT0(wxEVT_TASKBAR_ ## evt, wxTaskBarIconExEventHandler(fn)) ^~~~~~~~~~~~~~~~ gtk/taskbarex.h:120:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxTaskBarIconExEventFunction, &func) ^~~~~~~~~~~~~~~~~ gtk/taskbarex.h:123:45: note: in expansion of macro 'wxTaskBarIconExEventHandler' wx__DECLARE_EVT0(wxEVT_TASKBAR_ ## evt, wxTaskBarIconExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/taskbarex.h:132:46: note: in expansion of macro 'wx__DECLARE_TASKBAREXEVT' #define EVT_TASKBAR_CONTEXT_USERCLICK(fn) wx__DECLARE_TASKBAREXEVT(BALLOON_USERCLICK, fn) ^~~~~~~~~~~~~~~~~~~~~~~~ BOINCTaskBar.cpp:61:5: note: in expansion of macro 'EVT_TASKBAR_CONTEXT_USERCLICK' EVT_TASKBAR_CONTEXT_USERCLICK(CTaskBarIcon::OnNotificationClick) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxTaskBarIconExEvent&)' 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) ^~~~~~~~~~~~~~~~ gtk/taskbarex.h:123:5: note: in expansion of macro 'wx__DECLARE_EVT0' wx__DECLARE_EVT0(wxEVT_TASKBAR_ ## evt, wxTaskBarIconExEventHandler(fn)) ^~~~~~~~~~~~~~~~ gtk/taskbarex.h:120:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxTaskBarIconExEventFunction, &func) ^~~~~~~~~~~~~~~~~ gtk/taskbarex.h:123:45: note: in expansion of macro 'wxTaskBarIconExEventHandler' wx__DECLARE_EVT0(wxEVT_TASKBAR_ ## evt, wxTaskBarIconExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/taskbarex.h:131:46: note: in expansion of macro 'wx__DECLARE_TASKBAREXEVT' #define EVT_TASKBAR_BALLOON_USERTIMEOUT(fn) wx__DECLARE_TASKBAREXEVT(BALLOON_USERTIMEOUT, fn) ^~~~~~~~~~~~~~~~~~~~~~~~ BOINCTaskBar.cpp:62:5: note: in expansion of macro 'EVT_TASKBAR_BALLOON_USERTIMEOUT' EVT_TASKBAR_BALLOON_USERTIMEOUT(CTaskBarIcon::OnNotificationTimeout) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ BOINCTaskBar.cpp:64:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_OPENBOINCMANAGER, CTaskBarIcon::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)) ^~~~~~~~~~~~~~~~~~~~~ BOINCTaskBar.cpp:65:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_OPENWEBSITE, CTaskBarIcon::OnOpenWebsite) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ BOINCTaskBar.cpp:66:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_TB_SUSPEND, CTaskBarIcon::OnSuspendResume) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ BOINCTaskBar.cpp:67:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_TB_SUSPEND_GPU, CTaskBarIcon::OnSuspendResumeGPU) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ BOINCTaskBar.cpp:68:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(wxID_ABOUT, CTaskBarIcon::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)) ^~~~~~~~~~~~~~~~~~~~~ BOINCTaskBar.cpp:69:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(wxID_EXIT, CTaskBarIcon::OnExit) ^~~~~~~~ BOINCTaskBar.cpp: In constructor 'CTaskBarIcon::CTaskBarIcon(wxString, wxIconBundle*, wxIconBundle*, wxIconBundle*)': BOINCTaskBar.cpp:87:50: warning: ISO C++ forbids converting a string constant to 'wxChar*' {aka 'wchar_t*'} [-Wwrite-strings] wxTaskBarIconEx(wxT("BOINCManagerSystray"), 1) ^ BOINCTaskBar.cpp:79:37: warning: unused parameter 'title' [-Wunused-parameter] CTaskBarIcon::CTaskBarIcon(wxString title, wxIconBundle* icon, wxIconBundle* iconDisconnected, wxIconBundle* iconSnooze ~~~~~~~~~^~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-BOINCTaskCtrl.o `test -f 'BOINCTaskCtrl.cpp' || echo './'`BOINCTaskCtrl.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from BOINCTaskCtrl.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from BOINCTaskCtrl.cpp:25: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from BOINCTaskCtrl.cpp:25: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-browser.o `test -f 'browser.cpp' || echo './'`browser.cpp browser.cpp: In function 'void get_home_dir_path(std::__cxx11::string&, bool)': browser.cpp:66:49: warning: unused parameter 'local' [-Wunused-parameter] void get_home_dir_path( std::string& path, bool local = false ) { ~~~~~^~~~~~~~~~~~~ browser.cpp: In function 'void get_internet_explorer_cookie_path(bool, std::__cxx11::string&)': browser.cpp:95:46: warning: unused parameter 'low_rights' [-Wunused-parameter] void get_internet_explorer_cookie_path( bool low_rights, std::string& path ) { ~~~~~^~~~~~~~~~ browser.cpp:95:71: warning: unused parameter 'path' [-Wunused-parameter] void get_internet_explorer_cookie_path( bool low_rights, std::string& path ) { ~~~~~~~~~~~~~^~~~ browser.cpp: In function 'void get_user_name(std::__cxx11::string&)': browser.cpp:111:34: warning: unused parameter 'name' [-Wunused-parameter] void get_user_name( std::string& name ) { ~~~~~~~~~~~~~^~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-wxPieCtrl.o `test -f 'common/wxPieCtrl.cpp' || echo './'`common/wxPieCtrl.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from common/wxPieCtrl.h:15, from common/wxPieCtrl.cpp:13: /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/wx.h:24, from common/wxPieCtrl.h:15, from common/wxPieCtrl.cpp:13: common/wxPieCtrl.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::*)(wxPaintEvent&)' 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:4163:26: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3916:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxPaintEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4163:56: note: in expansion of macro 'wxPaintEventHandler' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ common/wxPieCtrl.cpp:39:2: note: in expansion of macro 'EVT_PAINT' EVT_PAINT(wxPieCtrl::OnPaint) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxEraseEvent&)' 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:4165:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3920:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxEraseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4165:78: note: in expansion of macro 'wxEraseEventHandler' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ common/wxPieCtrl.cpp:40:2: note: in expansion of macro 'EVT_ERASE_BACKGROUND' EVT_ERASE_BACKGROUND(wxPieCtrl::OnEraseBackground) ^~~~~~~~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~ common/wxPieCtrl.cpp:41:2: note: in expansion of macro 'EVT_SIZE' EVT_SIZE(wxPieCtrl::OnSize) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4208:26: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOTION(func) wx__DECLARE_EVT0(wxEVT_MOTION, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4208:57: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOTION(func) wx__DECLARE_EVT0(wxEVT_MOTION, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ common/wxPieCtrl.cpp:42:2: note: in expansion of macro 'EVT_MOTION' EVT_MOTION(wxPieCtrl::OnMouseMove) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4265:30: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_TOP(func) wx__DECLARE_EVT0(wxEVT_SCROLL_TOP, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4265:65: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_TOP(func) wx__DECLARE_EVT0(wxEVT_SCROLL_TOP, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4276:5: note: in expansion of macro 'EVT_SCROLL_TOP' EVT_SCROLL_TOP(func) \ ^~~~~~~~~~~~~~ common/wxPieCtrl.cpp:43:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(wxPieCtrl::OnLegendScroll) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4266:33: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_BOTTOM(func) wx__DECLARE_EVT0(wxEVT_SCROLL_BOTTOM, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4266:71: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_BOTTOM(func) wx__DECLARE_EVT0(wxEVT_SCROLL_BOTTOM, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4277:5: note: in expansion of macro 'EVT_SCROLL_BOTTOM' EVT_SCROLL_BOTTOM(func) \ ^~~~~~~~~~~~~~~~~ common/wxPieCtrl.cpp:43:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(wxPieCtrl::OnLegendScroll) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4267:33: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_LINEUP(func) wx__DECLARE_EVT0(wxEVT_SCROLL_LINEUP, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4267:71: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_LINEUP(func) wx__DECLARE_EVT0(wxEVT_SCROLL_LINEUP, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4278:5: note: in expansion of macro 'EVT_SCROLL_LINEUP' EVT_SCROLL_LINEUP(func) \ ^~~~~~~~~~~~~~~~~ common/wxPieCtrl.cpp:43:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(wxPieCtrl::OnLegendScroll) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4268:35: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_LINEDOWN(func) wx__DECLARE_EVT0(wxEVT_SCROLL_LINEDOWN, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4268:75: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_LINEDOWN(func) wx__DECLARE_EVT0(wxEVT_SCROLL_LINEDOWN, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4279:5: note: in expansion of macro 'EVT_SCROLL_LINEDOWN' EVT_SCROLL_LINEDOWN(func) \ ^~~~~~~~~~~~~~~~~~~ common/wxPieCtrl.cpp:43:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(wxPieCtrl::OnLegendScroll) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4269:33: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_PAGEUP(func) wx__DECLARE_EVT0(wxEVT_SCROLL_PAGEUP, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4269:71: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_PAGEUP(func) wx__DECLARE_EVT0(wxEVT_SCROLL_PAGEUP, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4280:5: note: in expansion of macro 'EVT_SCROLL_PAGEUP' EVT_SCROLL_PAGEUP(func) \ ^~~~~~~~~~~~~~~~~ common/wxPieCtrl.cpp:43:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(wxPieCtrl::OnLegendScroll) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4270:35: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_PAGEDOWN(func) wx__DECLARE_EVT0(wxEVT_SCROLL_PAGEDOWN, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4270:75: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_PAGEDOWN(func) wx__DECLARE_EVT0(wxEVT_SCROLL_PAGEDOWN, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4281:5: note: in expansion of macro 'EVT_SCROLL_PAGEDOWN' EVT_SCROLL_PAGEDOWN(func) \ ^~~~~~~~~~~~~~~~~~~ common/wxPieCtrl.cpp:43:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(wxPieCtrl::OnLegendScroll) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4271:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_THUMBTRACK(func) wx__DECLARE_EVT0(wxEVT_SCROLL_THUMBTRACK, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4271:79: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_THUMBTRACK(func) wx__DECLARE_EVT0(wxEVT_SCROLL_THUMBTRACK, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4282:5: note: in expansion of macro 'EVT_SCROLL_THUMBTRACK' EVT_SCROLL_THUMBTRACK(func) \ ^~~~~~~~~~~~~~~~~~~~~ common/wxPieCtrl.cpp:43:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(wxPieCtrl::OnLegendScroll) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4272:39: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_THUMBRELEASE(func) wx__DECLARE_EVT0(wxEVT_SCROLL_THUMBRELEASE, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4272:83: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_THUMBRELEASE(func) wx__DECLARE_EVT0(wxEVT_SCROLL_THUMBRELEASE, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4283:5: note: in expansion of macro 'EVT_SCROLL_THUMBRELEASE' EVT_SCROLL_THUMBRELEASE(func) \ ^~~~~~~~~~~~~~~~~~~~~~~ common/wxPieCtrl.cpp:43:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(wxPieCtrl::OnLegendScroll) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4273:34: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_CHANGED(func) wx__DECLARE_EVT0(wxEVT_SCROLL_CHANGED, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4273:73: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_CHANGED(func) wx__DECLARE_EVT0(wxEVT_SCROLL_CHANGED, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4284:5: note: in expansion of macro 'EVT_SCROLL_CHANGED' EVT_SCROLL_CHANGED(func) ^~~~~~~~~~~~~~~~~~ common/wxPieCtrl.cpp:43:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(wxPieCtrl::OnLegendScroll) ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-CompletionErrorPage.o `test -f 'CompletionErrorPage.cpp' || echo './'`CompletionErrorPage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from CompletionErrorPage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from CompletionErrorPage.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from CompletionErrorPage.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from CompletionErrorPage.cpp:22: CompletionErrorPage.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::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ CompletionErrorPage.cpp:52:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( -1, CCompletionErrorPage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ CompletionErrorPage.cpp:53:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( -1, CCompletionErrorPage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-CompletionPage.o `test -f 'CompletionPage.cpp' || echo './'`CompletionPage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from CompletionPage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from CompletionPage.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from CompletionPage.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from CompletionPage.cpp:22: CompletionPage.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::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ CompletionPage.cpp:53:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( -1, CCompletionPage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ CompletionPage.cpp:54:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( -1, CCompletionPage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:331:39: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_FINISHED(id, fn) wx__DECLARE_WIZARDEXEVT(FINISHED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ CompletionPage.cpp:55:5: note: in expansion of macro 'EVT_WIZARDEX_FINISHED' EVT_WIZARDEX_FINISHED( ID_COMPLETIONPAGE, CCompletionPage::OnFinished ) ^~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-DlgAbout.o `test -f 'DlgAbout.cpp' || echo './'`DlgAbout.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from DlgAbout.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-DlgAdvPreferences.o `test -f 'DlgAdvPreferences.cpp' || echo './'`DlgAdvPreferences.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from DlgAdvPreferences.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from DlgAdvPreferences.cpp:24: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from DlgAdvPreferences.cpp:24: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from DlgAdvPreferences.cpp:22: DlgAdvPreferences.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:4145:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(event, 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:4145:39: note: in expansion of macro 'wxCommandEventHandler' wx__DECLARE_EVT2(event, id1, id2, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ DlgAdvPreferences.cpp:44:5: note: in expansion of macro 'EVT_COMMAND_RANGE' EVT_COMMAND_RANGE(ID_ADV_PREFS_START,ID_ADV_PREFS_LAST,wxEVT_COMMAND_CHECKBOX_CLICKED,CDlgAdvPreferences::OnHandleCommandEvent) ^~~~~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgAdvPreferences.cpp:46:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(wxID_OK,CDlgAdvPreferences::OnOK) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgAdvPreferences.cpp:47:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_HELPBOINC,CDlgAdvPreferences::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: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)) ^~~~~~~~~~~~~~~~~~~~~ DlgAdvPreferences.cpp:48:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_BTN_CLEAR,CDlgAdvPreferences::OnClear) ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-DlgAdvPreferencesBase.o `test -f 'DlgAdvPreferencesBase.cpp' || echo './'`DlgAdvPreferencesBase.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from DlgAdvPreferencesBase.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from DlgAdvPreferencesBase.cpp:31: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from DlgAdvPreferencesBase.cpp:31: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-DlgDiagnosticLogFlags.o `test -f 'DlgDiagnosticLogFlags.cpp' || echo './'`DlgDiagnosticLogFlags.cpp DlgDiagnosticLogFlags.cpp:19:24: warning: #pragma implementation for 'DlgDiagnosticLogFlags.cpp' appears after file is included #pragma implementation "DlgDiagnosticLogFlags.cpp" ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from DlgDiagnosticLogFlags.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from DlgDiagnosticLogFlags.h:38, from DlgDiagnosticLogFlags.cpp:24: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from DlgDiagnosticLogFlags.h:38, from DlgDiagnosticLogFlags.cpp:24: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from DlgDiagnosticLogFlags.cpp:22: DlgDiagnosticLogFlags.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxSizeEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4154:25: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SIZE(func) wx__DECLARE_EVT0(wxEVT_SIZE, wxSizeEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3912:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxSizeEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4154:54: note: in expansion of macro 'wxSizeEventHandler' #define EVT_SIZE(func) wx__DECLARE_EVT0(wxEVT_SIZE, wxSizeEventHandler(func)) ^~~~~~~~~~~~~~~~~~ DlgDiagnosticLogFlags.cpp:41:5: note: in expansion of macro 'EVT_SIZE' EVT_SIZE(CDlgDiagnosticLogFlags::OnSize) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgDiagnosticLogFlags.cpp:42:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(wxID_OK,CDlgDiagnosticLogFlags::OnOK) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgDiagnosticLogFlags.cpp:43:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_DEFAULTSBTN,CDlgDiagnosticLogFlags::OnSetDefaults) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgDiagnosticLogFlags.cpp:44:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(wxID_APPLY,CDlgDiagnosticLogFlags::OnApply) ^~~~~~~~~~ /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:4316:35: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_CHECKBOX(winid, func) wx__DECLARE_EVT1(wxEVT_CHECKBOX, 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:4316:75: note: in expansion of macro 'wxCommandEventHandler' #define EVT_CHECKBOX(winid, func) wx__DECLARE_EVT1(wxEVT_CHECKBOX, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ DlgDiagnosticLogFlags.cpp:45:5: note: in expansion of macro 'EVT_CHECKBOX' EVT_CHECKBOX(wxID_ANY,CDlgDiagnosticLogFlags::OnCheckBox) ^~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-DlgEventLog.o `test -f 'DlgEventLog.cpp' || echo './'`DlgEventLog.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from DlgEventLog.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from DlgEventLog.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from DlgEventLog.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from DlgEventLog.cpp:22: DlgEventLog.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::*)(wxActivateEvent&)' 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:4180:29: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ACTIVATE(func) wx__DECLARE_EVT0(wxEVT_ACTIVATE, wxActivateEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( 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/event.h:4180:62: note: in expansion of macro 'wxActivateEventHandler' #define EVT_ACTIVATE(func) wx__DECLARE_EVT0(wxEVT_ACTIVATE, wxActivateEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~~ DlgEventLog.cpp:77:5: note: in expansion of macro 'EVT_ACTIVATE' EVT_ACTIVATE(CDlgEventLog::OnActivate) ^~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxHelpEvent&)' 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:4375:31: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_HELP(winid, func) wx__DECLARE_EVT1(wxEVT_HELP, winid, wxHelpEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3969:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxHelpEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4375:67: note: in expansion of macro 'wxHelpEventHandler' #define EVT_HELP(winid, func) wx__DECLARE_EVT1(wxEVT_HELP, winid, wxHelpEventHandler(func)) ^~~~~~~~~~~~~~~~~~ DlgEventLog.cpp:78:5: note: in expansion of macro 'EVT_HELP' EVT_HELP(wxID_ANY, CDlgEventLog::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: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)) ^~~~~~~~~~~~~~~~~~~~~ DlgEventLog.cpp:79:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(wxID_OK, CDlgEventLog::OnOK) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgEventLog.cpp:80:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_COPYAll, CDlgEventLog::OnMessagesCopyAll) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgEventLog.cpp:81:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_COPYSELECTED, CDlgEventLog::OnMessagesCopySelected) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgEventLog.cpp:82:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_MESSAGES_FILTERBYPROJECT, CDlgEventLog::OnMessagesFilter) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgEventLog.cpp:83:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_SIMPLE_HELP, CDlgEventLog::OnButtonHelp) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgEventLog.cpp:84:2: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_SGDIAGNOSTICLOGFLAGS, CDlgEventLog::OnDiagnosticLogFlags) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~ DlgEventLog.cpp:85:2: note: in expansion of macro 'EVT_SIZE' EVT_SIZE(CDlgEventLog::OnSize) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMoveEvent&)' 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:4156:25: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOVE(func) wx__DECLARE_EVT0(wxEVT_MOVE, wxMoveEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3914:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMoveEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4156:54: note: in expansion of macro 'wxMoveEventHandler' #define EVT_MOVE(func) wx__DECLARE_EVT0(wxEVT_MOVE, wxMoveEventHandler(func)) ^~~~~~~~~~~~~~~~~~ DlgEventLog.cpp:86:5: note: in expansion of macro 'EVT_MOVE' EVT_MOVE(CDlgEventLog::OnMove) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~ DlgEventLog.cpp:87:5: note: in expansion of macro 'EVT_CLOSE' EVT_CLOSE(CDlgEventLog::OnClose) ^~~~~~~~~ /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:598:39: note: in expansion of macro 'wx__DECLARE_LISTEVT' #define EVT_LIST_COL_END_DRAG(id, fn) wx__DECLARE_LISTEVT(COL_END_DRAG, id, fn) ^~~~~~~~~~~~~~~~~~~ DlgEventLog.cpp:88:5: note: in expansion of macro 'EVT_LIST_COL_END_DRAG' EVT_LIST_COL_END_DRAG(ID_SIMPLE_MESSAGESVIEW, CDlgEventLog::OnColResize) ^~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-DlgEventLogListCtrl.o `test -f 'DlgEventLogListCtrl.cpp' || echo './'`DlgEventLogListCtrl.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from DlgEventLogListCtrl.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from DlgEventLogListCtrl.cpp:31: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from DlgEventLogListCtrl.cpp:31: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from DlgEventLogListCtrl.cpp:22: DlgEventLogListCtrl.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::*)(wxPaintEvent&)' 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:4163:26: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3916:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxPaintEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4163:56: note: in expansion of macro 'wxPaintEventHandler' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ DlgEventLogListCtrl.cpp:39:5: note: in expansion of macro 'EVT_PAINT' EVT_PAINT(MyEvtLogEvtHandler::OnPaint) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4203:27: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_LEFT_UP(func) wx__DECLARE_EVT0(wxEVT_LEFT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4203:59: note: in expansion of macro 'wxMouseEventHandler' #define EVT_LEFT_UP(func) wx__DECLARE_EVT0(wxEVT_LEFT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ DlgEventLogListCtrl.cpp:77:5: note: in expansion of macro 'EVT_LEFT_UP' EVT_LEFT_UP(CDlgEventLogListCtrl::OnMouseUp) ^~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-DlgExclusiveApps.o `test -f 'DlgExclusiveApps.cpp' || echo './'`DlgExclusiveApps.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from DlgExclusiveApps.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from DlgExclusiveApps.cpp:24: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from DlgExclusiveApps.cpp:24: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from DlgExclusiveApps.cpp:22: DlgExclusiveApps.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: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)) ^~~~~~~~~~~~~~~~~~~~~ DlgExclusiveApps.cpp:38:5: note: in expansion of macro 'EVT_COMMAND' EVT_COMMAND(ID_LISTBOX_EXCLAPPS,wxEVT_COMMAND_LISTBOX_SELECTED,CDlgExclusiveApps::OnExclusiveAppListEvent) ^~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgExclusiveApps.cpp:39:5: note: in expansion of macro 'EVT_COMMAND' EVT_COMMAND(ID_LISTBOX_EXCLGPUAPPS,wxEVT_COMMAND_LISTBOX_SELECTED,CDlgExclusiveApps::OnExclusiveGPUAppListEvent) ^~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgExclusiveApps.cpp:41:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_ADDEXCLUSIVEAPPBUTTON,CDlgExclusiveApps::OnAddExclusiveApp) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgExclusiveApps.cpp:42:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_REMOVEEXCLUSIVEAPPBUTTON,CDlgExclusiveApps::OnRemoveExclusiveApp) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgExclusiveApps.cpp:43:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_ADDEXCLUSIVEGPUAPPBUTTON,CDlgExclusiveApps::OnAddExclusiveGPUApp) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgExclusiveApps.cpp:44:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_REMOVEEXCLUSIVEGPUAPPBUTTON,CDlgExclusiveApps::OnRemoveExclusiveGPUApp) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgExclusiveApps.cpp:45:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(wxID_OK,CDlgExclusiveApps::OnOK) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgExclusiveApps.cpp:46:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_HELPBOINC,CDlgExclusiveApps::OnHelp) ^~~~~~~~~~ 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/wx.h:14, from stdwx.h:49, from DlgExclusiveApps.cpp:22: DlgExclusiveApps.cpp: In member function 'void CDlgExclusiveApps::AddToListBox(wxListBox*)': /usr/include/wx-3.0/wx/chartype.h:238:44: warning: ISO C++ forbids converting a string constant to 'wxChar*' {aka 'wchar_t*'} [-Wwrite-strings] #define wxT(x) wxCONCAT_HELPER(L, x) ^ /usr/include/wx-3.0/wx/cpp.h:18:37: note: in definition of macro 'wxCONCAT_HELPER' #define wxCONCAT_HELPER(text, line) text ## line ^~~~ DlgExclusiveApps.cpp:285:25: note: in expansion of macro 'wxT' wxChar *extension = wxT(""); ^~~ /usr/include/wx-3.0/wx/chartype.h:238:44: warning: ISO C++ forbids converting a string constant to 'wxChar*' {aka 'wchar_t*'} [-Wwrite-strings] #define wxT(x) wxCONCAT_HELPER(L, x) ^ /usr/include/wx-3.0/wx/cpp.h:18:37: note: in definition of macro 'wxCONCAT_HELPER' #define wxCONCAT_HELPER(text, line) text ## line ^~~~ DlgExclusiveApps.cpp:294:21: note: in expansion of macro 'wxT' extension = wxT(".app"); ^~~ /usr/include/wx-3.0/wx/chartype.h:238:44: warning: ISO C++ forbids converting a string constant to 'wxChar*' {aka 'wchar_t*'} [-Wwrite-strings] #define wxT(x) wxCONCAT_HELPER(L, x) ^ /usr/include/wx-3.0/wx/cpp.h:18:37: note: in definition of macro 'wxCONCAT_HELPER' #define wxCONCAT_HELPER(text, line) text ## line ^~~~ DlgExclusiveApps.cpp:297:21: note: in expansion of macro 'wxT' extension = wxT(".exe"); ^~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-DlgExitMessage.o `test -f 'DlgExitMessage.cpp' || echo './'`DlgExitMessage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from DlgExitMessage.cpp:23: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-DlgGenericMessage.o `test -f 'DlgGenericMessage.cpp' || echo './'`DlgGenericMessage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from DlgGenericMessage.cpp:23: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-DlgHiddenColumns.o `test -f 'DlgHiddenColumns.cpp' || echo './'`DlgHiddenColumns.cpp DlgHiddenColumns.cpp:19:24: warning: #pragma implementation for 'DlgHiddenColumns.cpp' appears after file is included #pragma implementation "DlgHiddenColumns.cpp" ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from DlgHiddenColumns.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from DlgHiddenColumns.cpp:28: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from DlgHiddenColumns.cpp:28: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from DlgHiddenColumns.cpp:22: DlgHiddenColumns.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxSizeEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4154:25: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SIZE(func) wx__DECLARE_EVT0(wxEVT_SIZE, wxSizeEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3912:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxSizeEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4154:54: note: in expansion of macro 'wxSizeEventHandler' #define EVT_SIZE(func) wx__DECLARE_EVT0(wxEVT_SIZE, wxSizeEventHandler(func)) ^~~~~~~~~~~~~~~~~~ DlgHiddenColumns.cpp:43:5: note: in expansion of macro 'EVT_SIZE' EVT_SIZE(CDlgHiddenColumns::OnSize) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgHiddenColumns.cpp:44:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(wxID_OK,CDlgHiddenColumns::OnOK) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgHiddenColumns.cpp:45:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_DEFAULTSBTN,CDlgHiddenColumns::OnSetDefaults) ^~~~~~~~~~ /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:4316:35: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_CHECKBOX(winid, func) wx__DECLARE_EVT1(wxEVT_CHECKBOX, 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:4316:75: note: in expansion of macro 'wxCommandEventHandler' #define EVT_CHECKBOX(winid, func) wx__DECLARE_EVT1(wxEVT_CHECKBOX, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ DlgHiddenColumns.cpp:46:5: note: in expansion of macro 'EVT_CHECKBOX' EVT_CHECKBOX(wxID_ANY, CDlgHiddenColumns::OnCheckboxClick ) ^~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-DlgItemProperties.o `test -f 'DlgItemProperties.cpp' || echo './'`DlgItemProperties.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from DlgItemProperties.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from DlgItemProperties.h:39, from DlgItemProperties.cpp:24: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from DlgItemProperties.h:39, from DlgItemProperties.cpp:24: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-DlgOptions.o `test -f 'DlgOptions.cpp' || echo './'`DlgOptions.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from DlgOptions.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from DlgOptions.cpp:32: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from DlgOptions.cpp:32: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from DlgOptions.cpp:22: DlgOptions.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:4316:35: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_CHECKBOX(winid, func) wx__DECLARE_EVT1(wxEVT_CHECKBOX, 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:4316:75: note: in expansion of macro 'wxCommandEventHandler' #define EVT_CHECKBOX(winid, func) wx__DECLARE_EVT1(wxEVT_CHECKBOX, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ DlgOptions.cpp:59:5: note: in expansion of macro 'EVT_CHECKBOX' EVT_CHECKBOX( ID_ENABLEHTTPPROXYCTRL, CDlgOptions::OnEnableHTTPProxyCtrlClick ) ^~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~~ DlgOptions.cpp:60:5: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI( ID_ENABLEHTTPPROXYCTRL, CDlgOptions::OnEnableHTTPProxyCtrlUpdate ) ^~~~~~~~~~~~~ /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:4316:35: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_CHECKBOX(winid, func) wx__DECLARE_EVT1(wxEVT_CHECKBOX, 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:4316:75: note: in expansion of macro 'wxCommandEventHandler' #define EVT_CHECKBOX(winid, func) wx__DECLARE_EVT1(wxEVT_CHECKBOX, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ DlgOptions.cpp:61:5: note: in expansion of macro 'EVT_CHECKBOX' EVT_CHECKBOX( ID_ENABLESOCKSPROXYCTRL, CDlgOptions::OnEnableSOCKSProxyCtrlClick ) ^~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~~ DlgOptions.cpp:62:5: note: in expansion of macro 'EVT_UPDATE_UI' EVT_UPDATE_UI( ID_ENABLESOCKSPROXYCTRL, CDlgOptions::OnEnableSOCKSProxyCtrlUpdate ) ^~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ DlgOptions.cpp:63:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON( wxID_OK, CDlgOptions::OnOK ) ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-DlgSelectComputer.o `test -f 'DlgSelectComputer.cpp' || echo './'`DlgSelectComputer.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from DlgSelectComputer.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from DlgSelectComputer.cpp:30: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from DlgSelectComputer.cpp:30: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from DlgSelectComputer.cpp:22: DlgSelectComputer.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:862:26: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_TEXT(id, fn) wx__DECLARE_EVT1(wxEVT_TEXT, id, wxTextEventHandler(fn)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:852:34: note: in expansion of macro 'wxCommandEventHandler' #define wxTextEventHandler(func) wxCommandEventHandler(func) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textctrl.h:862:59: note: in expansion of macro 'wxTextEventHandler' #define EVT_TEXT(id, fn) wx__DECLARE_EVT1(wxEVT_TEXT, id, wxTextEventHandler(fn)) ^~~~~~~~~~~~~~~~~~ DlgSelectComputer.cpp:54:5: note: in expansion of macro 'EVT_TEXT' EVT_TEXT( ID_SELECTCOMPUTERNAME, CDlgSelectComputer::OnComputerNameUpdated ) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4333:35: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_COMBOBOX(winid, func) wx__DECLARE_EVT1(wxEVT_COMBOBOX, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4333:75: note: in expansion of macro 'wxCommandEventHandler' #define EVT_COMBOBOX(winid, func) wx__DECLARE_EVT1(wxEVT_COMBOBOX, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ DlgSelectComputer.cpp:55:5: note: in expansion of macro 'EVT_COMBOBOX' EVT_COMBOBOX( ID_SELECTCOMPUTERNAME, CDlgSelectComputer::OnComputerNameUpdated ) ^~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-taskbarex.o `test -f 'gtk/taskbarex.cpp' || echo './'`gtk/taskbarex.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from ./stdwx.h:49, from gtk/taskbarex.cpp:20: /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/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/taskbarex.cpp: In function 'void status_icon_notification_actions(NotifyNotification*, gchar*, wxTaskBarIconEx*)': gtk/taskbarex.cpp:77:58: warning: unused parameter 'notification' [-Wunused-parameter] status_icon_notification_actions(NotifyNotification* notification, gchar *action, wxTaskBarIconEx* taskBarIcon) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ gtk/taskbarex.cpp: In function 'void status_icon_notification_closed(NotifyNotification*, wxTaskBarIconEx*)': gtk/taskbarex.cpp:85:57: warning: unused parameter 'notification' [-Wunused-parameter] status_icon_notification_closed(NotifyNotification* notification, wxTaskBarIconEx* taskBarIcon) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ gtk/taskbarex.cpp: In member function 'virtual bool wxTaskBarIconEx::SetIcon(const wxIcon&, const wxString&)': gtk/taskbarex.cpp:203:75: warning: 'GtkStatusIcon* gtk_status_icon_new_from_pixbuf(GdkPixbuf*)' is deprecated [-Wdeprecated-declarations] g_pStatusIcon = gtk_status_icon_new_from_pixbuf(bitmap.GetPixbuf()); ^ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from gtk/taskbarex.cpp:17: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:86:23: note: declared here GtkStatusIcon *gtk_status_icon_new_from_pixbuf (GdkPixbuf *pixbuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/taskbarex.cpp:203:75: warning: 'GtkStatusIcon* gtk_status_icon_new_from_pixbuf(GdkPixbuf*)' is deprecated [-Wdeprecated-declarations] g_pStatusIcon = gtk_status_icon_new_from_pixbuf(bitmap.GetPixbuf()); ^ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from gtk/taskbarex.cpp:17: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:86:23: note: declared here GtkStatusIcon *gtk_status_icon_new_from_pixbuf (GdkPixbuf *pixbuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/taskbarex.cpp:208:70: warning: 'void gtk_status_icon_set_from_pixbuf(GtkStatusIcon*, GdkPixbuf*)' is deprecated [-Wdeprecated-declarations] gtk_status_icon_set_from_pixbuf(g_pStatusIcon, bitmap.GetPixbuf()); ^ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from gtk/taskbarex.cpp:17: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:97:23: note: declared here void gtk_status_icon_set_from_pixbuf (GtkStatusIcon *status_icon, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/taskbarex.cpp:208:70: warning: 'void gtk_status_icon_set_from_pixbuf(GtkStatusIcon*, GdkPixbuf*)' is deprecated [-Wdeprecated-declarations] gtk_status_icon_set_from_pixbuf(g_pStatusIcon, bitmap.GetPixbuf()); ^ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from gtk/taskbarex.cpp:17: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:97:23: note: declared here void gtk_status_icon_set_from_pixbuf (GtkStatusIcon *status_icon, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/taskbarex.cpp:211:73: warning: 'void gtk_status_icon_set_tooltip_text(GtkStatusIcon*, const gchar*)' is deprecated [-Wdeprecated-declarations] gtk_status_icon_set_tooltip_text(g_pStatusIcon, message.mb_str()); ^ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from gtk/taskbarex.cpp:17: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:137:23: note: declared here void gtk_status_icon_set_tooltip_text (GtkStatusIcon *status_icon, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/taskbarex.cpp:211:73: warning: 'void gtk_status_icon_set_tooltip_text(GtkStatusIcon*, const gchar*)' is deprecated [-Wdeprecated-declarations] gtk_status_icon_set_tooltip_text(g_pStatusIcon, message.mb_str()); ^ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from gtk/taskbarex.cpp:17: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:137:23: note: declared here void gtk_status_icon_set_tooltip_text (GtkStatusIcon *status_icon, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/taskbarex.cpp:213:52: warning: 'void gtk_status_icon_set_visible(GtkStatusIcon*, gboolean)' is deprecated [-Wdeprecated-declarations] gtk_status_icon_set_visible(g_pStatusIcon, TRUE); ^ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from gtk/taskbarex.cpp:17: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:151:23: note: declared here void gtk_status_icon_set_visible (GtkStatusIcon *status_icon, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/taskbarex.cpp:213:52: warning: 'void gtk_status_icon_set_visible(GtkStatusIcon*, gboolean)' is deprecated [-Wdeprecated-declarations] gtk_status_icon_set_visible(g_pStatusIcon, TRUE); ^ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from gtk/taskbarex.cpp:17: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:151:23: note: declared here void gtk_status_icon_set_visible (GtkStatusIcon *status_icon, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:37, from /usr/include/gtk-3.0/gtk/gtk.h:254, from gtk/taskbarex.cpp:17: gtk/taskbarex.cpp: In function 'const char* SetBalloon__returnIcon(unsigned int)': /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:275:38: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] #define GTK_STOCK_DIALOG_INFO ((GtkStock)"gtk-dialog-info") ^~~~~~~~ gtk/taskbarex.cpp:222:20: note: in expansion of macro 'GTK_STOCK_DIALOG_INFO' return(GTK_STOCK_DIALOG_INFO); ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here typedef char * GtkStock; ^~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:284:38: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] #define GTK_STOCK_DIALOG_WARNING ((GtkStock)"gtk-dialog-warning") ^~~~~~~~ gtk/taskbarex.cpp:225:20: note: in expansion of macro 'GTK_STOCK_DIALOG_WARNING' return(GTK_STOCK_DIALOG_WARNING); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here typedef char * GtkStock; ^~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:293:38: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] #define GTK_STOCK_DIALOG_ERROR ((GtkStock)"gtk-dialog-error") ^~~~~~~~ gtk/taskbarex.cpp:229:20: note: in expansion of macro 'GTK_STOCK_DIALOG_ERROR' return(GTK_STOCK_DIALOG_ERROR); ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here typedef char * GtkStock; ^~~~~~~~ gtk/taskbarex.cpp: In member function 'virtual bool wxTaskBarIconEx::SetBalloon(const wxIcon&, wxString, wxString, unsigned int)': gtk/taskbarex.cpp:272:64: warning: 'const gchar* gtk_status_icon_get_icon_name(GtkStatusIcon*)' is deprecated [-Wdeprecated-declarations] gtk_status_icon_get_icon_name(g_pStatusIcon) ^ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from gtk/taskbarex.cpp:17: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:120:23: note: declared here const gchar * gtk_status_icon_get_icon_name (GtkStatusIcon *status_icon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/taskbarex.cpp:272:64: warning: 'const gchar* gtk_status_icon_get_icon_name(GtkStatusIcon*)' is deprecated [-Wdeprecated-declarations] gtk_status_icon_get_icon_name(g_pStatusIcon) ^ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from gtk/taskbarex.cpp:17: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:120:23: note: declared here const gchar * gtk_status_icon_get_icon_name (GtkStatusIcon *status_icon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-LogBOINC.o `test -f 'LogBOINC.cpp' || echo './'`LogBOINC.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from LogBOINC.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-MainDocument.o `test -f 'MainDocument.cpp' || echo './'`MainDocument.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from MainDocument.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from MainDocument.cpp:36: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from MainDocument.cpp:36: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ MainDocument.cpp: In member function 'void CMainDocument::RunPeriodicRPCs(int)': MainDocument.cpp:914:33: warning: declaration of 'event' shadows a previous local [-Wshadow] CTaskbarEvent event(wxEVT_TASKBAR_REFRESH, pTaskbar); ^~~~~~~~~~~~~~~~~~~~~ MainDocument.cpp:910:21: note: shadowed declaration is here CFrameEvent event(wxEVT_FRAME_REFRESHVIEW, pFrame); ^~~~~ MainDocument.cpp: In member function 'PROJECT* CMainDocument::project(unsigned int)': MainDocument.cpp:1354:30: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] catch (std::out_of_range e) { ^ MainDocument.cpp: In member function 'RESULT* CMainDocument::result(unsigned int)': MainDocument.cpp:1509:30: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] catch (std::out_of_range e) { ^ MainDocument.cpp: In member function 'RESULT* CMainDocument::result(const wxString&, const wxString&)': MainDocument.cpp:1537:30: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] catch (std::out_of_range e) { ^ MainDocument.cpp: In member function 'void CMainDocument::KillGraphicsApp(int)': MainDocument.cpp:1702:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] argv[0] = "switcher"; ^~~~~~~~~~ MainDocument.cpp:1703:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] argv[1] = "/bin/kill"; ^~~~~~~~~~~ MainDocument.cpp:1704:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] argv[2] = "kill"; ^~~~~~ MainDocument.cpp:1705:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] argv[3] = "-KILL"; ^~~~~~~ MainDocument.cpp:1697:13: warning: variable 'iRetVal' set but not used [-Wunused-but-set-variable] int id, iRetVal; ^~~~~~~ MainDocument.cpp: In member function 'int CMainDocument::WorkShowGraphics(RESULT*)': MainDocument.cpp:1764:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] argv[0] = "switcher"; ^~~~~~~~~~ MainDocument.cpp: In member function 'NOTICE* CMainDocument::notice(unsigned int)': MainDocument.cpp:1970:30: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] catch (std::out_of_range e) { ^ MainDocument.cpp: In member function 'MESSAGE* CMainDocument::message(unsigned int)': MainDocument.cpp:2117:30: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] catch (std::out_of_range e) { ^ MainDocument.cpp: In member function 'FILE_TRANSFER* CMainDocument::file_transfer(unsigned int)': MainDocument.cpp:2180:30: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] catch (std::out_of_range e) { ^ MainDocument.cpp: In member function 'FILE_TRANSFER* CMainDocument::file_transfer(const wxString&, const wxString&)': MainDocument.cpp:2205:30: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] catch (std::out_of_range e) { ^ MainDocument.cpp: In member function 'PROJECT* CMainDocument::DiskUsageProject(unsigned int)': MainDocument.cpp:2312:30: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] catch (std::out_of_range e) { ^ MainDocument.cpp: In member function 'PROJECT* CMainDocument::statistic(unsigned int)': MainDocument.cpp:2353:30: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] catch (std::out_of_range e) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-NoInternetConnectionPage.o `test -f 'NoInternetConnectionPage.cpp' || echo './'`NoInternetConnectionPage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from NoInternetConnectionPage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from NoInternetConnectionPage.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from NoInternetConnectionPage.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from NoInternetConnectionPage.cpp:22: NoInternetConnectionPage.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::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ NoInternetConnectionPage.cpp:52:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( -1, CErrNoInternetConnectionPage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ NoInternetConnectionPage.cpp:53:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( -1, CErrNoInternetConnectionPage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-NotDetectedPage.o `test -f 'NotDetectedPage.cpp' || echo './'`NotDetectedPage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from NotDetectedPage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from NotDetectedPage.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from NotDetectedPage.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from NotDetectedPage.cpp:22: NotDetectedPage.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::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ NotDetectedPage.cpp:52:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( -1, CErrNotDetectedPage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ NotDetectedPage.cpp:53:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( -1, CErrNotDetectedPage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-NotFoundPage.o `test -f 'NotFoundPage.cpp' || echo './'`NotFoundPage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from NotFoundPage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from NotFoundPage.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from NotFoundPage.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from NotFoundPage.cpp:22: NotFoundPage.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::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ NotFoundPage.cpp:52:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( -1, CErrNotFoundPage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ NotFoundPage.cpp:53:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( -1, CErrNotFoundPage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-NoticeListCtrl.o `test -f 'NoticeListCtrl.cpp' || echo './'`NoticeListCtrl.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from NoticeListCtrl.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from NoticeListCtrl.cpp:35: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from NoticeListCtrl.cpp:35: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from NoticeListCtrl.cpp:22: NoticeListCtrl.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::*)(wxWebViewEvent&)' 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/webview.h:271:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WEBVIEW_NAVIGATING, id, \ ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/webview.h:268:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxWebViewEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/webview.h:272:22: note: in expansion of macro 'wxWebViewEventHandler' wxWebViewEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~ NoticeListCtrl.cpp:53:5: note: in expansion of macro 'EVT_WEBVIEW_NAVIGATING' EVT_WEBVIEW_NAVIGATING(ID_LIST_NOTIFICATIONSVIEW, CNoticeListCtrl::OnLinkClicked) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWebViewEvent&)' 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/webview.h:283:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WEBVIEW_ERROR, id, \ ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/webview.h:268:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxWebViewEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/webview.h:284:22: note: in expansion of macro 'wxWebViewEventHandler' wxWebViewEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~ NoticeListCtrl.cpp:54:5: note: in expansion of macro 'EVT_WEBVIEW_ERROR' EVT_WEBVIEW_ERROR(ID_LIST_NOTIFICATIONSVIEW, CNoticeListCtrl::OnWebViewError) ^~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-ProjectInfoPage.o `test -f 'ProjectInfoPage.cpp' || echo './'`ProjectInfoPage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from ProjectInfoPage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from ProjectInfoPage.cpp:35: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from ProjectInfoPage.cpp:35: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from ProjectInfoPage.cpp:48: res/androidicon.xpm: At global scope: res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] res/androidicon.xpm:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from ProjectInfoPage.cpp:22: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4333:35: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_COMBOBOX(winid, func) wx__DECLARE_EVT1(wxEVT_COMBOBOX, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4333:75: note: in expansion of macro 'wxCommandEventHandler' #define EVT_COMBOBOX(winid, func) wx__DECLARE_EVT1(wxEVT_COMBOBOX, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ ProjectInfoPage.cpp:106:5: note: in expansion of macro 'EVT_COMBOBOX' EVT_COMBOBOX( ID_CATEGORIES, CProjectInfoPage::OnProjectCategorySelected ) ^~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ProjectInfoPage.cpp:107:5: note: in expansion of macro 'EVT_LISTBOX' EVT_LISTBOX( ID_PROJECTS, CProjectInfoPage::OnProjectSelected ) ^~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ ProjectInfoPage.cpp:108:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( wxID_ANY, CProjectInfoPage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:324:44: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGING(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGING, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ ProjectInfoPage.cpp:109:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGING' EVT_WIZARDEX_PAGE_CHANGING( wxID_ANY, CProjectInfoPage::OnPageChanging ) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ ProjectInfoPage.cpp:110:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( wxID_ANY, CProjectInfoPage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-ProjectProcessingPage.o `test -f 'ProjectProcessingPage.cpp' || echo './'`ProjectProcessingPage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from ProjectProcessingPage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from ProjectProcessingPage.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from ProjectProcessingPage.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from ProjectProcessingPage.cpp:22: ProjectProcessingPage.cpp: At global scope: ProjectProcessingPage.cpp:74:64: warning: cast between incompatible pointer to member types from 'void (CProjectProcessingPage::*)(CProjectProcessingPageEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_PROJECTPROCESSING_STATECHANGE( CProjectProcessingPage::OnStateChange ) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ ProjectProcessingPage.h:47:5: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' DECLARE_EVENT_TABLE_ENTRY(wxEVT_PROJECTPROCESSING_STATECHANGE, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ ProjectProcessingPage.cpp:74:5: note: in expansion of macro 'EVT_PROJECTPROCESSING_STATECHANGE' EVT_PROJECTPROCESSING_STATECHANGE( CProjectProcessingPage::OnStateChange ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ ProjectProcessingPage.cpp:77:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( -1, CProjectProcessingPage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ ProjectProcessingPage.cpp:78:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( -1, CProjectProcessingPage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-ProjectPropertiesPage.o `test -f 'ProjectPropertiesPage.cpp' || echo './'`ProjectPropertiesPage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from ProjectPropertiesPage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from ProjectPropertiesPage.cpp:34: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from ProjectPropertiesPage.cpp:34: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from ProjectPropertiesPage.cpp:22: ProjectPropertiesPage.cpp: At global scope: ProjectPropertiesPage.cpp:75:64: warning: cast between incompatible pointer to member types from 'void (CProjectPropertiesPage::*)(CProjectPropertiesPageEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_PROJECTPROPERTIES_STATECHANGE( CProjectPropertiesPage::OnStateChange ) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ ProjectPropertiesPage.h:47:5: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' DECLARE_EVENT_TABLE_ENTRY(wxEVT_PROJECTPROPERTIES_STATECHANGE, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ ProjectPropertiesPage.cpp:75:5: note: in expansion of macro 'EVT_PROJECTPROPERTIES_STATECHANGE' EVT_PROJECTPROPERTIES_STATECHANGE( CProjectPropertiesPage::OnStateChange ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ ProjectPropertiesPage.cpp:78:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( -1, CProjectPropertiesPage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ ProjectPropertiesPage.cpp:79:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( -1, CProjectPropertiesPage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-ProjectWelcomePage.o `test -f 'ProjectWelcomePage.cpp' || echo './'`ProjectWelcomePage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from ProjectWelcomePage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from ProjectWelcomePage.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from ProjectWelcomePage.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from ProjectWelcomePage.cpp:22: ProjectWelcomePage.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::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ ProjectWelcomePage.cpp:55:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( -1, CProjectWelcomePage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ ProjectWelcomePage.cpp:56:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( -1, CProjectWelcomePage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-ProxyInfoPage.o `test -f 'ProxyInfoPage.cpp' || echo './'`ProxyInfoPage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from ProxyInfoPage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from ProxyInfoPage.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from ProxyInfoPage.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from ProxyInfoPage.cpp:22: ProxyInfoPage.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::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ ProxyInfoPage.cpp:52:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( -1, CErrProxyInfoPage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ ProxyInfoPage.cpp:53:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( -1, CErrProxyInfoPage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-ProxyPage.o `test -f 'ProxyPage.cpp' || echo './'`ProxyPage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from ProxyPage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from ProxyPage.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from ProxyPage.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from ProxyPage.cpp:22: ProxyPage.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::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ ProxyPage.cpp:52:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( -1, CErrProxyPage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:324:44: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGING(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGING, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ ProxyPage.cpp:53:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGING' EVT_WIZARDEX_PAGE_CHANGING( -1, CErrProxyPage::OnPageChanging ) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ ProxyPage.cpp:54:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( -1, CErrProxyPage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-sg_BoincSimpleFrame.o `test -f 'sg_BoincSimpleFrame.cpp' || echo './'`sg_BoincSimpleFrame.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from sg_BoincSimpleFrame.cpp:23: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from sg_BoincSimpleFrame.cpp:32: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from sg_BoincSimpleFrame.cpp:32: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from sg_BoincSimpleFrame.cpp:23: sg_BoincSimpleFrame.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxSizeEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4154:25: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SIZE(func) wx__DECLARE_EVT0(wxEVT_SIZE, wxSizeEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3912:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxSizeEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4154:54: note: in expansion of macro 'wxSizeEventHandler' #define EVT_SIZE(func) wx__DECLARE_EVT0(wxEVT_SIZE, wxSizeEventHandler(func)) ^~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:69:5: note: in expansion of macro 'EVT_SIZE' EVT_SIZE(CSimpleFrame::OnSize) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMenuEvent&)' 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:4173:30: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MENU_OPEN(func) wx__DECLARE_EVT0(wxEVT_MENU_OPEN, wxMenuEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3933:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMenuEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4173:64: note: in expansion of macro 'wxMenuEventHandler' #define EVT_MENU_OPEN(func) wx__DECLARE_EVT0(wxEVT_MENU_OPEN, wxMenuEventHandler(func)) ^~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:70:5: note: in expansion of macro 'EVT_MENU_OPEN' EVT_MENU_OPEN(CSimpleFrame::OnMenuOpening) ^~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:71:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_CHANGEGUI, CSimpleFrame::OnChangeGUI) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:72:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_SGDEFAULTSKINSELECTOR, CSimpleFrame::OnSelectDefaultSkin) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:73:5: note: in expansion of macro 'EVT_MENU_RANGE' EVT_MENU_RANGE(ID_SGFIRSTSKINSELECTOR, ID_LASTSGSKINSELECTOR, CSimpleFrame::OnSelectSkin) ^~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxHelpEvent&)' 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:4375:31: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_HELP(winid, func) wx__DECLARE_EVT1(wxEVT_HELP, winid, wxHelpEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3969:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxHelpEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4375:67: note: in expansion of macro 'wxHelpEventHandler' #define EVT_HELP(winid, func) wx__DECLARE_EVT1(wxEVT_HELP, winid, wxHelpEventHandler(func)) ^~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:74:5: note: in expansion of macro 'EVT_HELP' EVT_HELP(wxID_ANY, CSimpleFrame::OnHelp) ^~~~~~~~ sg_BoincSimpleFrame.cpp:75:37: warning: cast between incompatible pointer to member types from 'void (CSimpleFrame::*)(CFrameEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_FRAME_CONNECT(CSimpleFrame::OnConnect) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ BOINCBaseFrame.h:198:42: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' #define EVT_FRAME_CONNECT(fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_FRAME_CONNECT, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:75:5: note: in expansion of macro 'EVT_FRAME_CONNECT' EVT_FRAME_CONNECT(CSimpleFrame::OnConnect) ^~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:76:40: warning: cast between incompatible pointer to member types from 'void (CSimpleFrame::*)(CFrameEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_FRAME_RELOADSKIN(CSimpleFrame::OnReloadSkin) ^~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ BOINCBaseFrame.h:202:42: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' #define EVT_FRAME_RELOADSKIN(fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_FRAME_RELOADSKIN, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:76:5: note: in expansion of macro 'EVT_FRAME_RELOADSKIN' EVT_FRAME_RELOADSKIN(CSimpleFrame::OnReloadSkin) ^~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:77:42: warning: cast between incompatible pointer to member types from 'void (CSimpleFrame::*)(CFrameEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_FRAME_NOTIFICATION(CSimpleFrame::OnNotification) ^~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ BOINCBaseFrame.h:203:42: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' #define EVT_FRAME_NOTIFICATION(fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_FRAME_NOTIFICATION, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:77:5: note: in expansion of macro 'EVT_FRAME_NOTIFICATION' EVT_FRAME_NOTIFICATION(CSimpleFrame::OnNotification) ^~~~~~~~~~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:78:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_PREFERENCES, CSimpleFrame::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)) ^~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:79:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_SGOPTIONS, CSimpleFrame::OnOptions) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:80:2: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_SGDIAGNOSTICLOGFLAGS, CSimpleFrame::OnDiagnosticLogFlags) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:81:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_WIZARDATTACHPROJECT, CSimpleFrame::OnProjectsAttachToProject) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:82:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_HELPBOINC, CSimpleFrame::OnHelpBOINC) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:83:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_HELPBOINCMANAGER, CSimpleFrame::OnHelpBOINC) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:84:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_HELPBOINCWEBSITE, CSimpleFrame::OnHelpBOINC) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:85:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(wxID_ABOUT, CSimpleFrame::OnHelpAbout) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:86:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_CHECK_VERSION, CSimpleFrame::OnCheckVersion) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:87:2: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_EVENTLOG, CSimpleFrame::OnEventLog) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMoveEvent&)' 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:4156:25: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOVE(func) wx__DECLARE_EVT0(wxEVT_MOVE, wxMoveEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3914:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMoveEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4156:54: note: in expansion of macro 'wxMoveEventHandler' #define EVT_MOVE(func) wx__DECLARE_EVT0(wxEVT_MOVE, wxMoveEventHandler(func)) ^~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:88:5: note: in expansion of macro 'EVT_MOVE' EVT_MOVE(CSimpleFrame::OnMove) ^~~~~~~~ sg_BoincSimpleFrame.cpp: In member function 'void CSimpleFrame::OnConnect(CFrameEvent&)': sg_BoincSimpleFrame.cpp:769:9: warning: variable 'wasShown' set but not used [-Wunused-but-set-variable] int wasShown = 0; ^~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from sg_BoincSimpleFrame.cpp:23: sg_BoincSimpleFrame.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::*)(wxEraseEvent&)' 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:4165:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3920:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxEraseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4165:78: note: in expansion of macro 'wxEraseEventHandler' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:896:5: note: in expansion of macro 'EVT_ERASE_BACKGROUND' EVT_ERASE_BACKGROUND(CSimpleGUIPanel::OnEraseBackground) ^~~~~~~~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:897:2: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_SGNOTICESBUTTON,CSimpleGUIPanel::OnShowNotices) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:898:2: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_SGSUSPENDRESUMEBUTTON,CSimpleGUIPanel::OnSuspendResume) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:899:2: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_SIMPLE_HELP,CSimpleGUIPanel::OnHelp) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxTimerEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:189:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxTimerEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:44: note: in expansion of macro 'wxTimerEventHandler' wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:900:2: note: in expansion of macro 'EVT_TIMER' EVT_TIMER(ID_SIMPLEMESSAGECHECKTIMER, CSimpleGUIPanel::OnCheckForNewNotices) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxPaintEvent&)' 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:4163:26: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3916:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxPaintEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4163:56: note: in expansion of macro 'wxPaintEventHandler' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_BoincSimpleFrame.cpp:901:5: note: in expansion of macro 'EVT_PAINT' EVT_PAINT(CSimpleGUIPanel::OnPaint) ^~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-sg_CustomControls.o `test -f 'sg_CustomControls.cpp' || echo './'`sg_CustomControls.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from sg_CustomControls.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from sg_CustomControls.cpp:22: sg_CustomControls.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::*)(wxPaintEvent&)' 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:4163:26: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3916:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxPaintEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4163:56: note: in expansion of macro 'wxPaintEventHandler' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:29:5: note: in expansion of macro 'EVT_PAINT' EVT_PAINT(CTransparentStaticLine::OnPaint) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxEraseEvent&)' 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:4165:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3920:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxEraseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4165:78: note: in expansion of macro 'wxEraseEventHandler' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:62:5: note: in expansion of macro 'EVT_ERASE_BACKGROUND' EVT_ERASE_BACKGROUND(CTransparentStaticText::OnEraseBackground) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxPaintEvent&)' 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:4163:26: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3916:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxPaintEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4163:56: note: in expansion of macro 'wxPaintEventHandler' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:64:5: note: in expansion of macro 'EVT_PAINT' EVT_PAINT(CTransparentStaticText::OnPaint) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxEraseEvent&)' 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:4165:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3920:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxEraseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4165:78: note: in expansion of macro 'wxEraseEventHandler' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:99:5: note: in expansion of macro 'EVT_ERASE_BACKGROUND' EVT_ERASE_BACKGROUND(CTransparentButton::OnEraseBackground) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxEraseEvent&)' 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:4165:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3920:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxEraseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4165:78: note: in expansion of macro 'wxEraseEventHandler' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:137:5: note: in expansion of macro 'EVT_ERASE_BACKGROUND' EVT_ERASE_BACKGROUND(CTransparentHyperlinkCtrl::OnEraseBackground) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxPaintEvent&)' 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:4163:26: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3916:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxPaintEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4163:56: note: in expansion of macro 'wxPaintEventHandler' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:138:5: note: in expansion of macro 'EVT_PAINT' EVT_PAINT(CTransparentHyperlinkCtrl::OnPaint) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxEraseEvent&)' 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:4165:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3920:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxEraseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4165:78: note: in expansion of macro 'wxEraseEventHandler' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:208:5: note: in expansion of macro 'EVT_ERASE_BACKGROUND' EVT_ERASE_BACKGROUND(CTransparentStaticTextAssociate::OnEraseBackground) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxPaintEvent&)' 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:4163:26: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3916:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxPaintEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4163:56: note: in expansion of macro 'wxPaintEventHandler' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:209:5: note: in expansion of macro 'EVT_PAINT' EVT_PAINT(CTransparentStaticTextAssociate::OnPaint) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4202:29: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_LEFT_DOWN(func) wx__DECLARE_EVT0(wxEVT_LEFT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4202:63: note: in expansion of macro 'wxMouseEventHandler' #define EVT_LEFT_DOWN(func) wx__DECLARE_EVT0(wxEVT_LEFT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4224:5: note: in expansion of macro 'EVT_LEFT_DOWN' EVT_LEFT_DOWN(func) \ ^~~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4203:27: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_LEFT_UP(func) wx__DECLARE_EVT0(wxEVT_LEFT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4203:59: note: in expansion of macro 'wxMouseEventHandler' #define EVT_LEFT_UP(func) wx__DECLARE_EVT0(wxEVT_LEFT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4225:5: note: in expansion of macro 'EVT_LEFT_UP' EVT_LEFT_UP(func) \ ^~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4209:31: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_LEFT_DCLICK(func) wx__DECLARE_EVT0(wxEVT_LEFT_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4209:67: note: in expansion of macro 'wxMouseEventHandler' #define EVT_LEFT_DCLICK(func) wx__DECLARE_EVT0(wxEVT_LEFT_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4226:5: note: in expansion of macro 'EVT_LEFT_DCLICK' EVT_LEFT_DCLICK(func) \ ^~~~~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4204:31: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MIDDLE_DOWN(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4204:67: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MIDDLE_DOWN(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4227:5: note: in expansion of macro 'EVT_MIDDLE_DOWN' EVT_MIDDLE_DOWN(func) \ ^~~~~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4205:29: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MIDDLE_UP(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4205:63: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MIDDLE_UP(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4228:5: note: in expansion of macro 'EVT_MIDDLE_UP' EVT_MIDDLE_UP(func) \ ^~~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4210:33: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MIDDLE_DCLICK(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4210:71: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MIDDLE_DCLICK(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4229:5: note: in expansion of macro 'EVT_MIDDLE_DCLICK' EVT_MIDDLE_DCLICK(func) \ ^~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4206:30: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_RIGHT_DOWN(func) wx__DECLARE_EVT0(wxEVT_RIGHT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4206:65: note: in expansion of macro 'wxMouseEventHandler' #define EVT_RIGHT_DOWN(func) wx__DECLARE_EVT0(wxEVT_RIGHT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4230:5: note: in expansion of macro 'EVT_RIGHT_DOWN' EVT_RIGHT_DOWN(func) \ ^~~~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4207:28: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_RIGHT_UP(func) wx__DECLARE_EVT0(wxEVT_RIGHT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4207:61: note: in expansion of macro 'wxMouseEventHandler' #define EVT_RIGHT_UP(func) wx__DECLARE_EVT0(wxEVT_RIGHT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4231:5: note: in expansion of macro 'EVT_RIGHT_UP' EVT_RIGHT_UP(func) \ ^~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4211:32: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_RIGHT_DCLICK(func) wx__DECLARE_EVT0(wxEVT_RIGHT_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4211:69: note: in expansion of macro 'wxMouseEventHandler' #define EVT_RIGHT_DCLICK(func) wx__DECLARE_EVT0(wxEVT_RIGHT_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4232:5: note: in expansion of macro 'EVT_RIGHT_DCLICK' EVT_RIGHT_DCLICK(func) \ ^~~~~~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4215:35: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOUSE_AUX1_DOWN(func) wx__DECLARE_EVT0(wxEVT_AUX1_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4215:69: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOUSE_AUX1_DOWN(func) wx__DECLARE_EVT0(wxEVT_AUX1_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4233:5: note: in expansion of macro 'EVT_MOUSE_AUX1_DOWN' EVT_MOUSE_AUX1_DOWN(func) \ ^~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4216:33: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOUSE_AUX1_UP(func) wx__DECLARE_EVT0(wxEVT_AUX1_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4216:65: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOUSE_AUX1_UP(func) wx__DECLARE_EVT0(wxEVT_AUX1_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4234:5: note: in expansion of macro 'EVT_MOUSE_AUX1_UP' EVT_MOUSE_AUX1_UP(func) \ ^~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4217:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOUSE_AUX1_DCLICK(func) wx__DECLARE_EVT0(wxEVT_AUX1_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4217:73: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOUSE_AUX1_DCLICK(func) wx__DECLARE_EVT0(wxEVT_AUX1_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4235:5: note: in expansion of macro 'EVT_MOUSE_AUX1_DCLICK' EVT_MOUSE_AUX1_DCLICK(func) \ ^~~~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4218:35: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOUSE_AUX2_DOWN(func) wx__DECLARE_EVT0(wxEVT_AUX2_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4218:69: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOUSE_AUX2_DOWN(func) wx__DECLARE_EVT0(wxEVT_AUX2_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4236:5: note: in expansion of macro 'EVT_MOUSE_AUX2_DOWN' EVT_MOUSE_AUX2_DOWN(func) \ ^~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4219:33: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOUSE_AUX2_UP(func) wx__DECLARE_EVT0(wxEVT_AUX2_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4219:65: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOUSE_AUX2_UP(func) wx__DECLARE_EVT0(wxEVT_AUX2_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4237:5: note: in expansion of macro 'EVT_MOUSE_AUX2_UP' EVT_MOUSE_AUX2_UP(func) \ ^~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4220:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOUSE_AUX2_DCLICK(func) wx__DECLARE_EVT0(wxEVT_AUX2_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4220:73: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOUSE_AUX2_DCLICK(func) wx__DECLARE_EVT0(wxEVT_AUX2_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4238:5: note: in expansion of macro 'EVT_MOUSE_AUX2_DCLICK' EVT_MOUSE_AUX2_DCLICK(func) \ ^~~~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4208:26: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOTION(func) wx__DECLARE_EVT0(wxEVT_MOTION, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4208:57: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOTION(func) wx__DECLARE_EVT0(wxEVT_MOTION, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4239:5: note: in expansion of macro 'EVT_MOTION' EVT_MOTION(func) \ ^~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4212:32: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_LEAVE_WINDOW(func) wx__DECLARE_EVT0(wxEVT_LEAVE_WINDOW, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4212:69: note: in expansion of macro 'wxMouseEventHandler' #define EVT_LEAVE_WINDOW(func) wx__DECLARE_EVT0(wxEVT_LEAVE_WINDOW, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4240:5: note: in expansion of macro 'EVT_LEAVE_WINDOW' EVT_LEAVE_WINDOW(func) \ ^~~~~~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4213:32: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ENTER_WINDOW(func) wx__DECLARE_EVT0(wxEVT_ENTER_WINDOW, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4213:69: note: in expansion of macro 'wxMouseEventHandler' #define EVT_ENTER_WINDOW(func) wx__DECLARE_EVT0(wxEVT_ENTER_WINDOW, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4241:5: note: in expansion of macro 'EVT_ENTER_WINDOW' EVT_ENTER_WINDOW(func) \ ^~~~~~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4214:30: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOUSEWHEEL(func) wx__DECLARE_EVT0(wxEVT_MOUSEWHEEL, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4214:65: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOUSEWHEEL(func) wx__DECLARE_EVT0(wxEVT_MOUSEWHEEL, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4242:5: note: in expansion of macro 'EVT_MOUSEWHEEL' EVT_MOUSEWHEEL(func) ^~~~~~~~~~~~~~ sg_CustomControls.cpp:210:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CTransparentStaticTextAssociate::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxEraseEvent&)' 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:4165:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3920:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxEraseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4165:78: note: in expansion of macro 'wxEraseEventHandler' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:338:5: note: in expansion of macro 'EVT_ERASE_BACKGROUND' EVT_ERASE_BACKGROUND(CTransparentCheckBox::OnEraseBackground) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4202:29: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_LEFT_DOWN(func) wx__DECLARE_EVT0(wxEVT_LEFT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4202:63: note: in expansion of macro 'wxMouseEventHandler' #define EVT_LEFT_DOWN(func) wx__DECLARE_EVT0(wxEVT_LEFT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4224:5: note: in expansion of macro 'EVT_LEFT_DOWN' EVT_LEFT_DOWN(func) \ ^~~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4203:27: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_LEFT_UP(func) wx__DECLARE_EVT0(wxEVT_LEFT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4203:59: note: in expansion of macro 'wxMouseEventHandler' #define EVT_LEFT_UP(func) wx__DECLARE_EVT0(wxEVT_LEFT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4225:5: note: in expansion of macro 'EVT_LEFT_UP' EVT_LEFT_UP(func) \ ^~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4209:31: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_LEFT_DCLICK(func) wx__DECLARE_EVT0(wxEVT_LEFT_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4209:67: note: in expansion of macro 'wxMouseEventHandler' #define EVT_LEFT_DCLICK(func) wx__DECLARE_EVT0(wxEVT_LEFT_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4226:5: note: in expansion of macro 'EVT_LEFT_DCLICK' EVT_LEFT_DCLICK(func) \ ^~~~~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4204:31: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MIDDLE_DOWN(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4204:67: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MIDDLE_DOWN(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4227:5: note: in expansion of macro 'EVT_MIDDLE_DOWN' EVT_MIDDLE_DOWN(func) \ ^~~~~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4205:29: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MIDDLE_UP(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4205:63: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MIDDLE_UP(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4228:5: note: in expansion of macro 'EVT_MIDDLE_UP' EVT_MIDDLE_UP(func) \ ^~~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4210:33: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MIDDLE_DCLICK(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4210:71: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MIDDLE_DCLICK(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4229:5: note: in expansion of macro 'EVT_MIDDLE_DCLICK' EVT_MIDDLE_DCLICK(func) \ ^~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4206:30: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_RIGHT_DOWN(func) wx__DECLARE_EVT0(wxEVT_RIGHT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4206:65: note: in expansion of macro 'wxMouseEventHandler' #define EVT_RIGHT_DOWN(func) wx__DECLARE_EVT0(wxEVT_RIGHT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4230:5: note: in expansion of macro 'EVT_RIGHT_DOWN' EVT_RIGHT_DOWN(func) \ ^~~~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4207:28: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_RIGHT_UP(func) wx__DECLARE_EVT0(wxEVT_RIGHT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4207:61: note: in expansion of macro 'wxMouseEventHandler' #define EVT_RIGHT_UP(func) wx__DECLARE_EVT0(wxEVT_RIGHT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4231:5: note: in expansion of macro 'EVT_RIGHT_UP' EVT_RIGHT_UP(func) \ ^~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4211:32: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_RIGHT_DCLICK(func) wx__DECLARE_EVT0(wxEVT_RIGHT_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4211:69: note: in expansion of macro 'wxMouseEventHandler' #define EVT_RIGHT_DCLICK(func) wx__DECLARE_EVT0(wxEVT_RIGHT_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4232:5: note: in expansion of macro 'EVT_RIGHT_DCLICK' EVT_RIGHT_DCLICK(func) \ ^~~~~~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4215:35: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOUSE_AUX1_DOWN(func) wx__DECLARE_EVT0(wxEVT_AUX1_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4215:69: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOUSE_AUX1_DOWN(func) wx__DECLARE_EVT0(wxEVT_AUX1_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4233:5: note: in expansion of macro 'EVT_MOUSE_AUX1_DOWN' EVT_MOUSE_AUX1_DOWN(func) \ ^~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4216:33: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOUSE_AUX1_UP(func) wx__DECLARE_EVT0(wxEVT_AUX1_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4216:65: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOUSE_AUX1_UP(func) wx__DECLARE_EVT0(wxEVT_AUX1_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4234:5: note: in expansion of macro 'EVT_MOUSE_AUX1_UP' EVT_MOUSE_AUX1_UP(func) \ ^~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4217:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOUSE_AUX1_DCLICK(func) wx__DECLARE_EVT0(wxEVT_AUX1_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4217:73: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOUSE_AUX1_DCLICK(func) wx__DECLARE_EVT0(wxEVT_AUX1_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4235:5: note: in expansion of macro 'EVT_MOUSE_AUX1_DCLICK' EVT_MOUSE_AUX1_DCLICK(func) \ ^~~~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4218:35: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOUSE_AUX2_DOWN(func) wx__DECLARE_EVT0(wxEVT_AUX2_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4218:69: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOUSE_AUX2_DOWN(func) wx__DECLARE_EVT0(wxEVT_AUX2_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4236:5: note: in expansion of macro 'EVT_MOUSE_AUX2_DOWN' EVT_MOUSE_AUX2_DOWN(func) \ ^~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4219:33: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOUSE_AUX2_UP(func) wx__DECLARE_EVT0(wxEVT_AUX2_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4219:65: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOUSE_AUX2_UP(func) wx__DECLARE_EVT0(wxEVT_AUX2_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4237:5: note: in expansion of macro 'EVT_MOUSE_AUX2_UP' EVT_MOUSE_AUX2_UP(func) \ ^~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4220:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOUSE_AUX2_DCLICK(func) wx__DECLARE_EVT0(wxEVT_AUX2_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4220:73: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOUSE_AUX2_DCLICK(func) wx__DECLARE_EVT0(wxEVT_AUX2_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4238:5: note: in expansion of macro 'EVT_MOUSE_AUX2_DCLICK' EVT_MOUSE_AUX2_DCLICK(func) \ ^~~~~~~~~~~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4208:26: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOTION(func) wx__DECLARE_EVT0(wxEVT_MOTION, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4208:57: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOTION(func) wx__DECLARE_EVT0(wxEVT_MOTION, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4239:5: note: in expansion of macro 'EVT_MOTION' EVT_MOTION(func) \ ^~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4212:32: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_LEAVE_WINDOW(func) wx__DECLARE_EVT0(wxEVT_LEAVE_WINDOW, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4212:69: note: in expansion of macro 'wxMouseEventHandler' #define EVT_LEAVE_WINDOW(func) wx__DECLARE_EVT0(wxEVT_LEAVE_WINDOW, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4240:5: note: in expansion of macro 'EVT_LEAVE_WINDOW' EVT_LEAVE_WINDOW(func) \ ^~~~~~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4213:32: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ENTER_WINDOW(func) wx__DECLARE_EVT0(wxEVT_ENTER_WINDOW, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4213:69: note: in expansion of macro 'wxMouseEventHandler' #define EVT_ENTER_WINDOW(func) wx__DECLARE_EVT0(wxEVT_ENTER_WINDOW, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4241:5: note: in expansion of macro 'EVT_ENTER_WINDOW' EVT_ENTER_WINDOW(func) \ ^~~~~~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4214:30: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOUSEWHEEL(func) wx__DECLARE_EVT0(wxEVT_MOUSEWHEEL, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4214:65: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOUSEWHEEL(func) wx__DECLARE_EVT0(wxEVT_MOUSEWHEEL, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4242:5: note: in expansion of macro 'EVT_MOUSEWHEEL' EVT_MOUSEWHEEL(func) ^~~~~~~~~~~~~~ sg_CustomControls.cpp:401:5: note: in expansion of macro 'EVT_MOUSE_EVENTS' EVT_MOUSE_EVENTS(CLinkButton::OnMouse) ^~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-sg_DlgMessages.o `test -f 'sg_DlgMessages.cpp' || echo './'`sg_DlgMessages.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from sg_DlgMessages.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from sg_DlgMessages.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from sg_DlgMessages.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from sg_DlgMessages.cpp:22: sg_DlgMessages.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::*)(wxEraseEvent&)' 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:4165:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3920:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxEraseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4165:78: note: in expansion of macro 'wxEraseEventHandler' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_DlgMessages.cpp:64:5: note: in expansion of macro 'EVT_ERASE_BACKGROUND' EVT_ERASE_BACKGROUND( CPanelMessages::OnEraseBackground ) ^~~~~~~~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_DlgMessages.cpp:65:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON( wxID_OK, CPanelMessages::OnOK ) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_DlgMessages.cpp:66:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_SIMPLE_HELP, CPanelMessages::OnButtonHelp) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxHelpEvent&)' 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:4375:31: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_HELP(winid, func) wx__DECLARE_EVT1(wxEVT_HELP, winid, wxHelpEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3969:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxHelpEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4375:67: note: in expansion of macro 'wxHelpEventHandler' #define EVT_HELP(winid, func) wx__DECLARE_EVT1(wxEVT_HELP, winid, wxHelpEventHandler(func)) ^~~~~~~~~~~~~~~~~~ sg_DlgMessages.cpp:344:5: note: in expansion of macro 'EVT_HELP' EVT_HELP(wxID_ANY, CDlgMessages::OnHelp) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxShowEvent&)' 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:4189:24: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SHOW(func) wx__DECLARE_EVT0(wxEVT_SHOW, wxShowEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3949:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxShowEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4189:53: note: in expansion of macro 'wxShowEventHandler' #define EVT_SHOW(func) wx__DECLARE_EVT0(wxEVT_SHOW, wxShowEventHandler(func)) ^~~~~~~~~~~~~~~~~~ sg_DlgMessages.cpp:345:5: note: in expansion of macro 'EVT_SHOW' EVT_SHOW( CDlgMessages::OnShow ) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_DlgMessages.cpp:346:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON( wxID_OK, CDlgMessages::OnOK ) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~ sg_DlgMessages.cpp:347:2: note: in expansion of macro 'EVT_SIZE' EVT_SIZE(CDlgMessages::OnSize) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMoveEvent&)' 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:4156:25: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOVE(func) wx__DECLARE_EVT0(wxEVT_MOVE, wxMoveEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3914:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMoveEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4156:54: note: in expansion of macro 'wxMoveEventHandler' #define EVT_MOVE(func) wx__DECLARE_EVT0(wxEVT_MOVE, wxMoveEventHandler(func)) ^~~~~~~~~~~~~~~~~~ sg_DlgMessages.cpp:348:5: note: in expansion of macro 'EVT_MOVE' EVT_MOVE(CDlgMessages::OnMove) ^~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-sg_DlgPreferences.o `test -f 'sg_DlgPreferences.cpp' || echo './'`sg_DlgPreferences.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from sg_DlgPreferences.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from sg_DlgPreferences.cpp:32: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from sg_DlgPreferences.cpp:32: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from sg_DlgPreferences.cpp:22: sg_DlgPreferences.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:4145:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(event, 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:4145:39: note: in expansion of macro 'wxCommandEventHandler' wx__DECLARE_EVT2(event, id1, id2, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ sg_DlgPreferences.cpp:58:5: note: in expansion of macro 'EVT_COMMAND_RANGE' EVT_COMMAND_RANGE(ID_SG_PREFS_START,ID_SG_PREFS_LAST, ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxEraseEvent&)' 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:4165:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3920:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxEraseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4165:78: note: in expansion of macro 'wxEraseEventHandler' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_DlgPreferences.cpp:62:5: note: in expansion of macro 'EVT_ERASE_BACKGROUND' EVT_ERASE_BACKGROUND( CPanelPreferences::OnEraseBackground ) ^~~~~~~~~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_DlgPreferences.cpp:63:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON( ID_SIMPLE_HELP, CPanelPreferences::OnButtonHelp ) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxHelpEvent&)' 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:4375:31: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_HELP(winid, func) wx__DECLARE_EVT1(wxEVT_HELP, winid, wxHelpEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3969:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxHelpEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4375:67: note: in expansion of macro 'wxHelpEventHandler' #define EVT_HELP(winid, func) wx__DECLARE_EVT1(wxEVT_HELP, winid, wxHelpEventHandler(func)) ^~~~~~~~~~~~~~~~~~ sg_DlgPreferences.cpp:1066:5: note: in expansion of macro 'EVT_HELP' EVT_HELP(wxID_ANY, CDlgPreferences::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: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)) ^~~~~~~~~~~~~~~~~~~~~ sg_DlgPreferences.cpp:1067:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON( ID_SGPREFERENCESCLEAR, CDlgPreferences::OnButtonClear ) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_DlgPreferences.cpp:1068:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON( wxID_OK, CDlgPreferences::OnOK ) ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-sg_PanelBase.o `test -f 'sg_PanelBase.cpp' || echo './'`sg_PanelBase.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from sg_PanelBase.cpp:18: /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/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from sg_PanelBase.h:23, from sg_PanelBase.cpp:22: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from sg_PanelBase.h:23, from sg_PanelBase.cpp:22: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from sg_PanelBase.cpp:18: sg_PanelBase.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::*)(wxPaintEvent&)' 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:4163:26: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3916:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxPaintEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4163:56: note: in expansion of macro 'wxPaintEventHandler' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_PanelBase.cpp:32:5: note: in expansion of macro 'EVT_PAINT' EVT_PAINT(CSimplePanelBase::OnPaint) ^~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-sg_ProjectCommandPopup.o `test -f 'sg_ProjectCommandPopup.cpp' || echo './'`sg_ProjectCommandPopup.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from sg_ProjectCommandPopup.cpp:19: /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/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from sg_ProjectCommandPopup.cpp:22: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from sg_ProjectCommandPopup.cpp:22: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from sg_ProjectCommandPopup.cpp:19: sg_ProjectCommandPopup.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::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4202:29: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_LEFT_DOWN(func) wx__DECLARE_EVT0(wxEVT_LEFT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4202:63: note: in expansion of macro 'wxMouseEventHandler' #define EVT_LEFT_DOWN(func) wx__DECLARE_EVT0(wxEVT_LEFT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_ProjectCommandPopup.cpp:30:5: note: in expansion of macro 'EVT_LEFT_DOWN' EVT_LEFT_DOWN(CSimpleProjectCommandPopupButton::OnProjectCommandsMouseDown) ^~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_ProjectCommandPopup.cpp:31:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_TASK_PROJECT_UPDATE, CSimpleProjectCommandPopupButton::OnProjectUpdate) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_ProjectCommandPopup.cpp:32:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_TASK_PROJECT_SUSPEND, CSimpleProjectCommandPopupButton::OnProjectSuspendResume) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_ProjectCommandPopup.cpp:33:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_TASK_PROJECT_NONEWWORK, CSimpleProjectCommandPopupButton::OnProjectNoNewWork) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_ProjectCommandPopup.cpp:34:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_TASK_PROJECT_RESET, CSimpleProjectCommandPopupButton::OnResetProject) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_ProjectCommandPopup.cpp:35:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_TASK_PROJECT_DETACH, CSimpleProjectCommandPopupButton::OnProjectDetach) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_ProjectCommandPopup.cpp:36:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_TASK_PROJECT_SHOW_PROPERTIES, CSimpleProjectCommandPopupButton::OnProjectShowProperties) ^~~~~~~~ sg_ProjectCommandPopup.cpp: In constructor 'CSimpleProjectCommandPopupButton::CSimpleProjectCommandPopupButton(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxValidator&, const wxString&)': sg_ProjectCommandPopup.cpp:53:111: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) &CSimpleProjectCommandPopupButton::OnProjectCommandsKeyboardNav ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-sg_ProjectPanel.o `test -f 'sg_ProjectPanel.cpp' || echo './'`sg_ProjectPanel.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from sg_ProjectPanel.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/hostinfo.h:32, from ../lib/app_ipc.h:28, from sg_ProjectPanel.cpp:24: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/app_ipc.h:30, from sg_ProjectPanel.cpp:24: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from sg_ProjectPanel.cpp:22: sg_ProjectPanel.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4333:35: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_COMBOBOX(winid, func) wx__DECLARE_EVT1(wxEVT_COMBOBOX, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4333:75: note: in expansion of macro 'wxCommandEventHandler' #define EVT_COMBOBOX(winid, func) wx__DECLARE_EVT1(wxEVT_COMBOBOX, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ sg_ProjectPanel.cpp:44:5: note: in expansion of macro 'EVT_COMBOBOX' EVT_COMBOBOX(ID_SGPROJECTSELECTOR, CSimpleProjectPanel::OnProjectSelection) ^~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_ProjectPanel.cpp:46:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_ADDROJECTBUTTON, CSimpleProjectPanel::OnAddProject) ^~~~~~~~~~ sg_ProjectPanel.cpp: In member function 'void CSimpleProjectPanel::ReskinInterface()': sg_ProjectPanel.cpp:301:14: warning: variable 'project' set but not used [-Wunused-but-set-variable] PROJECT* project; ^~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-sg_ProjectWebSitesPopup.o `test -f 'sg_ProjectWebSitesPopup.cpp' || echo './'`sg_ProjectWebSitesPopup.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from sg_ProjectWebSitesPopup.cpp:18: /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/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from sg_ProjectWebSitesPopup.cpp:21: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from sg_ProjectWebSitesPopup.cpp:21: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from sg_ProjectWebSitesPopup.cpp:18: sg_ProjectWebSitesPopup.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::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4202:29: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_LEFT_DOWN(func) wx__DECLARE_EVT0(wxEVT_LEFT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4202:63: note: in expansion of macro 'wxMouseEventHandler' #define EVT_LEFT_DOWN(func) wx__DECLARE_EVT0(wxEVT_LEFT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_ProjectWebSitesPopup.cpp:29:5: note: in expansion of macro 'EVT_LEFT_DOWN' EVT_LEFT_DOWN(CSimpleProjectWebSitesPopupButton::OnProjectWebSitesMouseDown) ^~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_ProjectWebSitesPopup.cpp:30:2: note: in expansion of macro 'EVT_MENU' EVT_MENU(WEBSITE_URL_MENU_ID,CSimpleProjectWebSitesPopupButton::OnMenuLinkClicked) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_ProjectWebSitesPopup.cpp:31:2: note: in expansion of macro 'EVT_MENU' EVT_MENU(WEBSITE_URL_MENU_ID_REMOVE_PROJECT,CSimpleProjectWebSitesPopupButton::OnMenuLinkClicked) ^~~~~~~~ sg_ProjectWebSitesPopup.cpp: In constructor 'CSimpleProjectWebSitesPopupButton::CSimpleProjectWebSitesPopupButton(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxValidator&, const wxString&)': sg_ProjectWebSitesPopup.cpp:47:112: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) &CSimpleProjectWebSitesPopupButton::OnProjectWebSitesKeyboardNav ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from sg_ProjectWebSitesPopup.cpp:18: sg_ProjectWebSitesPopup.cpp: In member function 'void CSimpleProjectWebSitesPopupButton::AddMenuItems()': /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: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) ^~~~~~~~~~~~~~~~~~~~ sg_ProjectWebSitesPopup.cpp:73:71: note: in expansion of macro 'wxCommandEventHandler' Connect( WEBSITE_URL_MENU_ID_HOMEPAGE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(CSimpleProjectWebSitesPopupButton::OnMenuLinkClicked) ); ^~~~~~~~~~~~~~~~~~~~~ /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: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) ^~~~~~~~~~~~~~~~~~~~ sg_ProjectWebSitesPopup.cpp:80:70: note: in expansion of macro 'wxCommandEventHandler' Connect( WEBSITE_URL_MENU_ID + i, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(CSimpleProjectWebSitesPopupButton::OnMenuLinkClicked) ); ^~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-sg_TaskCommandPopup.o `test -f 'sg_TaskCommandPopup.cpp' || echo './'`sg_TaskCommandPopup.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from sg_TaskCommandPopup.cpp:19: /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/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from sg_TaskCommandPopup.cpp:22: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from sg_TaskCommandPopup.cpp:22: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from sg_TaskCommandPopup.cpp:19: sg_TaskCommandPopup.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::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4202:29: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_LEFT_DOWN(func) wx__DECLARE_EVT0(wxEVT_LEFT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4202:63: note: in expansion of macro 'wxMouseEventHandler' #define EVT_LEFT_DOWN(func) wx__DECLARE_EVT0(wxEVT_LEFT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_TaskCommandPopup.cpp:30:5: note: in expansion of macro 'EVT_LEFT_DOWN' EVT_LEFT_DOWN(CSimpleTaskPopupButton::OnTaskCommandsMouseDown) ^~~~~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_TaskCommandPopup.cpp:31:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_TASK_WORK_SHOWGRAPHICS, CSimpleTaskPopupButton::OnTaskShowGraphics) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_TaskCommandPopup.cpp:32:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_TASK_WORK_SUSPEND, CSimpleTaskPopupButton::OnTaskSuspendResume) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_TaskCommandPopup.cpp:33:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_TASK_WORK_ABORT, CSimpleTaskPopupButton::OnTaskAbort) ^~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ sg_TaskCommandPopup.cpp:34:5: note: in expansion of macro 'EVT_MENU' EVT_MENU(ID_TASK_SHOW_PROPERTIES, CSimpleTaskPopupButton::OnTaskShowProperties) ^~~~~~~~ sg_TaskCommandPopup.cpp: In constructor 'CSimpleTaskPopupButton::CSimpleTaskPopupButton(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxValidator&, const wxString&)': sg_TaskCommandPopup.cpp:52:101: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) &CSimpleTaskPopupButton::OnTaskCommandsKeyboardNav ^~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-sg_TaskPanel.o `test -f 'sg_TaskPanel.cpp' || echo './'`sg_TaskPanel.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from sg_TaskPanel.cpp:18: /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/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from sg_TaskPanel.cpp:23: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from sg_TaskPanel.cpp:23: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from sg_TaskPanel.cpp:18: sg_TaskPanel.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::*)(wxEraseEvent&)' 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:4165:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3920:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxEraseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4165:78: note: in expansion of macro 'wxEraseEventHandler' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_TaskPanel.cpp:46:5: note: in expansion of macro 'EVT_ERASE_BACKGROUND' EVT_ERASE_BACKGROUND(CScrolledTextBox::OnEraseBackground) ^~~~~~~~~~~~~~~~~~~~ sg_TaskPanel.cpp: In member function 'void CScrolledTextBox::SetValue(const wxString&)': sg_TaskPanel.cpp:74:21: warning: variable 'totalLines' set but not used [-Wunused-but-set-variable] int lineHeight, totalLines, totalWidth; ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from sg_TaskPanel.cpp:18: sg_TaskPanel.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::*)(wxEraseEvent&)' 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:4165:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3920:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxEraseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4165:78: note: in expansion of macro 'wxEraseEventHandler' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_TaskPanel.cpp:187:5: note: in expansion of macro 'EVT_ERASE_BACKGROUND' EVT_ERASE_BACKGROUND(CSlideShowPanel::OnEraseBackground) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxTimerEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:189:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxTimerEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:44: note: in expansion of macro 'wxTimerEventHandler' wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_TaskPanel.cpp:188:5: note: in expansion of macro 'EVT_TIMER' EVT_TIMER(ID_CHANGE_SLIDE_TIMER, CSlideShowPanel::OnSlideShowTimer) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxPaintEvent&)' 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:4163:26: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3916:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxPaintEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4163:56: note: in expansion of macro 'wxPaintEventHandler' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ sg_TaskPanel.cpp:189:5: note: in expansion of macro 'EVT_PAINT' EVT_PAINT(CSlideShowPanel::OnPaint) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxCommandEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4333:35: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_COMBOBOX(winid, func) wx__DECLARE_EVT1(wxEVT_COMBOBOX, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4333:75: note: in expansion of macro 'wxCommandEventHandler' #define EVT_COMBOBOX(winid, func) wx__DECLARE_EVT1(wxEVT_COMBOBOX, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ sg_TaskPanel.cpp:446:5: note: in expansion of macro 'EVT_COMBOBOX' EVT_COMBOBOX(ID_SGTASKSELECTOR, CSimpleTaskPanel::OnTaskSelection) ^~~~~~~~~~~~ sg_TaskPanel.cpp: In member function 'void CSimpleTaskPanel::FindSlideShowFiles(TaskSelectionData*)': sg_TaskPanel.cpp:905:50: warning: '/slideshow_' directive output may be truncated writing 11 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(fileName, sizeof(fileName), "%s/slideshow_%s_%02d", proj_dir, state_result->app->name, j); ^~~~~~~~~~~~~~~~~~~~~~ sg_TaskPanel.cpp:905:21: note: 'snprintf' output between 15 and 1302 bytes into a destination of size 1024 snprintf(fileName, sizeof(fileName), "%s/slideshow_%s_%02d", proj_dir, state_result->app->name, j); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_TaskPanel.cpp:917:54: warning: '/slideshow_' directive output may be truncated writing 11 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(fileName, sizeof(fileName), "%s/slideshow_%02d", proj_dir, j); ^~~~~~~~~~~~~~~~~~~ sg_TaskPanel.cpp:917:25: note: 'snprintf' output between 14 and 1046 bytes into a destination of size 1024 snprintf(fileName, sizeof(fileName), "%s/slideshow_%02d", proj_dir, j); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-SkinManager.o `test -f 'SkinManager.cpp' || echo './'`SkinManager.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from SkinManager.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from SkinManager.cpp:32: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from SkinManager.cpp:32: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-stdwx.o `test -f 'stdwx.cpp' || echo './'`stdwx.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from stdwx.cpp:18: /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/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-TermsOfUsePage.o `test -f 'TermsOfUsePage.cpp' || echo './'`TermsOfUsePage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from TermsOfUsePage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from TermsOfUsePage.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from TermsOfUsePage.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from TermsOfUsePage.cpp:22: TermsOfUsePage.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::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ TermsOfUsePage.cpp:52:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( -1, CTermsOfUsePage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:324:44: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGING(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGING, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ TermsOfUsePage.cpp:53:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGING' EVT_WIZARDEX_PAGE_CHANGING( -1, CTermsOfUsePage::OnPageChanging ) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ TermsOfUsePage.cpp:54:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( -1, CTermsOfUsePage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ /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:4329:38: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_RADIOBUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_RADIOBUTTON, 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:4329:81: note: in expansion of macro 'wxCommandEventHandler' #define EVT_RADIOBUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_RADIOBUTTON, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ TermsOfUsePage.cpp:55:5: note: in expansion of macro 'EVT_RADIOBUTTON' EVT_RADIOBUTTON( ID_TERMSOFUSEAGREECTRL, CTermsOfUsePage::OnTermsOfUseStatusChange ) ^~~~~~~~~~~~~~~ /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:4329:38: note: in expansion of macro 'wx__DECLARE_EVT1' #define EVT_RADIOBUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_RADIOBUTTON, 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:4329:81: note: in expansion of macro 'wxCommandEventHandler' #define EVT_RADIOBUTTON(winid, func) wx__DECLARE_EVT1(wxEVT_RADIOBUTTON, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ TermsOfUsePage.cpp:56:5: note: in expansion of macro 'EVT_RADIOBUTTON' EVT_RADIOBUTTON( ID_TERMSOFUSEDISAGREECTRL, CTermsOfUsePage::OnTermsOfUseStatusChange ) ^~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-UnavailablePage.o `test -f 'UnavailablePage.cpp' || echo './'`UnavailablePage.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from UnavailablePage.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from UnavailablePage.cpp:33: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from UnavailablePage.cpp:33: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from UnavailablePage.cpp:22: UnavailablePage.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::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ UnavailablePage.cpp:52:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED( -1, CErrUnavailablePage::OnPageChanged ) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ UnavailablePage.cpp:53:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL( -1, CErrUnavailablePage::OnCancel ) ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-ValidateAccountKey.o `test -f 'ValidateAccountKey.cpp' || echo './'`ValidateAccountKey.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from ValidateAccountKey.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-ValidateEmailAddress.o `test -f 'ValidateEmailAddress.cpp' || echo './'`ValidateEmailAddress.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from ValidateEmailAddress.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-ValidateURL.o `test -f 'ValidateURL.cpp' || echo './'`ValidateURL.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from ValidateURL.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-ViewNotices.o `test -f 'ViewNotices.cpp' || echo './'`ViewNotices.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from ViewNotices.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from ViewNotices.cpp:25: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from ViewNotices.cpp:25: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-ViewProjects.o `test -f 'ViewProjects.cpp' || echo './'`ViewProjects.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from ViewProjects.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from ViewProjects.cpp:26: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from ViewProjects.cpp:26: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from ViewProjects.cpp:22: ViewProjects.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)) ^~~~~~~~~~~~~~~~~~~~~ ViewProjects.cpp:101:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_PROJECT_UPDATE, CViewProjects::OnProjectUpdate) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewProjects.cpp:102:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_PROJECT_SUSPEND, CViewProjects::OnProjectSuspend) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewProjects.cpp:103:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_PROJECT_NONEWWORK, CViewProjects::OnProjectNoNewWork) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewProjects.cpp:104:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_PROJECT_RESET, CViewProjects::OnProjectReset) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewProjects.cpp:105:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_PROJECT_DETACH, CViewProjects::OnProjectDetach) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewProjects.cpp:106:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_PROJECT_SHOW_PROPERTIES, CViewProjects::OnShowItemProperties) ^~~~~~~~~~ ViewProjects.cpp:114:45: warning: cast between incompatible pointer to member types from 'void (CBOINCBaseView::*)(CCheckSelectionChangedEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_CHECK_SELECTION_CHANGED(CViewProjects::OnCheckSelectionChanged) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ BOINCListCtrl.h:164:52: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' #define EVT_CHECK_SELECTION_CHANGED(fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_CHECK_SELECTION_CHANGED, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ ViewProjects.cpp:114:2: note: in expansion of macro 'EVT_CHECK_SELECTION_CHANGED' EVT_CHECK_SELECTION_CHANGED(CViewProjects::OnCheckSelectionChanged) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:594:36: note: in expansion of macro 'wx__DECLARE_LISTEVT' #define EVT_LIST_COL_CLICK(id, fn) wx__DECLARE_LISTEVT(COL_CLICK, id, fn) ^~~~~~~~~~~~~~~~~~~ ViewProjects.cpp:116:5: note: in expansion of macro 'EVT_LIST_COL_CLICK' EVT_LIST_COL_CLICK(ID_LIST_PROJECTSVIEW, CViewProjects::OnColClick) ^~~~~~~~~~~~~~~~~~ /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:598:39: note: in expansion of macro 'wx__DECLARE_LISTEVT' #define EVT_LIST_COL_END_DRAG(id, fn) wx__DECLARE_LISTEVT(COL_END_DRAG, id, fn) ^~~~~~~~~~~~~~~~~~~ ViewProjects.cpp:117:5: note: in expansion of macro 'EVT_LIST_COL_END_DRAG' EVT_LIST_COL_END_DRAG(ID_LIST_PROJECTSVIEW, CViewProjects::OnColResize) ^~~~~~~~~~~~~~~~~~~~~ ViewProjects.cpp: In function 'bool CompareViewProjectsItems(int, int)': ViewProjects.cpp:130:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ ViewProjects.cpp:136:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ ViewProjects.cpp: In member function 'virtual wxString CViewProjects::OnListGetItemText(long int, long int) const': ViewProjects.cpp:655:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ ViewProjects.cpp: In member function 'wxInt32 CViewProjects::FormatProjectName(wxInt32, wxString&) const': ViewProjects.cpp:961:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ ViewProjects.cpp: In member function 'wxInt32 CViewProjects::FormatAccountName(wxInt32, wxString&) const': ViewProjects.cpp:996:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ ViewProjects.cpp: In member function 'wxInt32 CViewProjects::FormatTeamName(wxInt32, wxString&) const': ViewProjects.cpp:1030:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ ViewProjects.cpp: In member function 'wxInt32 CViewProjects::FormatStatus(wxInt32, wxString&) const': ViewProjects.cpp:1174:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ ViewProjects.cpp: In member function 'virtual double CViewProjects::GetProgressValue(long int)': ViewProjects.cpp:1209:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ ViewProjects.cpp: In member function 'virtual wxString CViewProjects::GetProgressText(long int)': ViewProjects.cpp:1227:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ ViewProjects.cpp: In member function 'int CViewProjects::GetProjectCacheAtIndex(CProject*&, int)': ViewProjects.cpp:1278:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-ViewResources.o `test -f 'ViewResources.cpp' || echo './'`ViewResources.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from ViewResources.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from ViewResources.cpp:25: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from ViewResources.cpp:25: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-ViewStatistics.o `test -f 'ViewStatistics.cpp' || echo './'`ViewStatistics.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from ViewStatistics.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from ViewStatistics.cpp:25: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from ViewStatistics.cpp:25: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from ViewStatistics.cpp:22: ViewStatistics.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::*)(wxPaintEvent&)' 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:4163:26: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3916:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxPaintEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4163:56: note: in expansion of macro 'wxPaintEventHandler' #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:57:2: note: in expansion of macro 'EVT_PAINT' EVT_PAINT(CPaintStatistics::OnPaint) ^~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:58:2: note: in expansion of macro 'EVT_SIZE' EVT_SIZE(CPaintStatistics::OnSize) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4202:29: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_LEFT_DOWN(func) wx__DECLARE_EVT0(wxEVT_LEFT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4202:63: note: in expansion of macro 'wxMouseEventHandler' #define EVT_LEFT_DOWN(func) wx__DECLARE_EVT0(wxEVT_LEFT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:59:2: note: in expansion of macro 'EVT_LEFT_DOWN' EVT_LEFT_DOWN(CPaintStatistics::OnLeftMouseDown) ^~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4203:27: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_LEFT_UP(func) wx__DECLARE_EVT0(wxEVT_LEFT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4203:59: note: in expansion of macro 'wxMouseEventHandler' #define EVT_LEFT_UP(func) wx__DECLARE_EVT0(wxEVT_LEFT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:60:2: note: in expansion of macro 'EVT_LEFT_UP' EVT_LEFT_UP(CPaintStatistics::OnLeftMouseUp) ^~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4206:30: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_RIGHT_DOWN(func) wx__DECLARE_EVT0(wxEVT_RIGHT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4206:65: note: in expansion of macro 'wxMouseEventHandler' #define EVT_RIGHT_DOWN(func) wx__DECLARE_EVT0(wxEVT_RIGHT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:61:2: note: in expansion of macro 'EVT_RIGHT_DOWN' EVT_RIGHT_DOWN(CPaintStatistics::OnRightMouseDown) ^~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4207:28: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_RIGHT_UP(func) wx__DECLARE_EVT0(wxEVT_RIGHT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4207:61: note: in expansion of macro 'wxMouseEventHandler' #define EVT_RIGHT_UP(func) wx__DECLARE_EVT0(wxEVT_RIGHT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:62:2: note: in expansion of macro 'EVT_RIGHT_UP' EVT_RIGHT_UP(CPaintStatistics::OnRightMouseUp) ^~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4208:26: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_MOTION(func) wx__DECLARE_EVT0(wxEVT_MOTION, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4208:57: note: in expansion of macro 'wxMouseEventHandler' #define EVT_MOTION(func) wx__DECLARE_EVT0(wxEVT_MOTION, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:63:2: note: in expansion of macro 'EVT_MOTION' EVT_MOTION(CPaintStatistics::OnMouseMotion) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxMouseEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] #define wxStaticCastEvent(type, val) static_cast(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro 'wx__DECLARE_EVT2' wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4212:32: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_LEAVE_WINDOW(func) wx__DECLARE_EVT0(wxEVT_LEAVE_WINDOW, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4212:69: note: in expansion of macro 'wxMouseEventHandler' #define EVT_LEAVE_WINDOW(func) wx__DECLARE_EVT0(wxEVT_LEAVE_WINDOW, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:64:2: note: in expansion of macro 'EVT_LEAVE_WINDOW' EVT_LEAVE_WINDOW(CPaintStatistics::OnMouseLeaveWindows) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxEraseEvent&)' 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:4165:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3920:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxEraseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4165:78: note: in expansion of macro 'wxEraseEventHandler' #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:65:2: note: in expansion of macro 'EVT_ERASE_BACKGROUND' EVT_ERASE_BACKGROUND(CPaintStatistics::OnEraseBackground) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4265:30: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_TOP(func) wx__DECLARE_EVT0(wxEVT_SCROLL_TOP, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4265:65: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_TOP(func) wx__DECLARE_EVT0(wxEVT_SCROLL_TOP, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4276:5: note: in expansion of macro 'EVT_SCROLL_TOP' EVT_SCROLL_TOP(func) \ ^~~~~~~~~~~~~~ ViewStatistics.cpp:66:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(CPaintStatistics::OnLegendScroll) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4266:33: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_BOTTOM(func) wx__DECLARE_EVT0(wxEVT_SCROLL_BOTTOM, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4266:71: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_BOTTOM(func) wx__DECLARE_EVT0(wxEVT_SCROLL_BOTTOM, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4277:5: note: in expansion of macro 'EVT_SCROLL_BOTTOM' EVT_SCROLL_BOTTOM(func) \ ^~~~~~~~~~~~~~~~~ ViewStatistics.cpp:66:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(CPaintStatistics::OnLegendScroll) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4267:33: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_LINEUP(func) wx__DECLARE_EVT0(wxEVT_SCROLL_LINEUP, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4267:71: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_LINEUP(func) wx__DECLARE_EVT0(wxEVT_SCROLL_LINEUP, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4278:5: note: in expansion of macro 'EVT_SCROLL_LINEUP' EVT_SCROLL_LINEUP(func) \ ^~~~~~~~~~~~~~~~~ ViewStatistics.cpp:66:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(CPaintStatistics::OnLegendScroll) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4268:35: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_LINEDOWN(func) wx__DECLARE_EVT0(wxEVT_SCROLL_LINEDOWN, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4268:75: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_LINEDOWN(func) wx__DECLARE_EVT0(wxEVT_SCROLL_LINEDOWN, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4279:5: note: in expansion of macro 'EVT_SCROLL_LINEDOWN' EVT_SCROLL_LINEDOWN(func) \ ^~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:66:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(CPaintStatistics::OnLegendScroll) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4269:33: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_PAGEUP(func) wx__DECLARE_EVT0(wxEVT_SCROLL_PAGEUP, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4269:71: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_PAGEUP(func) wx__DECLARE_EVT0(wxEVT_SCROLL_PAGEUP, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4280:5: note: in expansion of macro 'EVT_SCROLL_PAGEUP' EVT_SCROLL_PAGEUP(func) \ ^~~~~~~~~~~~~~~~~ ViewStatistics.cpp:66:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(CPaintStatistics::OnLegendScroll) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4270:35: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_PAGEDOWN(func) wx__DECLARE_EVT0(wxEVT_SCROLL_PAGEDOWN, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4270:75: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_PAGEDOWN(func) wx__DECLARE_EVT0(wxEVT_SCROLL_PAGEDOWN, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4281:5: note: in expansion of macro 'EVT_SCROLL_PAGEDOWN' EVT_SCROLL_PAGEDOWN(func) \ ^~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:66:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(CPaintStatistics::OnLegendScroll) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4271:37: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_THUMBTRACK(func) wx__DECLARE_EVT0(wxEVT_SCROLL_THUMBTRACK, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4271:79: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_THUMBTRACK(func) wx__DECLARE_EVT0(wxEVT_SCROLL_THUMBTRACK, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4282:5: note: in expansion of macro 'EVT_SCROLL_THUMBTRACK' EVT_SCROLL_THUMBTRACK(func) \ ^~~~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:66:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(CPaintStatistics::OnLegendScroll) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4272:39: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_THUMBRELEASE(func) wx__DECLARE_EVT0(wxEVT_SCROLL_THUMBRELEASE, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4272:83: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_THUMBRELEASE(func) wx__DECLARE_EVT0(wxEVT_SCROLL_THUMBRELEASE, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4283:5: note: in expansion of macro 'EVT_SCROLL_THUMBRELEASE' EVT_SCROLL_THUMBRELEASE(func) \ ^~~~~~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:66:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(CPaintStatistics::OnLegendScroll) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxScrollEvent&)' 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:4273:34: note: in expansion of macro 'wx__DECLARE_EVT0' #define EVT_SCROLL_CHANGED(func) wx__DECLARE_EVT0(wxEVT_SCROLL_CHANGED, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro 'wxStaticCastEvent' ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3908:5: note: in expansion of macro 'wxEVENT_HANDLER_CAST' wxEVENT_HANDLER_CAST(wxScrollEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4273:73: note: in expansion of macro 'wxScrollEventHandler' #define EVT_SCROLL_CHANGED(func) wx__DECLARE_EVT0(wxEVT_SCROLL_CHANGED, wxScrollEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4284:5: note: in expansion of macro 'EVT_SCROLL_CHANGED' EVT_SCROLL_CHANGED(func) ^~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:66:5: note: in expansion of macro 'EVT_SCROLL' EVT_SCROLL(CPaintStatistics::OnLegendScroll) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:1908:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_STATISTICS_USERTOTAL, CViewStatistics::OnStatisticsUserTotal) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:1909:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_STATISTICS_USERAVERAGE, CViewStatistics::OnStatisticsUserAverage) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:1910:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_STATISTICS_HOSTTOTAL, CViewStatistics::OnStatisticsHostTotal) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:1911:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_STATISTICS_HOSTAVERAGE, CViewStatistics::OnStatisticsHostAverage) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:1912:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_STATISTICS_MODEVIEWALLSEPARATE, CViewStatistics::OnStatisticsModeViewAllSeparate) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:1913:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_STATISTICS_MODEVIEWONEPROJECT, CViewStatistics::OnStatisticsModeViewOneProject) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:1914:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_STATISTICS_MODEVIEWALLTOGETHER, CViewStatistics::OnStatisticsModeViewAllTogether) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:1915:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_STATISTICS_MODEVIEWSUM, CViewStatistics::OnStatisticsModeViewSum) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:1916:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_STATISTICS_NEXTPROJECT, CViewStatistics::OnStatisticsNextProject) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:1917:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_STATISTICS_PREVPROJECT, CViewStatistics::OnStatisticsPrevProject) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewStatistics.cpp:1918:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_STATISTICS_HIDEPROJLIST, CViewStatistics::OnShowHideProjectList) ^~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-ViewTransfers.o `test -f 'ViewTransfers.cpp' || echo './'`ViewTransfers.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from ViewTransfers.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from ViewTransfers.cpp:25: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from ViewTransfers.cpp:25: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from ViewTransfers.cpp:22: ViewTransfers.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)) ^~~~~~~~~~~~~~~~~~~~~ ViewTransfers.cpp:87:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_TRANSFERS_RETRYNOW, CViewTransfers::OnTransfersRetryNow) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewTransfers.cpp:88:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_TRANSFERS_ABORT, CViewTransfers::OnTransfersAbort) ^~~~~~~~~~ ViewTransfers.cpp:95:46: warning: cast between incompatible pointer to member types from 'void (CBOINCBaseView::*)(CCheckSelectionChangedEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_CHECK_SELECTION_CHANGED(CViewTransfers::OnCheckSelectionChanged) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ BOINCListCtrl.h:164:52: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' #define EVT_CHECK_SELECTION_CHANGED(fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_CHECK_SELECTION_CHANGED, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ ViewTransfers.cpp:95:2: note: in expansion of macro 'EVT_CHECK_SELECTION_CHANGED' EVT_CHECK_SELECTION_CHANGED(CViewTransfers::OnCheckSelectionChanged) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:594:36: note: in expansion of macro 'wx__DECLARE_LISTEVT' #define EVT_LIST_COL_CLICK(id, fn) wx__DECLARE_LISTEVT(COL_CLICK, id, fn) ^~~~~~~~~~~~~~~~~~~ ViewTransfers.cpp:97:5: note: in expansion of macro 'EVT_LIST_COL_CLICK' EVT_LIST_COL_CLICK(ID_LIST_TRANSFERSVIEW, CViewTransfers::OnColClick) ^~~~~~~~~~~~~~~~~~ /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:598:39: note: in expansion of macro 'wx__DECLARE_LISTEVT' #define EVT_LIST_COL_END_DRAG(id, fn) wx__DECLARE_LISTEVT(COL_END_DRAG, id, fn) ^~~~~~~~~~~~~~~~~~~ ViewTransfers.cpp:98:5: note: in expansion of macro 'EVT_LIST_COL_END_DRAG' EVT_LIST_COL_END_DRAG(ID_LIST_TRANSFERSVIEW, CViewTransfers::OnColResize) ^~~~~~~~~~~~~~~~~~~~~ ViewTransfers.cpp: In function 'bool CompareViewTransferItems(int, int)': ViewTransfers.cpp:111:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ ViewTransfers.cpp:117:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ ViewTransfers.cpp: In member function 'virtual wxString CViewTransfers::OnListGetItemText(long int, long int) const': ViewTransfers.cpp:477:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ ViewTransfers.cpp: In member function 'int CViewTransfers::GetTransferCacheAtIndex(CTransfer*&, int)': ViewTransfers.cpp:935:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-ViewWork.o `test -f 'ViewWork.cpp' || echo './'`ViewWork.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from ViewWork.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from ViewWork.cpp:25: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from ViewWork.cpp:25: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from ViewWork.cpp:22: ViewWork.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)) ^~~~~~~~~~~~~~~~~~~~~ ViewWork.cpp:104:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_WORK_SUSPEND, CViewWork::OnWorkSuspend) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewWork.cpp:105:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_WORK_SHOWGRAPHICS, CViewWork::OnWorkShowGraphics) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewWork.cpp:106:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_WORK_VMCONSOLE, CViewWork::OnWorkShowVMConsole) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewWork.cpp:107:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_WORK_ABORT, CViewWork::OnWorkAbort) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewWork.cpp:108:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_SHOW_PROPERTIES, CViewWork::OnShowItemProperties) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ ViewWork.cpp:109:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(ID_TASK_ACTIVE_ONLY, CViewWork::OnActiveTasksOnly) ^~~~~~~~~~ ViewWork.cpp:117:41: warning: cast between incompatible pointer to member types from 'void (CBOINCBaseView::*)(CCheckSelectionChangedEvent&)' to 'wxEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] EVT_CHECK_SELECTION_CHANGED(CViewWork::OnCheckSelectionChanged) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ BOINCListCtrl.h:164:52: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' #define EVT_CHECK_SELECTION_CHANGED(fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_CHECK_SELECTION_CHANGED, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL), ^~~~~~~~~~~~~~~~~~~~~~~~~ ViewWork.cpp:117:2: note: in expansion of macro 'EVT_CHECK_SELECTION_CHANGED' EVT_CHECK_SELECTION_CHANGED(CViewWork::OnCheckSelectionChanged) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:594:36: note: in expansion of macro 'wx__DECLARE_LISTEVT' #define EVT_LIST_COL_CLICK(id, fn) wx__DECLARE_LISTEVT(COL_CLICK, id, fn) ^~~~~~~~~~~~~~~~~~~ ViewWork.cpp:119:5: note: in expansion of macro 'EVT_LIST_COL_CLICK' EVT_LIST_COL_CLICK(ID_LIST_WORKVIEW, CViewWork::OnColClick) ^~~~~~~~~~~~~~~~~~ /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:598:39: note: in expansion of macro 'wx__DECLARE_LISTEVT' #define EVT_LIST_COL_END_DRAG(id, fn) wx__DECLARE_LISTEVT(COL_END_DRAG, id, fn) ^~~~~~~~~~~~~~~~~~~ ViewWork.cpp:120:5: note: in expansion of macro 'EVT_LIST_COL_END_DRAG' EVT_LIST_COL_END_DRAG(ID_LIST_WORKVIEW, CViewWork::OnColResize) ^~~~~~~~~~~~~~~~~~~~~ ViewWork.cpp: In function 'bool CompareViewWorkItems(int, int)': ViewWork.cpp:133:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ ViewWork.cpp:139:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ ViewWork.cpp: In member function 'virtual wxString CViewWork::OnListGetItemText(long int, long int) const': ViewWork.cpp:715:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ ViewWork.cpp: In member function 'wxInt32 CViewWork::FormatStatus(wxInt32, wxString&) const': ViewWork.cpp:1223:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ ViewWork.cpp: In member function 'int CViewWork::GetWorkCacheAtIndex(CWork*&, int)': ViewWork.cpp:1283:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] } catch ( std::out_of_range ) { ^~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-WizardAttach.o `test -f 'WizardAttach.cpp' || echo './'`WizardAttach.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from WizardAttach.cpp:22: /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayChar::Index(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayChar::IndexForInsert(_wxArraywxBaseArrayChar, wxBaseArrayChar::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayChar::CMPFUNC' {aka 'int (*)(char*, char*)'} to 'wxBaseArrayChar::SCMPFUNC' {aka 'int (*)(char, char)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:839:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(char, wxBaseArrayChar, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayShort::Index(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayShort::IndexForInsert(_wxArraywxBaseArrayShort, wxBaseArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxBaseArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:840:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(short, wxBaseArrayShort, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayInt::Index(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayInt::IndexForInsert(_wxArraywxBaseArrayInt, wxBaseArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxBaseArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:841:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(int, wxBaseArrayInt, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayLong::Index(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayLong::IndexForInsert(_wxArraywxBaseArrayLong, wxBaseArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxBaseArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:842:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(long, wxBaseArrayLong, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArraySizeT::Index(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArraySizeT::IndexForInsert(_wxArraywxBaseArraySizeT, wxBaseArraySizeT::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArraySizeT::CMPFUNC' {aka 'int (*)(unsigned int*, unsigned int*)'} to 'wxBaseArraySizeT::SCMPFUNC' {aka 'int (*)(unsigned int, unsigned int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:843:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(size_t, wxBaseArraySizeT, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxBaseArrayDouble::Index(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxBaseArrayDouble::IndexForInsert(_wxArraywxBaseArrayDouble, wxBaseArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxBaseArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxBaseArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:663:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(_wxArray##name, name, class expmode) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:844:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_BASEARRAY' WX_DECLARE_USER_EXPORTED_BASEARRAY(double, wxBaseArrayDouble, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayShort::Index(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayShort::IndexForInsert(_wxArraywxArrayShort, wxArrayShort::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayShort::CMPFUNC' {aka 'int (*)(short int*, short int*)'} to 'wxArrayShort::SCMPFUNC' {aka 'int (*)(short int, short int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:877:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayShort, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1021:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_SHORT' WX_DEFINE_USER_EXPORTED_ARRAY_SHORT(short, wxArrayShort, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayInt::Index(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayInt::IndexForInsert(_wxArraywxArrayInt, wxArrayInt::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} to 'wxArrayInt::SCMPFUNC' {aka 'int (*)(int, int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1022:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(int, wxArrayInt, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayDouble::Index(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayDouble::IndexForInsert(_wxArraywxArrayDouble, wxArrayDouble::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayDouble::CMPFUNC' {aka 'int (*)(double*, double*)'} to 'wxArrayDouble::SCMPFUNC' {aka 'int (*)(double, double)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:905:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayDouble, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1023:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE' WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxArrayDouble, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'int wxArrayLong::Index(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h: In member function 'size_t wxArrayLong::IndexForInsert(_wxArraywxArrayLong, wxArrayLong::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLong::CMPFUNC' {aka 'int (*)(long int*, long int*)'} to 'wxArrayLong::SCMPFUNC' {aka 'int (*)(long int, long int)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:891:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayLong, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:1024:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_LONG' WX_DEFINE_USER_EXPORTED_ARRAY_LONG(long, wxArrayLong, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'int wxArrayStringBase::Index(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h: In member function 'size_t wxArrayStringBase::IndexForInsert(_wxArraywxArrayStringBase, wxArrayStringBase::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayStringBase::CMPFUNC' {aka 'int (*)(wxString*, wxString*)'} to 'wxArrayStringBase::SCMPFUNC' {aka 'int (*)(wxString, wxString)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:693:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:686:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL' WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/arrstr.h:39:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_TYPEARRAY' WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'int wxArrayLinesType::Index(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h: In member function 'size_t wxArrayLinesType::IndexForInsert(_wxArraywxArrayLinesType, wxArrayLinesType::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxArrayLinesType::CMPFUNC' {aka 'int (*)(wxTextFileType*, wxTextFileType*)'} to 'wxArrayLinesType::SCMPFUNC' {aka 'int (*)(wxTextFileType, wxTextFileType)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:884:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, wxBaseArrayInt, wxARRAY_EMPTY expmode) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/textbuf.h:43:1: note: in expansion of macro 'WX_DEFINE_USER_EXPORTED_ARRAY_INT' WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'int wxFontEncodingArray::Index(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:170:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h: In member function 'size_t wxFontEncodingArray::IndexForInsert(_wxArraywxFontEncodingArray, wxFontEncodingArray::CMPFUNC) const': /usr/include/wx-3.0/wx/dynarray.h:177:29: warning: cast between incompatible function types from 'wxFontEncodingArray::CMPFUNC' {aka 'int (*)(wxFontEncoding*, wxFontEncoding*)'} to 'wxFontEncodingArray::SCMPFUNC' {aka 'int (*)(wxFontEncoding, wxFontEncoding)'} [-Wcast-function-type] Predicate p((SCMPFUNC)fnCompare); \ ^~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:114:4: note: in expansion of macro '_WX_DECLARE_BASEARRAY_2' _WX_DECLARE_BASEARRAY_2(T, name, name##_Predicate, classexp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:339:5: note: in expansion of macro '_WX_DECLARE_BASEARRAY' _WX_DECLARE_BASEARRAY(T, name, classexp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:342:10: note: in expansion of macro '_WX_DEFINE_TYPEARRAY' _WX_DEFINE_TYPEARRAY(T, name, base, classexp) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:697:5: note: in expansion of macro '_WX_DEFINE_TYPEARRAY_PTR' _WX_DEFINE_TYPEARRAY_PTR(_wxArray##name, name, base, classdecl) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:677:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_WITH_DECL_PTR' WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:880:5: note: in expansion of macro 'WX_DEFINE_TYPEARRAY_PTR' WX_DEFINE_TYPEARRAY_PTR(T, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/encconv.h:44:1: note: in expansion of macro 'WX_DEFINE_ARRAY_INT' WX_DEFINE_ARRAY_INT(wxFontEncoding, wxFontEncodingArray); ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/cc_config.h:31, from ../lib/gui_rpc_client.h:38, from MainDocument.h:27, from WizardAttach.cpp:34: ../lib/coproc.h: In member function 'void COPROC::clear()': ../lib/coproc.h:222:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct PCI_INFO'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&pci_info, 0, sizeof(pci_info)); ^ ../lib/coproc.h:125:8: note: 'struct PCI_INFO' declared here struct PCI_INFO { ^~~~~~~~ In file included from ../lib/gui_rpc_client.h:45, from MainDocument.h:27, from WizardAttach.cpp:34: ../lib/prefs.h: In member function 'void WEEK_PREFS::clear()': ../lib/prefs.h:108:43: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct WEEK_PREFS'; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(WEEK_PREFS)); ^ ../lib/prefs.h:104:8: note: 'struct WEEK_PREFS' declared here struct WEEK_PREFS { ^~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from WizardAttach.cpp:22: WizardAttach.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::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:331:39: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_FINISHED(id, fn) wx__DECLARE_WIZARDEXEVT(FINISHED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ WizardAttach.cpp:70:5: note: in expansion of macro 'EVT_WIZARDEX_FINISHED' EVT_WIZARDEX_FINISHED( ID_ATTACHWIZARD, CWizardAttach::OnFinished ) ^~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -c -o boincmgr-wizardex.o `test -f 'wizardex.cpp' || echo './'`wizardex.cpp In file included from /usr/include/wx-3.0/wx/wx.h:16, from stdwx.h:49, from wizardex.cpp:16: /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/selstore.h: In member function 'int wxSelectedIndices::Index(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:545:42: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Index(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::IndexForInsert(_wxArraywxSelectedIndices) const': /usr/include/wx-3.0/wx/dynarray.h:548:51: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::IndexForInsert(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h: In member function 'size_t wxSelectedIndices::Add(_wxArraywxSelectedIndices)': /usr/include/wx-3.0/wx/dynarray.h:554:40: warning: cast between incompatible function types from 'SCMPFUNCwxSelectedIndices' {aka 'int (*)(unsigned int, unsigned int)'} to 'wxBaseArrayInt::CMPFUNC' {aka 'int (*)(int*, int*)'} [-Wcast-function-type] { return base::Add(lItem, (CMPFUNC)m_fnCompare); } \ ^~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:768:5: note: in expansion of macro '_WX_DEFINE_SORTED_TYPEARRAY_2' _WX_DEFINE_SORTED_TYPEARRAY_2(_wxArray##name, name, base, = cmpfunc, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:761:5: note: in expansion of macro 'WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dynarray.h:990:5: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP' WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, wxBaseArrayInt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/selstore.h:25:1: note: in expansion of macro 'WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT' WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_INT(unsigned, wxUIntCmp, wxSelectedIndices); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from stdwx.h:49, from wizardex.cpp:16: wizardex.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)) ^~~~~~~~~~~~~~~~~~~~~ wizardex.cpp:227:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(wxID_CANCEL, wxWizardEx::OnCancel) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ wizardex.cpp:228:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(wxID_BACKWARD, wxWizardEx::OnBackOrNext) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ wizardex.cpp:229:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(wxID_FORWARD, wxWizardEx::OnBackOrNext) ^~~~~~~~~~ /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)) ^~~~~~~~~~~~~~~~~~~~~ wizardex.cpp:230:5: note: in expansion of macro 'EVT_BUTTON' EVT_BUTTON(wxID_HELP, wxWizardEx::OnHelp) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:320:43: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGED(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ wizardex.cpp:232:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGED' EVT_WIZARDEX_PAGE_CHANGED(wxID_ANY, wxWizardEx::OnWizEvent) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:324:44: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_PAGE_CHANGING(id, fn) wx__DECLARE_WIZARDEXEVT(PAGE_CHANGING, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ wizardex.cpp:233:5: note: in expansion of macro 'EVT_WIZARDEX_PAGE_CHANGING' EVT_WIZARDEX_PAGE_CHANGING(wxID_ANY, wxWizardEx::OnWizEvent) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:328:37: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_CANCEL(id, fn) wx__DECLARE_WIZARDEXEVT(CANCEL, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ wizardex.cpp:234:5: note: in expansion of macro 'EVT_WIZARDEX_CANCEL' EVT_WIZARDEX_CANCEL(wxID_ANY, wxWizardEx::OnWizEvent) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:331:39: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_FINISHED(id, fn) wx__DECLARE_WIZARDEXEVT(FINISHED, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ wizardex.cpp:235:5: note: in expansion of macro 'EVT_WIZARDEX_FINISHED' EVT_WIZARDEX_FINISHED(wxID_ANY, wxWizardEx::OnWizEvent) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(wxWizardExEvent&)' 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) ^~~~~~~~~~~~~~~~ wizardex.h:317:5: note: in expansion of macro 'wx__DECLARE_EVT1' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~ wizardex.h:314:45: note: in expansion of macro 'wxStaticCastEvent' (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardExEventFunction, &func) ^~~~~~~~~~~~~~~~~ wizardex.h:317:50: note: in expansion of macro 'wxWizardExEventHandler' wx__DECLARE_EVT1(wxEVT_WIZARDEX_ ## evt, id, wxWizardExEventHandler(fn)) ^~~~~~~~~~~~~~~~~~~~~~ wizardex.h:334:35: note: in expansion of macro 'wx__DECLARE_WIZARDEXEVT' #define EVT_WIZARDEX_HELP(id, fn) wx__DECLARE_WIZARDEXEVT(HELP, id, fn) ^~~~~~~~~~~~~~~~~~~~~~~ wizardex.cpp:236:5: note: in expansion of macro 'EVT_WIZARDEX_HELP' EVT_WIZARDEX_HELP(wxID_ANY, wxWizardEx::OnWizEvent) ^~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -static -o boincmgr boincmgr-AccountInfoPage.o boincmgr-AccountManagerInfoPage.o boincmgr-AccountManagerProcessingPage.o boincmgr-AccountManagerPropertiesPage.o boincmgr-AdvancedFrame.o boincmgr-AlreadyExistsPage.o boincmgr-AsyncRPC.o boincmgr-BOINCBaseFrame.o boincmgr-BOINCBaseView.o boincmgr-BOINCBaseWizard.o boincmgr-BOINCClientManager.o boincmgr-BOINCDialupManager.o boincmgr-BOINCGUIApp.o boincmgr-BOINCListCtrl.o boincmgr-BOINCTaskBar.o boincmgr-BOINCTaskCtrl.o boincmgr-browser.o boincmgr-wxPieCtrl.o boincmgr-CompletionErrorPage.o boincmgr-CompletionPage.o boincmgr-DlgAbout.o boincmgr-DlgAdvPreferences.o boincmgr-DlgAdvPreferencesBase.o boincmgr-DlgDiagnosticLogFlags.o boincmgr-DlgEventLog.o boincmgr-DlgEventLogListCtrl.o boincmgr-DlgExclusiveApps.o boincmgr-DlgExitMessage.o boincmgr-DlgGenericMessage.o boincmgr-DlgHiddenColumns.o boincmgr-DlgItemProperties.o boincmgr-DlgOptions.o boincmgr-DlgSelectComputer.o boincmgr-taskbarex.o boincmgr-LogBOINC.o boincmgr-MainDocument.o boincmgr-NoInternetConnectionPage.o boincmgr-NotDetectedPage.o boincmgr-NotFoundPage.o boincmgr-NoticeListCtrl.o boincmgr-ProjectInfoPage.o boincmgr-ProjectProcessingPage.o boincmgr-ProjectPropertiesPage.o boincmgr-ProjectWelcomePage.o boincmgr-ProxyInfoPage.o boincmgr-ProxyPage.o boincmgr-sg_BoincSimpleFrame.o boincmgr-sg_CustomControls.o boincmgr-sg_DlgMessages.o boincmgr-sg_DlgPreferences.o boincmgr-sg_PanelBase.o boincmgr-sg_ProjectCommandPopup.o boincmgr-sg_ProjectPanel.o boincmgr-sg_ProjectWebSitesPopup.o boincmgr-sg_TaskCommandPopup.o boincmgr-sg_TaskPanel.o boincmgr-SkinManager.o boincmgr-stdwx.o boincmgr-TermsOfUsePage.o boincmgr-UnavailablePage.o boincmgr-ValidateAccountKey.o boincmgr-ValidateEmailAddress.o boincmgr-ValidateURL.o boincmgr-ViewNotices.o boincmgr-ViewProjects.o boincmgr-ViewResources.o boincmgr-ViewStatistics.o boincmgr-ViewTransfers.o boincmgr-ViewWork.o boincmgr-WizardAttach.o boincmgr-wizardex.o ../lib/libboinc.la -lsqlite3 -lnotify -pthread -lwx_gtk3u_xrc-3.0 -lwx_gtk3u_webview-3.0 -lwx_gtk3u_html-3.0 -lwx_gtk3u_qa-3.0 -lwx_gtk3u_adv-3.0 -lwx_gtk3u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -lsqlite3 -lcurl -L/usr -L/usr/lib -lssl -lcrypto -L/usr -L/usr/lib -lssl -lcrypto -ldl -lfreetype -lz -lresolv -lpthread -lm -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 libtool: link: i586-alt-linux-g++ -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=gnu++11 -Wall -o boincmgr boincmgr-AccountInfoPage.o boincmgr-AccountManagerInfoPage.o boincmgr-AccountManagerProcessingPage.o boincmgr-AccountManagerPropertiesPage.o boincmgr-AdvancedFrame.o boincmgr-AlreadyExistsPage.o boincmgr-AsyncRPC.o boincmgr-BOINCBaseFrame.o boincmgr-BOINCBaseView.o boincmgr-BOINCBaseWizard.o boincmgr-BOINCClientManager.o boincmgr-BOINCDialupManager.o boincmgr-BOINCGUIApp.o boincmgr-BOINCListCtrl.o boincmgr-BOINCTaskBar.o boincmgr-BOINCTaskCtrl.o boincmgr-browser.o boincmgr-wxPieCtrl.o boincmgr-CompletionErrorPage.o boincmgr-CompletionPage.o boincmgr-DlgAbout.o boincmgr-DlgAdvPreferences.o boincmgr-DlgAdvPreferencesBase.o boincmgr-DlgDiagnosticLogFlags.o boincmgr-DlgEventLog.o boincmgr-DlgEventLogListCtrl.o boincmgr-DlgExclusiveApps.o boincmgr-DlgExitMessage.o boincmgr-DlgGenericMessage.o boincmgr-DlgHiddenColumns.o boincmgr-DlgItemProperties.o boincmgr-DlgOptions.o boincmgr-DlgSelectComputer.o boincmgr-taskbarex.o boincmgr-LogBOINC.o boincmgr-MainDocument.o boincmgr-NoInternetConnectionPage.o boincmgr-NotDetectedPage.o boincmgr-NotFoundPage.o boincmgr-NoticeListCtrl.o boincmgr-ProjectInfoPage.o boincmgr-ProjectProcessingPage.o boincmgr-ProjectPropertiesPage.o boincmgr-ProjectWelcomePage.o boincmgr-ProxyInfoPage.o boincmgr-ProxyPage.o boincmgr-sg_BoincSimpleFrame.o boincmgr-sg_CustomControls.o boincmgr-sg_DlgMessages.o boincmgr-sg_DlgPreferences.o boincmgr-sg_PanelBase.o boincmgr-sg_ProjectCommandPopup.o boincmgr-sg_ProjectPanel.o boincmgr-sg_ProjectWebSitesPopup.o boincmgr-sg_TaskCommandPopup.o boincmgr-sg_TaskPanel.o boincmgr-SkinManager.o boincmgr-stdwx.o boincmgr-TermsOfUsePage.o boincmgr-UnavailablePage.o boincmgr-ValidateAccountKey.o boincmgr-ValidateEmailAddress.o boincmgr-ValidateURL.o boincmgr-ViewNotices.o boincmgr-ViewProjects.o boincmgr-ViewResources.o boincmgr-ViewStatistics.o boincmgr-ViewTransfers.o boincmgr-ViewWork.o boincmgr-WizardAttach.o boincmgr-wizardex.o -pthread ../lib/.libs/libboinc.a -lnotify -lwx_gtk3u_xrc-3.0 -lwx_gtk3u_webview-3.0 -lwx_gtk3u_html-3.0 -lwx_gtk3u_qa-3.0 -lwx_gtk3u_adv-3.0 -lwx_gtk3u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -lsqlite3 -lcurl -L/usr -L/usr/lib -lssl -lcrypto -ldl -lfreetype -lz -lresolv -lpthread -lm -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -pthread make[3]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/clientgui' make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/clientgui' Making all in locale make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/locale' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/locale' Making all in doc make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/doc' make[3]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/doc' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/doc' make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/doc' make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4' cd . && sh generate_svn_version.sh make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4' make[1]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4' make: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4' + pushd doc/manpages ~/RPM/BUILD/boinc-7.8.4/doc/manpages ~/RPM/BUILD/boinc-7.8.4 + make DOCBOOK2X_MAN=db2x_docbook2man make: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/doc/manpages' db2x_docbook2man boinc.xml db2x_docbook2man boinccmd.xml db2x_docbook2man boincmgr.xml make: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/doc/manpages' + popd ~/RPM/BUILD/boinc-7.8.4 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.26770 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/boinc-buildroot + : + /bin/rm -rf -- /usr/src/tmp/boinc-buildroot + cd boinc-7.8.4 + make DESTDIR=/usr/src/tmp/boinc-buildroot prefix=/usr exec_prefix=/usr bindir=/usr/bin sbindir=/usr/sbin sysconfdir=/etc initrddir=/etc/rc.d/init.d datadir=/usr/share includedir=/usr/include libdir=/usr/lib libexecdir=/usr/lib localstatedir=/var/lib sharedstatedir=/var/lib mandir=/usr/share/man infodir=/usr/share/info scheddir=/usr/lib/boinc-server/sched serverbindir=/usr/lib/boinc-server/bin cgidir=/usr/lib/boinc-server/cgi-bin python_sitelibdir=/usr/lib/python2.7/site-packages install make: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4' cd . && sh generate_svn_version.sh make install-recursive make[1]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4' Making install in m4 make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/m4' make[3]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/m4' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/m4' make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/m4' Making install in api make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/api' rm -f libboinc_api.a /bin/ln .libs/libboinc_api.a . rm -f libboinc_graphics2.a /bin/ln .libs/libboinc_graphics2.a . rm -f libboinc_opencl.a /bin/ln .libs/libboinc_opencl.a . make[3]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/api' /bin/mkdir -p '/usr/src/tmp/boinc-buildroot/usr/lib' /bin/sh ../libtool --mode=install /bin/install -c libboinc_api.la libboinc_graphics2.la libboinc_opencl.la '/usr/src/tmp/boinc-buildroot/usr/lib' libtool: install: /bin/install -c .libs/libboinc_api.so.7.8.4 /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_api.so.7.8.4 libtool: install: (cd /usr/src/tmp/boinc-buildroot/usr/lib && { ln -s -f libboinc_api.so.7.8.4 libboinc_api.so.7 || { rm -f libboinc_api.so.7 && ln -s libboinc_api.so.7.8.4 libboinc_api.so.7; }; }) libtool: install: (cd /usr/src/tmp/boinc-buildroot/usr/lib && { ln -s -f libboinc_api.so.7.8.4 libboinc_api.so || { rm -f libboinc_api.so && ln -s libboinc_api.so.7.8.4 libboinc_api.so; }; }) libtool: install: /bin/install -c .libs/libboinc_api.lai /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_api.la libtool: install: warning: relinking `libboinc_graphics2.la' libtool: install: (cd /usr/src/RPM/BUILD/boinc-7.8.4/api; /bin/sh /usr/src/RPM/BUILD/boinc-7.8.4/libtool --tag CXX --mode=relink i586-alt-linux-g++ -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -pthread -std=gnu++11 -Wall -version-number 7:8:4 -ljpeg -o libboinc_graphics2.la -rpath /usr/lib libboinc_graphics2_la-gutil.lo libboinc_graphics2_la-gutil_text.lo libboinc_graphics2_la-reduce_lib.lo libboinc_graphics2_la-graphics2.lo libboinc_graphics2_la-static_graphics.lo libboinc_graphics2_la-graphics2_unix.lo -L/usr/lib -lGL -lm -L/usr/lib -lGLU -L/usr/lib -lGL -lm -L/usr/lib -lglut -lSM -lICE -lXmu -lXi -L/usr/lib -lGLU -L/usr/lib -lGL -lm ../lib/libboinc.la -lboinc_api -inst-prefix-dir /usr/src/tmp/boinc-buildroot) libtool: relink: i586-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i586-alt-linux/8/../../../crti.o /usr/lib/gcc/i586-alt-linux/8/crtbeginS.o .libs/libboinc_graphics2_la-gutil.o .libs/libboinc_graphics2_la-gutil_text.o .libs/libboinc_graphics2_la-reduce_lib.o .libs/libboinc_graphics2_la-graphics2.o .libs/libboinc_graphics2_la-static_graphics.o .libs/libboinc_graphics2_la-graphics2_unix.o -ljpeg -L/usr/lib -lglut -lSM -lICE -lXmu -lXi -lGLU -lGL ../lib/.libs/libboinc.a -L/usr/src/tmp/boinc-buildroot/usr/lib -lboinc_api -L/usr/lib/gcc/i586-alt-linux/8 -L/usr/lib/gcc/i586-alt-linux/8/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/8/crtendS.o /usr/lib/gcc/i586-alt-linux/8/../../../crtn.o -pthread -pthread -Wl,-soname -Wl,libboinc_graphics2.so.7 -o .libs/libboinc_graphics2.so.7.8.4 libtool: install: /bin/install -c .libs/libboinc_graphics2.so.7.8.4T /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_graphics2.so.7.8.4 libtool: install: (cd /usr/src/tmp/boinc-buildroot/usr/lib && { ln -s -f libboinc_graphics2.so.7.8.4 libboinc_graphics2.so.7 || { rm -f libboinc_graphics2.so.7 && ln -s libboinc_graphics2.so.7.8.4 libboinc_graphics2.so.7; }; }) libtool: install: (cd /usr/src/tmp/boinc-buildroot/usr/lib && { ln -s -f libboinc_graphics2.so.7.8.4 libboinc_graphics2.so || { rm -f libboinc_graphics2.so && ln -s libboinc_graphics2.so.7.8.4 libboinc_graphics2.so; }; }) libtool: install: /bin/install -c .libs/libboinc_graphics2.lai /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_graphics2.la libtool: install: /bin/install -c .libs/libboinc_opencl.so.7.8.4 /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_opencl.so.7.8.4 libtool: install: (cd /usr/src/tmp/boinc-buildroot/usr/lib && { ln -s -f libboinc_opencl.so.7.8.4 libboinc_opencl.so.7 || { rm -f libboinc_opencl.so.7 && ln -s libboinc_opencl.so.7.8.4 libboinc_opencl.so.7; }; }) libtool: install: (cd /usr/src/tmp/boinc-buildroot/usr/lib && { ln -s -f libboinc_opencl.so.7.8.4 libboinc_opencl.so || { rm -f libboinc_opencl.so && ln -s libboinc_opencl.so.7.8.4 libboinc_opencl.so; }; }) libtool: install: /bin/install -c .libs/libboinc_opencl.lai /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_opencl.la libtool: install: /bin/install -c .libs/libboinc_api.a /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_api.a libtool: install: chmod 644 /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_api.a libtool: install: ranlib /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_api.a libtool: install: /bin/install -c .libs/libboinc_graphics2.a /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_graphics2.a libtool: install: chmod 644 /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_graphics2.a libtool: install: ranlib /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_graphics2.a libtool: install: /bin/install -c .libs/libboinc_opencl.a /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_opencl.a libtool: install: chmod 644 /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_opencl.a libtool: install: ranlib /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_opencl.a libtool: install: warning: remember to run `libtool --finish /usr/lib' /bin/mkdir -p '/usr/src/tmp/boinc-buildroot/usr/include/boinc' /bin/install -c -m 644 boinc_api.h boinc_opencl.h graphics2.h gutil.h '/usr/src/tmp/boinc-buildroot/usr/include/boinc' make[3]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/api' make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/api' Making install in lib make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/lib' rm -f libboinc.a /bin/ln .libs/libboinc.a . rm -f libboinc_crypt.a /bin/ln .libs/libboinc_crypt.a . make[3]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/lib' /bin/mkdir -p '/usr/src/tmp/boinc-buildroot/usr/lib' /bin/sh ../libtool --mode=install /bin/install -c libboinc.la libboinc_crypt.la '/usr/src/tmp/boinc-buildroot/usr/lib' libtool: install: /bin/install -c .libs/libboinc.lai /usr/src/tmp/boinc-buildroot/usr/lib/libboinc.la libtool: install: /bin/install -c .libs/libboinc_crypt.lai /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_crypt.la libtool: install: /bin/install -c .libs/libboinc.a /usr/src/tmp/boinc-buildroot/usr/lib/libboinc.a libtool: install: chmod 644 /usr/src/tmp/boinc-buildroot/usr/lib/libboinc.a libtool: install: ranlib /usr/src/tmp/boinc-buildroot/usr/lib/libboinc.a libtool: install: /bin/install -c .libs/libboinc_crypt.a /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_crypt.a libtool: install: chmod 644 /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_crypt.a libtool: install: ranlib /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_crypt.a libtool: install: warning: remember to run `libtool --finish /usr/lib' /bin/mkdir -p '/usr/src/tmp/boinc-buildroot/usr/include/boinc' /bin/install -c -m 644 app_ipc.h average.h base64.h boinc_fcgi.h cal_boinc.h cc_config.h cert_sig.h cl_boinc.h common_defs.h coproc.h crypt.h diagnostics.h error_numbers.h filesys.h gui_rpc_client.h hostinfo.h md5.h md5_file.h mem_usage.h mfile.h miofile.h msg_log.h network.h notice.h opencl_boinc.h parse.h prefs.h procinfo.h proxy_info.h sched_msgs.h stackwalker_imports.h str_util.h url.h util.h '/usr/src/tmp/boinc-buildroot/usr/include/boinc' make[3]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/lib' make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/lib' Making install in client make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/client' make[3]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/client' /bin/mkdir -p '/usr/src/tmp/boinc-buildroot/usr/bin' /bin/sh ../libtool --mode=install /bin/install -c boinc_client boinccmd switcher '/usr/src/tmp/boinc-buildroot/usr/bin' libtool: install: /bin/install -c boinc_client /usr/src/tmp/boinc-buildroot/usr/bin/boinc_client libtool: install: /bin/install -c boinccmd /usr/src/tmp/boinc-buildroot/usr/bin/boinccmd libtool: install: /bin/install -c switcher /usr/src/tmp/boinc-buildroot/usr/bin/switcher make install-exec-hook make[4]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/client' rm -f /usr/src/tmp/boinc-buildroot/usr/bin/boinc /bin/ln /usr/src/tmp/boinc-buildroot/usr/bin/boinc_client /usr/src/tmp/boinc-buildroot/usr/bin/boinc make[4]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/client' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/client' make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/client' Making install in client/scripts make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/client/scripts' make[3]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/client/scripts' make install-exec-hook make[4]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/client/scripts' chmod +x boinc-client /bin/install -c -d /usr/src/tmp/boinc-buildroot/etc/rc.d/init.d /bin/install -c -b boinc-client /usr/src/tmp/boinc-buildroot/etc/rc.d/init.d/boinc-client if [ -d /etc/sysconfig ] ; then \ /bin/install -c -d /usr/src/tmp/boinc-buildroot/etc/sysconfig ; \ /bin/install -c ./boinc-client.conf /usr/src/tmp/boinc-buildroot/etc/sysconfig/boinc-client ; \ elif [ -d /etc/default ] ; then \ /bin/install -c -d /usr/src/tmp/boinc-buildroot/etc/default ; \ /bin/install -c ./boinc-client.conf /usr/src/tmp/boinc-buildroot/etc/default/boinc-client ; \ else \ /bin/install -c -d /usr/src/tmp/boinc-buildroot/etc ; \ /bin/install -c ./boinc-client.conf /usr/src/tmp/boinc-buildroot/etc/boinc-client.conf ; \ fi make[4]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/client/scripts' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/client/scripts' make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/client/scripts' Making install in clientgui make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/clientgui' Making install in res make[3]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/clientgui/res' make[4]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/clientgui/res' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/boinc-buildroot/usr/share/boinc' /bin/install -c -m 644 boincmgr.16x16.png boincmgr.32x32.png boincmgr.48x48.png '/usr/src/tmp/boinc-buildroot/usr/share/boinc' make[4]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/clientgui/res' make[3]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/clientgui/res' make[3]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/clientgui' make[4]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/clientgui' /bin/mkdir -p '/usr/src/tmp/boinc-buildroot/usr/bin' /bin/sh ../libtool --mode=install /bin/install -c boincmgr '/usr/src/tmp/boinc-buildroot/usr/bin' libtool: install: /bin/install -c boincmgr /usr/src/tmp/boinc-buildroot/usr/bin/boincmgr make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/clientgui' make[3]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/clientgui' make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/clientgui' Making install in locale make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/locale' make[3]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/locale' make[3]: Nothing to be done for 'install-exec-am'. make install-data-hook make[4]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/locale' mydir=/usr/src/tmp/boinc-buildroot/usr/share/locale ;\ for ldir in ar be bg ca cs da de el es fa fa_IR fi fr gl he hr hu it_IT ja ka ko lt lv ms nb nl nn pl pt_BR pt_PT ro ru sk sl sv tr uk zh_CN zh_TW ; do \ /bin/install -c -d -m 0755 $mydir/$ldir/LC_MESSAGES ; \ if [ -f $ldir/BOINC-Manager.mo ] ; then \ /bin/install -c -m 644 $ldir/BOINC-Manager.mo $mydir/$ldir/LC_MESSAGES/BOINC-Manager.mo ; \ fi ;\ if [ -f $ldir/BOINC-Client.mo ] ; then \ /bin/install -c -m 644 $ldir/BOINC-Client.mo $mydir/$ldir/LC_MESSAGES/BOINC-Client.mo ; \ fi ;\ done make[4]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/locale' make[3]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/locale' make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/locale' Making install in doc make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/doc' make[3]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/doc' make[4]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/doc' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/doc' make[3]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/doc' make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/doc' make[2]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4' cd . && sh generate_svn_version.sh make[3]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4' make[3]: Nothing to be done for 'install-exec-am'. cd . && sh generate_svn_version.sh /bin/mkdir -p '/usr/src/tmp/boinc-buildroot/usr/include/boinc' /bin/install -c -m 644 version.h svn_version.h '/usr/src/tmp/boinc-buildroot/usr/include/boinc' make[3]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4' make[2]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4' make[1]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4' make: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4' + install -D -m0644 ../boinc-conffiles-7.8.4/bash/boinc /usr/src/tmp/boinc-buildroot/etc/bash_completion.d/boinc + install -D -m 0644 ../boinc-conffiles-7.8.4/remote_hosts.cfg /usr/src/tmp/boinc-buildroot/var/lib/boinc/remote_hosts.cfg + install -m0644 -D clientgui/res/boincmgr.16x16.png /usr/src/tmp/boinc-buildroot/usr/share/icons/hicolor/16x16/apps/boincmgr.png + install -m0644 -D clientgui/res/boincmgr.32x32.png /usr/src/tmp/boinc-buildroot/usr/share/icons/hicolor/32x32/apps/boincmgr.png + install -m0644 -D clientgui/res/boincmgr.48x48.png /usr/src/tmp/boinc-buildroot/usr/share/icons/hicolor/48x48/apps/boincmgr.png + install -D -m 0644 ../boinc-conffiles-7.8.4/boinc-manager.desktop /usr/src/tmp/boinc-buildroot/usr/share/applications/boinc-manager.desktop + ln -s boinc_client /usr/src/tmp/boinc-buildroot/usr/bin/boinc-client + rm -f /usr/src/tmp/boinc-buildroot/usr/bin/boinc + ln -s boinc_client /usr/src/tmp/boinc-buildroot/usr/bin/boinc + mv /usr/src/tmp/boinc-buildroot/usr/bin/switcher /usr/src/tmp/boinc-buildroot/usr/bin/boinc_switcher + ln -s boinc_switcher /usr/src/tmp/boinc-buildroot/usr/bin/boinc-switcher + mkdir -p -m 0750 /usr/src/tmp/boinc-buildroot/var/lib/boinc + install -D -m 0644 COPYING /usr/src/tmp/boinc-buildroot/usr/share/doc/boinc-7.8.4/COPYING + install -D -m 0644 COPYING.LESSER /usr/src/tmp/boinc-buildroot/usr/share/doc/boinc-7.8.4/COPYING.LESSER + install -D -m 0644 COPYRIGHT /usr/src/tmp/boinc-buildroot/usr/share/doc/boinc-7.8.4/COPYRIGHT + install -D -m 0644 README.ALT /usr/src/tmp/boinc-buildroot/usr/share/doc/boinc-7.8.4/README.ALT + pushd doc/manpages ~/RPM/BUILD/boinc-7.8.4/doc/manpages ~/RPM/BUILD/boinc-7.8.4 + /usr/bin/make 'INSTALL=/bin/install -p' prefix=/usr/src/tmp/boinc-buildroot/usr exec_prefix=/usr/src/tmp/boinc-buildroot/usr bindir=/usr/src/tmp/boinc-buildroot/usr/bin sbindir=/usr/src/tmp/boinc-buildroot/usr/sbin sysconfdir=/usr/src/tmp/boinc-buildroot/etc datadir=/usr/src/tmp/boinc-buildroot/usr/share includedir=/usr/src/tmp/boinc-buildroot/usr/include libdir=/usr/src/tmp/boinc-buildroot/usr/lib libexecdir=/usr/src/tmp/boinc-buildroot/usr/lib localstatedir=/usr/src/tmp/boinc-buildroot/var/lib sharedstatedir=/usr/src/tmp/boinc-buildroot/var/lib mandir=/usr/src/tmp/boinc-buildroot/usr/share/man infodir=/usr/src/tmp/boinc-buildroot/usr/share/info install make: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/doc/manpages' make[1]: Entering directory '/usr/src/RPM/BUILD/boinc-7.8.4/doc/manpages' make[1]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/boinc-buildroot/usr/share/man/man1' /bin/install -p -m 644 boinc.1 boinccmd.1 boincmgr.1 '/usr/src/tmp/boinc-buildroot/usr/share/man/man1' /bin/mkdir -p '/usr/src/tmp/boinc-buildroot/usr/share/man/man8' make[1]: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/doc/manpages' make: Leaving directory '/usr/src/RPM/BUILD/boinc-7.8.4/doc/manpages' + ln -s boinc.1 /usr/src/tmp/boinc-buildroot/usr/share/man/man1/boinc-client.1 + popd ~/RPM/BUILD/boinc-7.8.4 + pushd clientgui/skins ~/RPM/BUILD/boinc-7.8.4/clientgui/skins ~/RPM/BUILD/boinc-7.8.4 + mkdir -p -m0755 /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins + find + read f + '[' -d . ']' + mkdir -p -m0755 /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/. + read f + '[' -d './World Community Grid' ']' + mkdir -p -m0755 '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/World Community Grid' + read f + '[' -d './World Community Grid/wcg_stop.png' ']' + case "$f" in + install -D -m0644 './World Community Grid/wcg_stop.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/World Community Grid/wcg_stop.png' + read f + '[' -d './World Community Grid/wcg_play.png' ']' + case "$f" in + install -D -m0644 './World Community Grid/wcg_play.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/World Community Grid/wcg_play.png' + read f + '[' -d './World Community Grid/wcg_pause.png' ']' + case "$f" in + install -D -m0644 './World Community Grid/wcg_pause.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/World Community Grid/wcg_pause.png' + read f + '[' -d './World Community Grid/wcg_32.png' ']' + case "$f" in + install -D -m0644 './World Community Grid/wcg_32.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/World Community Grid/wcg_32.png' + read f + '[' -d './World Community Grid/skin.xml' ']' + case "$f" in + install -D -m0644 './World Community Grid/skin.xml' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/World Community Grid/skin.xml' + read f + '[' -d './World Community Grid/background_image.png' ']' + case "$f" in + install -D -m0644 './World Community Grid/background_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/World Community Grid/background_image.png' + read f + '[' -d './World Community Grid/Yellow_dot.png' ']' + case "$f" in + install -D -m0644 './World Community Grid/Yellow_dot.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/World Community Grid/Yellow_dot.png' + read f + '[' -d './World Community Grid/Red_dot.png' ']' + case "$f" in + install -D -m0644 './World Community Grid/Red_dot.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/World Community Grid/Red_dot.png' + read f + '[' -d './World Community Grid/Green_dot.png' ']' + case "$f" in + install -D -m0644 './World Community Grid/Green_dot.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/World Community Grid/Green_dot.png' + read f + '[' -d ./ProgressThruProcessors ']' + mkdir -p -m0755 /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/ProgressThruProcessors + read f + '[' -d ./ProgressThruProcessors/workunit_waiting_image.png ']' + case "$f" in + install -D -m0644 ./ProgressThruProcessors/workunit_waiting_image.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/ProgressThruProcessors/workunit_waiting_image.png + read f + '[' -d ./ProgressThruProcessors/workunit_suspended_image.png ']' + case "$f" in + install -D -m0644 ./ProgressThruProcessors/workunit_suspended_image.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/ProgressThruProcessors/workunit_suspended_image.png + read f + '[' -d ./ProgressThruProcessors/workunit_running_image.png ']' + case "$f" in + install -D -m0644 ./ProgressThruProcessors/workunit_running_image.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/ProgressThruProcessors/workunit_running_image.png + read f + '[' -d ./ProgressThruProcessors/skin.xml ']' + case "$f" in + install -D -m0644 ./ProgressThruProcessors/skin.xml /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/ProgressThruProcessors/skin.xml + read f + '[' -d ./ProgressThruProcessors/ptp_stop.png ']' + case "$f" in + install -D -m0644 ./ProgressThruProcessors/ptp_stop.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/ProgressThruProcessors/ptp_stop.png + read f + '[' -d ./ProgressThruProcessors/ptp_play.png ']' + case "$f" in + install -D -m0644 ./ProgressThruProcessors/ptp_play.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/ProgressThruProcessors/ptp_play.png + read f + '[' -d ./ProgressThruProcessors/ptp_pause.png ']' + case "$f" in + install -D -m0644 ./ProgressThruProcessors/ptp_pause.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/ProgressThruProcessors/ptp_pause.png + read f + '[' -d ./ProgressThruProcessors/ptp_icon_play.png ']' + case "$f" in + install -D -m0644 ./ProgressThruProcessors/ptp_icon_play.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/ProgressThruProcessors/ptp_icon_play.png + read f + '[' -d ./ProgressThruProcessors/ptp_about.ico ']' + case "$f" in + read f + '[' -d ./ProgressThruProcessors/project_image.png ']' + case "$f" in + install -D -m0644 ./ProgressThruProcessors/project_image.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/ProgressThruProcessors/project_image.png + read f + '[' -d ./ProgressThruProcessors/dialog_background_image.png ']' + case "$f" in + install -D -m0644 ./ProgressThruProcessors/dialog_background_image.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/ProgressThruProcessors/dialog_background_image.png + read f + '[' -d ./ProgressThruProcessors/background_image.png ']' + case "$f" in + install -D -m0644 ./ProgressThruProcessors/background_image.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/ProgressThruProcessors/background_image.png + read f + '[' -d './People for a Smarter Planet' ']' + mkdir -p -m0755 '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet' + read f + '[' -d './People for a Smarter Planet/skin.xml' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/skin.xml' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/skin.xml' + read f + '[' -d './People for a Smarter Planet/graphic' ']' + mkdir -p -m0755 '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic' + read f + '[' -d './People for a Smarter Planet/graphic/workunit_tab_area_background_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/workunit_tab_area_background_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/workunit_tab_area_background_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/workunit_suspended_tab.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/workunit_suspended_tab.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/workunit_suspended_tab.png' + read f + '[' -d './People for a Smarter Planet/graphic/workunit_gauge_progress_indicator_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/workunit_gauge_progress_indicator_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/workunit_gauge_progress_indicator_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/workunit_gauge_background_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/workunit_gauge_background_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/workunit_gauge_background_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/workunit_area_background_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/workunit_area_background_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/workunit_area_background_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/workunit_animation_background_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/workunit_animation_background_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/workunit_animation_background_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/workunit_animation_background_image copy.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/workunit_animation_background_image copy.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/workunit_animation_background_image copy.png' + read f + '[' -d './People for a Smarter Planet/graphic/workunit_active_tab.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/workunit_active_tab.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/workunit_active_tab.png' + read f + '[' -d './People for a Smarter Planet/graphic/wcg_stop.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/wcg_stop.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/wcg_stop.png' + read f + '[' -d './People for a Smarter Planet/graphic/wcg_play.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/wcg_play.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/wcg_play.png' + read f + '[' -d './People for a Smarter Planet/graphic/wcg_pause.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/wcg_pause.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/wcg_pause.png' + read f + '[' -d './People for a Smarter Planet/graphic/wcg_about.ico' ']' + case "$f" in + read f + '[' -d './People for a Smarter Planet/graphic/tabArea_bg.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/tabArea_bg.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/tabArea_bg.png' + read f + '[' -d './People for a Smarter Planet/graphic/suspend_link_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/suspend_link_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/suspend_link_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/state_indicator_background_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/state_indicator_background_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/state_indicator_background_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/spacer_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/spacer_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/spacer_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/save_button.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/save_button.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/save_button.png' + read f + '[' -d './People for a Smarter Planet/graphic/right_arrow_button.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/right_arrow_button.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/right_arrow_button.png' + read f + '[' -d './People for a Smarter Planet/graphic/resume_link_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/resume_link_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/resume_link_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/project_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/project_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/project_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/project_area_background_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/project_area_background_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/project_area_background_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/preferences_link_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/preferences_link_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/preferences_link_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/messages_link_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/messages_link_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/messages_link_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/messages_alert_link_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/messages_alert_link_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/messages_alert_link_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/left_arrow_button.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/left_arrow_button.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/left_arrow_button.png' + read f + '[' -d './People for a Smarter Planet/graphic/help_button.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/help_button.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/help_button.png' + read f + '[' -d './People for a Smarter Planet/graphic/gauge_bg.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/gauge_bg.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/gauge_bg.png' + read f + '[' -d './People for a Smarter Planet/graphic/error_indicator_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/error_indicator_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/error_indicator_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/dialog_background_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/dialog_background_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/dialog_background_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/copy_button.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/copy_button.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/copy_button.png' + read f + '[' -d './People for a Smarter Planet/graphic/copy_all_button.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/copy_all_button.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/copy_all_button.png' + read f + '[' -d './People for a Smarter Planet/graphic/connecting_indicator_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/connecting_indicator_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/connecting_indicator_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/close_button.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/close_button.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/close_button.png' + read f + '[' -d './People for a Smarter Planet/graphic/cancel_button.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/cancel_button.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/cancel_button.png' + read f + '[' -d './People for a Smarter Planet/graphic/background_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/background_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/background_image.png' + read f + '[' -d './People for a Smarter Planet/graphic/attach_project_button.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/attach_project_button.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/attach_project_button.png' + read f + '[' -d './People for a Smarter Planet/graphic/advanced_link_image.png' ']' + case "$f" in + install -D -m0644 './People for a Smarter Planet/graphic/advanced_link_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/People for a Smarter Planet/graphic/advanced_link_image.png' + read f + '[' -d ./GridRepublic ']' + mkdir -p -m0755 /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/GridRepublic + read f + '[' -d ./GridRepublic/workunit_waiting_image.png ']' + case "$f" in + install -D -m0644 ./GridRepublic/workunit_waiting_image.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/GridRepublic/workunit_waiting_image.png + read f + '[' -d ./GridRepublic/workunit_suspended_image.png ']' + case "$f" in + install -D -m0644 ./GridRepublic/workunit_suspended_image.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/GridRepublic/workunit_suspended_image.png + read f + '[' -d ./GridRepublic/workunit_running_image.png ']' + case "$f" in + install -D -m0644 ./GridRepublic/workunit_running_image.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/GridRepublic/workunit_running_image.png + read f + '[' -d ./GridRepublic/skin.xml ']' + case "$f" in + install -D -m0644 ./GridRepublic/skin.xml /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/GridRepublic/skin.xml + read f + '[' -d ./GridRepublic/project_image.png ']' + case "$f" in + install -D -m0644 ./GridRepublic/project_image.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/GridRepublic/project_image.png + read f + '[' -d ./GridRepublic/gr_stop.png ']' + case "$f" in + install -D -m0644 ./GridRepublic/gr_stop.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/GridRepublic/gr_stop.png + read f + '[' -d ./GridRepublic/gr_play.png ']' + case "$f" in + install -D -m0644 ./GridRepublic/gr_play.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/GridRepublic/gr_play.png + read f + '[' -d ./GridRepublic/gr_pause.png ']' + case "$f" in + install -D -m0644 ./GridRepublic/gr_pause.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/GridRepublic/gr_pause.png + read f + '[' -d ./GridRepublic/gr_icon_play.png ']' + case "$f" in + install -D -m0644 ./GridRepublic/gr_icon_play.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/GridRepublic/gr_icon_play.png + read f + '[' -d ./GridRepublic/gr_about.ico ']' + case "$f" in + read f + '[' -d ./GridRepublic/dialog_background_image.png ']' + case "$f" in + install -D -m0644 ./GridRepublic/dialog_background_image.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/GridRepublic/dialog_background_image.png + read f + '[' -d ./GridRepublic/background_image.png ']' + case "$f" in + install -D -m0644 ./GridRepublic/background_image.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/GridRepublic/background_image.png + read f + '[' -d ./Default ']' + mkdir -p -m0755 /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Default + read f + '[' -d ./Default/workunit_waiting_image.png ']' + case "$f" in + install -D -m0644 ./Default/workunit_waiting_image.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Default/workunit_waiting_image.png + read f + '[' -d ./Default/workunit_suspended_image.png ']' + case "$f" in + install -D -m0644 ./Default/workunit_suspended_image.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Default/workunit_suspended_image.png + read f + '[' -d ./Default/workunit_running_image.png ']' + case "$f" in + install -D -m0644 ./Default/workunit_running_image.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Default/workunit_running_image.png + read f + '[' -d ./Default/skin.xml ']' + case "$f" in + install -D -m0644 ./Default/skin.xml /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Default/skin.xml + read f + '[' -d ./Default/background_image.png ']' + case "$f" in + install -D -m0644 ./Default/background_image.png /usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Default/background_image.png + read f + '[' -d './Charity Engine' ']' + mkdir -p -m0755 '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Charity Engine' + read f + '[' -d './Charity Engine/workunit_waiting_image.png' ']' + case "$f" in + install -D -m0644 './Charity Engine/workunit_waiting_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Charity Engine/workunit_waiting_image.png' + read f + '[' -d './Charity Engine/workunit_suspended_image.png' ']' + case "$f" in + install -D -m0644 './Charity Engine/workunit_suspended_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Charity Engine/workunit_suspended_image.png' + read f + '[' -d './Charity Engine/workunit_running_image.png' ']' + case "$f" in + install -D -m0644 './Charity Engine/workunit_running_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Charity Engine/workunit_running_image.png' + read f + '[' -d './Charity Engine/skin.xml' ']' + case "$f" in + install -D -m0644 './Charity Engine/skin.xml' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Charity Engine/skin.xml' + read f + '[' -d './Charity Engine/project_image.png' ']' + case "$f" in + install -D -m0644 './Charity Engine/project_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Charity Engine/project_image.png' + read f + '[' -d './Charity Engine/dialog_background_image.png' ']' + case "$f" in + install -D -m0644 './Charity Engine/dialog_background_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Charity Engine/dialog_background_image.png' + read f + '[' -d './Charity Engine/ce_stop.png' ']' + case "$f" in + install -D -m0644 './Charity Engine/ce_stop.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Charity Engine/ce_stop.png' + read f + '[' -d './Charity Engine/ce_play.png' ']' + case "$f" in + install -D -m0644 './Charity Engine/ce_play.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Charity Engine/ce_play.png' + read f + '[' -d './Charity Engine/ce_pause.png' ']' + case "$f" in + install -D -m0644 './Charity Engine/ce_pause.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Charity Engine/ce_pause.png' + read f + '[' -d './Charity Engine/ce_icon_play.png' ']' + case "$f" in + install -D -m0644 './Charity Engine/ce_icon_play.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Charity Engine/ce_icon_play.png' + read f + '[' -d './Charity Engine/ce_about.ico' ']' + case "$f" in + read f + '[' -d './Charity Engine/background_image.png' ']' + case "$f" in + install -D -m0644 './Charity Engine/background_image.png' '/usr/src/tmp/boinc-buildroot/usr/share/boinc/skins/Charity Engine/background_image.png' + read f + popd ~/RPM/BUILD/boinc-7.8.4 + /usr/lib/rpm/find-lang BOINC-Client + /usr/lib/rpm/find-lang BOINC-Manager + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/boinc-buildroot (auto) removed './usr/lib/libboinc_crypt.la' removed './usr/lib/libboinc.la' removed './usr/lib/libboinc_opencl.la' removed './usr/lib/libboinc_graphics2.la' removed './usr/lib/libboinc_api.la' mode of './usr/lib/libboinc_opencl.so.7.8.4' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libboinc_graphics2.so.7.8.4' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libboinc_api.so.7.8.4' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/boinc-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/boinc-buildroot/ (default) Compressing files in /usr/src/tmp/boinc-buildroot (auto) removed '/usr/src/tmp/boinc-buildroot/usr/share/man/man1/boinc-client.1' '/usr/src/tmp/boinc-buildroot/usr/share/man/man1/boinc-client.1.xz' -> 'boinc.1.xz' Adjusting library links in /usr/src/tmp/boinc-buildroot ./var/lib: ./usr/lib: libboinc_api.so.7 -> libboinc_api.so.7.8.4 libboinc_graphics2.so.7 -> libboinc_graphics2.so.7.8.4 libboinc_opencl.so.7 -> libboinc_opencl.so.7.8.4 Verifying ELF objects in /usr/src/tmp/boinc-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/boinc_switcher: uses non-LFS functions: __lxstat __xstat fopen mkstemp open readdir statvfs truncate verify-elf: WARNING: ./usr/bin/boincmgr: uses non-LFS functions: __lxstat __xstat fopen freopen mkstemp open readdir statvfs truncate verify-elf: WARNING: ./usr/bin/boinccmd: uses non-LFS functions: __lxstat __xstat fopen mkstemp open readdir statvfs truncate verify-elf: WARNING: ./usr/bin/boinc_client: uses non-LFS functions: __fxstat __lxstat __xstat fopen freopen lseek mkstemp mmap open readdir statvfs truncate verify-elf: WARNING: ./usr/lib/libboinc_graphics2.so.7.8.4: uses non-LFS functions: __lxstat __xstat fopen freopen mkstemp open readdir statvfs truncate verify-elf: WARNING: ./usr/lib/libboinc_api.so.7.8.4: uses non-LFS functions: __fxstat __lxstat __xstat fopen freopen lseek mkstemp mmap open readdir statvfs truncate Hardlinking identical .pyc and .pyo files Processing files: boinc-7.8.4-alt4.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.800ELt find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.IAEUVz find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,typelib) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ImnbTH Processing files: boinc-client-7.8.4-alt4.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.IhQDDU find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ySau0c find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,typelib) find-requires: FINDPACKAGE-COMMANDS: awk chmod chown grep head mkdir pidof rm sed sleep touch Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.sig9ME find-scriptlet-requires: FINDPACKAGE-COMMANDS: getent groupadd useradd Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WtMANg find-scriptlet-requires: FINDPACKAGE-COMMANDS: chown ln Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KIUphA Requires: boinc = 7.8.4-alt4.1, /bin/rm, /bin/sh, /etc/rc.d/init.d, /etc/rc.d/init.d/functions, /lib/ld-linux.so.2, coreutils, gawk, grep, libc.so.6 >= set:pnCE0ZdiC7, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.2.5), libc.so.6(GLIBC_2.4), libcrypto.so.1.1 >= set:qkDCwZsPZanMgcYZ44I66E0tZ5A4Ng17yVFNCDUgIClge7diFjQ0l7wgtZjYlIMjM6vcFzabCKXpprwxAHpme8hBRBEAQdiHB8XRtMOfON6M1oPET1pkAU9A0Fxn0W2laWdRpDKEO8PJ2, libcrypto.so.1.1(OPENSSL_1_1_0), libcurl.so.4 >= set:kfYXC97HnII7rbvpLB1vpa4V4FPlQpKozyu6nK8vieQZh, libdl.so.2(GLIBC_2.0), libdl.so.2(GLIBC_2.1), libgcc_s.so.1(GCC_3.0), libm.so.6(GLIBC_2.0), libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.1), libssl.so.1.1 >= set:mlHXl1, libssl.so.1.1(OPENSSL_1_1_0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libz.so.1 >= set:khgtd6gPfmY2e, rtld(GNU_HASH), sed, sysvinit-utils Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(pre): /bin/sh, glibc-utils, shadow-utils Requires(post): /bin/sh, coreutils, /sbin/chkconfig Requires(preun): /bin/sh, /sbin/chkconfig, /sbin/service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mOMtYK Creating boinc-client-debuginfo package Processing files: boinc-manager-7.8.4-alt4.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cKjtc0 find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GHCYRC find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,typelib) Requires: boinc-client = 7.8.4-alt4.1, /lib/ld-linux.so.2, libc.so.6 >= set:pnCE0ZdiC7, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.2.5), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.4), libdl.so.2(GLIBC_2.0), libdl.so.2(GLIBC_2.1), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GLIBC_2.0), libglib-2.0.so.0 >= set:onOSef, libgobject-2.0.so.0 >= set:mkqP6sd60, libgtk-3.so.0 >= set:qnHxXyVcZj3QmUcWD70x2, libm.so.6(GLIBC_2.0), libnotify.so.4 >= set:ifSlVVYpfGLlb0, libpthread.so.0(GLIBC_2.0), libsqlite3.so.0 >= set:olHc4DZ96XFTa0WLFK7, libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.1), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.18), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libwx_baseu-3.0.so.0 >= set:phDYab1tqFSGGNhFjrs0aMQoPGpSgUiTZzZnfKGugTb8In78xashatxTy18x7KdkbZgpV4MiKe37T1yEFKZdbJuo74OtLneCwPbCpLwxN0ztNOgv8Y3ECoCjwA41TCpgARaT3nZCiNRqGSp9ECAFC0AR3NfXGUJ8Z88JTDdDRRZ15vYwYISZoQ8ZmwjhigBhcoZDSvA881uFkXXDGxjdx4kEx7km1IL3hqEdkbnxp7KxyHFKVTC1QtsvpfA2h5eHfiMLeclcHkkSId7uNWMinOLiOIHzYMgS65hm1X1MaIuzugZnpObvImlCLHUqApUoRBLLAHoZjfgoY8CKmJ4M3lwhNF7oZEPoK4SexmGTehtsw05mAYfZuPZqkLgVUxBI1s15uSaIa0DjcBnkyhmVO8eGOnFmuxHRM8g3F7j6LC8mdhvI6Eg4nyz5sNb62aD0dpRUzURXSBC0CagtSJPcLB8Q7E3q7vqh2x0le6l0P5gtcTzcgl4CFHXMcg1AkXsCvkipghFTP9fYSbC2l7EoAfHT4ZCFBZklQOXgi7zsXlINj9WWYMnK2nqgWTjisG9BIYAncH0Nzgnui7ivVS8sMisBa2z8YRav27, libwx_baseu-3.0.so.0(WXU_3.0), libwx_baseu_net-3.0.so.0 >= set:mkrevcW53, libwx_baseu_net-3.0.so.0(WXU_3.0), libwx_gtk3u_adv-3.0.so.0 >= set:pjfhhwK8Ip78z0xzZriLhbLm27FZJ7rLkDvfru1K2WnAtYjGHHmgun56ODqB2d0aPQpGTJNoqWkx4z9h8NGT5yJmjzgPZgPRMtZskxUyc8iZzn, libwx_gtk3u_adv-3.0.so.0(WXU_3.0), libwx_gtk3u_core-3.0.so.0 >= set:rh66TtKpsi71paZk7KXz6mnoXmljLdTYptjKZj3yjzth8CmZgKHlZCXZFnZeS6o4Ah5aFRZKEPlkZ9tcZFOp8hndQTf2FPMhWgCx48tuZKAqZzRi4fl2NfFlMBk311ZC9Kr9T9FulMei2e0254SgzaQamoMjl3baLo6hVUvu3p1E5LQFFDOvKhpGgJ0FzpfmhDaeyhbdA2FV9Y3zdWAoO8jOloYZpCkAnBu7rFSXGmLLbslFQup89LxiZIvbA97UZ8iFQ8xwrXnmHxcGiZff44RItyCBflYJIDnkUIHNBhxPuJljCwKyhBVYs9ZkZIHRPx5jcuGIPUzxwcZtqbBb24OMPI16iZvzgZHkiAtCPtQFuhWqT5iRtRn8tdob8xFhpKyUt8NWkxJlBcLAkCwqOIcr9fkpjzI4L3lMi2OAWbdrwo18DOXPOOQDOSZE2ZdtEM35Z9Ag9P5YACCZqRCMv9qwjCTyLMdZjFsxrkU0IaZF83qtcS19kTJGZcjztq1ZBqJCRF4eXVSh76mmfPeptcAN47iHQYFJ0FgVjZmZ82pf64xIHWKyhvszqtcAXuJvwUA5YBImAQnlk42VQr99FTsuPnzlzHZg6APMl9mbj4iXZzsHZfLvT9FA7hAevQQgCmSOPzEGtXuhc9Q2ettSP5eMIeJGH7k56OBDvHpyyL1kDm2A6C2BKIInld19gvMddGiyZIjOOkfU9IK1OEUIpoB7kQUQWwTl4tw1NISLMptWRilW2dNzdgMtQQcSI8c6gAZ7HnqrpyLbGFLaBZgZhCIaxqgNDWIO8AvtETNF6BWvN70pu7Tkc7ZoOmZChFrCNZp9hD3SZcOua8podpNMZDXcRnIgegZAVxDNrVhfDO8HgB1a8tCfiuHBTGMp9Zn8Z8KY6VcxKBC23W9BUZeUBhIfZpqVVMhWjE6FegQqZiv42rlocpC0JqleHS6A6fpiZCQlqZsFYwVwwXXBkCz7upul9K0pHIFR2y34TPZxgmZxaR1h58CKNp7B68EutjNsd2Ol0vUpcFje49Gyl5eWgTgaVFKHAZs3LBaxImp4Un6jMeXZByW0DZjxeAWMdeR87FZmU3Um8CByu1tScNbTFt74HvUpEfQ7NdbiTotpGeifmwcidq936qrLPpczA4wFsmgwnDOXzJe29uPS933k0h8GmzvwznwdgZ5086cWVIssfqc3Tgde6xioh9XFEKJBRtKmGbxQ5M1h4iVEulGkhT0ncEcHuiKp7rV1Lyd2597b5TvgcSGAwJt1HG0cFhdL8ix1mfO6ZsFPZrnKaXx3KQjkWvGK7rQjcwiAvpPZmCAZ5NIUvZyzlZlACNZ8D2gsHWcYMYZ051dZzkuzCjMUEqZj1WDPsiAMMiycZCPZAOZHqZ04SK4385MRjGK4uGeG3kWsLdvDMr5ZzbfG1DWqybnrOoAt69suCLD0pPhAkkFWmOPecWcGhZpJYOPzWRPTQ5mywhvE0ZybE2fdZCLiFx16wurntXVlDdXp7itR2HcIuuuF5g8mQK8r08jtkBeXlIffdtoOl2ZljV7DUlZrnBxCqx4B01M8dfRtJvWqukFverJ6PlkPVG0ZmcQKMbH48UmbkXw3nZ1e4dLZoQHramAKo4306kDUFW9icfaS3kwnMquSkkoAhF6KZrNQFSMZCO2AKqumjwU8MXvm0cpDJ7PZyqeYy9LRH2HZdCLUluZxwoZHSBqeAfL3pI0vsU2l7Y286OFNnoGRs9xWibTHZ8nBAiXrsqtSZ3Quba432oD4V2ylGDyC7VgX3PN8jsWe5Wec9JggypKmgrE7FTV2MCjS4uHHampinEV3WT07Iyf3oyyQV2Dj2IqyqjUhZie69nUC85Ig5Xt7CVp0FpL2FQxyBQ4ZxCrVwpXKiYaWkkMsWmlbPTb3ZL8WcZoZ3e3WLViDLyL1xVV79AHf4J6RruV5EYFmouI7jwsLXuEhusHOTUoSZdsVAOBZJslPnBWGCv1tkgCfJCpZGGc84q07IIScGs7wpkbRe62Rd4VcgtZFbXmbNNG8vd40chu3GTz2IQ2YRfkaC40NALF1PFrk7xCVPNrezuuGabmGhD87jB3JaFmwLslLMnVAaVknahJpfYaqecJU1JsN5ZbmzWqTOpMo4hXz045Mq6ywM2j0uG0QIa, libwx_gtk3u_core-3.0.so.0(WXU_3.0), libwx_gtk3u_webview-3.0.so.0 >= set:liNyPltQa7CYe8GPj8r, libwx_gtk3u_webview-3.0.so.0(WXU_3.0), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.sYeqJC Creating boinc-manager-debuginfo package Processing files: boinc-manager-skins-7.8.4-alt4.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YrB8jD find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6TyBgN find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,typelib) Requires: boinc-manager = 7.8.4-alt4.1 Processing files: boinc-devel-7.8.4-alt4.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zyKtmV find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.SW7Sgf find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,typelib) /usr/src/tmp/boinc-buildroot/usr/include/boinc/url.h:21:10: fatal error: string: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/boinc-buildroot/usr/include/boinc/url.h: cpp failed, trying c++ mode Requires: libboinc = 7.8.4-alt4.1, /usr/lib/libboinc_api.so.7.8.4, /usr/lib/libboinc_graphics2.so.7.8.4, libssl-devel Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MfaXV6 Processing files: libboinc-7.8.4-alt4.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6AiVq0 find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) lib.prov: /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_api.so.7: 830 symbols, 20 bpp warning: hash collision: _ZN6COPROC9write_xmlER7MIOFILEb _ZNSt3mapIi8PROCINFOSt4lessIiESaISt4pairIKiS0_EEEC2Ev lib.prov: /usr/src/tmp/boinc-buildroot/usr/lib/libboinc_graphics2.so.7: 559 symbols, 20 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.c0nfNY find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,typelib) Provides: libboinc_api.so.7 = set:ndKrfpPyngBjljMcVIe3gTGHC0A56qy8eNHLrGLz3sKudc0YW7Z3155acFei6BmvAXMTzepAEAm8NikHdVINzNi1jBPTLwe6g6s6u0JkCtqLH4ZCfqhCuGcUGaYBVZKsw21x0osmaJXLHo9bIcQU7T083A9LQ201aVUS4WzhoBfKRejJufzZyuq3ZD1k9ISVIOQO0N0rL9Vq3PFHskh9G46B0J1t8QcSEpyYmEBGdbEG0hmxD3QN54qD8nV8GNlNOVaBbZadMNwnXcNOZ4mZsD33Q4jYNvSUawMA0yjILKMgPF1lbM9iKKPOvs65Is2u1tFtuovwc4ZhgYikl9wZBXKsmCwJwZkXdOY8ij0TPKjCaTdZ4sj92QFyrZAKv5ghfa72035ddCTDw4hAkJFKxNleJ5Yn2rLnlquzLQwy800hxFZef812hBPdHrSZ7WlijGtUUZ5P1WDc7dHZn4WYXjCUXJz4CYmkiBA7Mqxehx8K4YbNBHzsK40WQzGZAUb27Ady2JdQvUaDsrZzOQaVe8PZuotJmpVjy8eZjEZIZujmZfqV224QBQjMIoUiEdy26N51qE3Cunb16Zx2N6pqZ3IeCcfGKLsv8xAblWHdAfZ5rVh0FRX24KwOMYfz5ba4Ybgkxcym65kp99wYCjwMwBQ9XB8cgFz67cGdnmbDBjPu6joUhyvwT1uZrpKoeA5NqlkQi5NZi5zzNPLw56rvs7fCisbPZ9DWZjuxSzmEGAM6UxZCyPOLsDqZEPy8Z7KWZlYnalYtQreCieZlZLxiMVyqW5zAQPygOjqcLwPxI226Vi2wNSHjijeVgZrZCeLNExog61ZvRxkXacZHnCB1I9sp4BCj9BNwHqzI4JsOihJp2AXqrHyGK20DylIHFtwvdmCguy6VDKnWjBp3fJ6Z4MtIuRVtA25jFom9Z4wbJs2YfWjYedPWZA5WmRaQzOadyudmlMwE6cx36o4vkvKimWjQJiEw6h4NkwlTQZ7MXhUahhrQ8OIxZzDFstF8QwrkdxbqIZG2ZtZfkAWVSgepAK294xuSzsSezbcWju3f6CuzmgXBoZzEFVzWdPTuWYJX1LzZ0OIexDvgz2dtN5UuTJ1zXPCWz2kJoZDBpswZ07zzAJAMO2p6bNoUv2cmXonzzHpOmfRJ3KCsfWhpDCCdmy53ZFCYhMKYVklZborUTQ6YAOos2I52I2EvZJVvn56lsjDFgMIqDGYOajsuEUjdWb3RlNDnrnEzs5saXiq1L3nDN7AkvlMsCoscpJfL42z2qgdya3RU4ZBBycyEtqtCUl4wJpCYHVP2HR1VIwTKmbfNPo2IF52BUVotHfoHMs0CszpCd4KgGs78ztMjgbWX08UxhkvsgMn7hQjgmuDsEqwdfmkdNZcgxjBrV6MYVFJUOMc6gr2viIn2hfOAW9E6P0qZ1ofPgMgSkx5jyLuIOsvzhmc5fZy2uN1NF2xxUdoINpnN7ygR0rIJmuHViNErzCgfEM0XhaxcaOjRqNgnCzi2OTFISmPvyjZcH8vtRR3QHaHK4tm3wFxtAdM3Lrdxp0ChJmzbS1jynTZJZwA95xlGyTAE6J8aACXIbEzgZf9j2axJST2Vgsee475KjfZAcHWGjvOlINVCHopBO9lEwKP5r5Tf4WZJ6j1, libboinc_graphics2.so.7 = set:ndKr2UKU2CC5TGHC0A56qy0sDxvVq0Bdh1AVcnFBmiNIzABNxIYkVYZb0wqZsM3EZpooe1KCZ4B1nl6Alzz4cebB4jxlLY7qJYO2kONJ98ZGY0L9LqOf4Nu1UZzwuUujORv7IubrnZD6Sw5lfMdqC0JvmggADB8KajAHs4RUWDsoQnmbFs8FZivCoVW3YsowCoyf8c1cMg41qAwLhf0v77ln6z3XXXDn2aWXKs6P3Z9wD7whnDscTjsj92QFyrAghVoEEFh6fhE83fKljoz1Fs2B1XnwoTZ7db812K1IKhoDSA6WRQwUG5XO5sGwjNeioOrh9tVbgOke41ll8P3s1pxKhg7N7IZf83AWmnHlhbXjKFZ7E2lb1oi0i1gsDUifL0L0xFiWttVf4y3r86tcpu8gxHgWHdg8A02zGg1gx1qAAhwowIA4guz3xJPBXB8cgFz67cGRJebDCZcMZg0B7tyF0Y7t8by0zOyRL0kKMtQ9wqjeMEMbQuQ2lB4S0fYT4DBvFqeJX5ODPyuxk2NjVd7j97ZGvksK0xl29f9DOZDcqhIVW8gOuzTE0i6xn14ic8mCUvUOQ5kvStXcbYiQO9RejguigFJZfn1onGZdaC8aoysDq4M2TrZzJJex9ZkGphME26PmGYYxZ6g8EZzlErlHgfaH0P756BcrLq0g2gOivyK5EkraMGb2LkbYqbiIAPW4YvejMc3TT20GEZz5FyuZDCxAKMZx09tkPYrECZ0qqGvE37jbHvXuMXof8PW4O60G656gL0KTtXb2EVuhl4kwG5gIX8hNs6bNoUbNSNYYTWzLHp8NRL7liJNkNVzoZ0v4AEHGOcKeytbEHSoZJaSmvvpk56lsjDFgMA7eD7wHw2bIZrzs5saXi4L6vgiZ55cD963980zZiDtqdO8wt1VyL6g2HCSNNlblp4MCIFhG3Z5yVUAymoZ3YKcPS1Yxc9K3AZub0Ax9e4Th4Z4gmuDsEOZsyG9KD16ZADC28PoWtIwoJRj0OMx8nDj02xR3MxBxwxIFyTnDdNZxIjh5LUVn4YUQv36rsSN9BnpdM6rHx44iVZ0ac08TlHVUukigZukmrHkqfLJvlw3AE84PWmw3ICNHHfHCwWyiBJ48yCCXIaijC8WYO21AivZpomRl7EOMXZL4Fax2wXicRf0 Requires: libGL.so.1 >= set:pjdsTy41K1rtKUvKLcZ9e0iUn2V8ya6ftBcjfjXQcZg8TiJOdJSLN3CUx4qZH7RARZle11kfFkt3wJBb7bs2Wm0CCjOhlHAkL93ZorsDNEacoBXeKk2ZcuE99tKV0cU34phrBAryO6QKuqvU, libGLU.so.1 >= set:jg67SzvJqZ4uRVGVqT11, libc.so.6 >= set:pnCE0ZdiC7, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.2.5), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libglut.so.3 >= set:lg6dU1kV0NE1MFWKzqWQFboPhOv4S9Sz3y4sUs90VPWckAiopP, libjpeg.so.62 >= set:jfvZgUYgm1WcNFYdT6Zpru, libm.so.6(GLIBC_2.0), libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.1), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.21), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MtGLq5 Creating libboinc-debuginfo package Processing files: boinc-client-debuginfo-7.8.4-alt4.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dO5Ul7 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VBp4I1 find-requires: running scripts (debuginfo) Requires: boinc-client = 7.8.4-alt4.1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libcrypto.so.1.1), debug(libcurl.so.4), debug(libdl.so.2), debug(libgcc_s.so.1), debug(libm.so.6), debug(libpthread.so.0), debug(libssl.so.1.1), debug(libstdc++.so.6), debug(libz.so.1) Processing files: boinc-manager-debuginfo-7.8.4-alt4.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ijmLT3 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZrNn4n find-requires: running scripts (debuginfo) Requires: boinc-manager = 7.8.4-alt4.1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libdl.so.2), debug(libgcc_s.so.1), debug(libglib-2.0.so.0), debug(libgobject-2.0.so.0), debug(libgtk-3.so.0), debug(libm.so.6), debug(libnotify.so.4), debug(libpthread.so.0), debug(libsqlite3.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_webview-3.0.so.0) Processing files: libboinc-debuginfo-7.8.4-alt4.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cW6ODu find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.A5jiQJ find-requires: running scripts (debuginfo) Provides: debug(libboinc_api.so.7), debug(libboinc_graphics2.so.7) Requires: libboinc = 7.8.4-alt4.1, debug(libGL.so.1), debug(libGLU.so.1), debug(libc.so.6), debug(libgcc_s.so.1), debug(libglut.so.3), debug(libjpeg.so.62), debug(libm.so.6), debug(libpthread.so.0), debug(libstdc++.so.6) Adding to boinc-client a strict dependency on boinc Adding to boinc-manager a strict dependency on boinc-client Adding to boinc-client-debuginfo a strict dependency on boinc-client Adding to boinc-manager-skins a strict dependency on boinc-manager Adding to boinc-manager-debuginfo a strict dependency on boinc-manager Adding to boinc-devel a strict dependency on libboinc Adding to libboinc-debuginfo a strict dependency on libboinc Removing 2 extra deps from boinc-devel due to dependency on libboinc Removing 19 extra deps from boinc-manager due to repentancy on boinc-client Wrote: /usr/src/RPM/RPMS/i586/boinc-7.8.4-alt4.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/boinc-client-7.8.4-alt4.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/boinc-manager-7.8.4-alt4.1.i586.rpm Wrote: /usr/src/RPM/RPMS/noarch/boinc-manager-skins-7.8.4-alt4.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/i586/boinc-devel-7.8.4-alt4.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libboinc-7.8.4-alt4.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/boinc-client-debuginfo-7.8.4-alt4.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/boinc-manager-debuginfo-7.8.4-alt4.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libboinc-debuginfo-7.8.4-alt4.1.i586.rpm 703.82user 66.60system 18:54.43elapsed 67%CPU (0avgtext+0avgdata 275856maxresident)k 0inputs+0outputs (0major+13059832minor)pagefaults 0swaps 750.42user 77.89system 20:07.15elapsed 68%CPU (0avgtext+0avgdata 275856maxresident)k 157488inputs+0outputs (0major+13738036minor)pagefaults 0swaps --- boinc-7.8.4-alt4.1.i586.rpm.repo 2018-09-07 15:28:40.000000000 +0000 +++ boinc-7.8.4-alt4.1.i586.rpm.hasher 2019-03-27 13:46:19.026179500 +0000 @@ -7,2 +7,2 @@ Requires: rpmlib(PayloadIsLzma) -Provides: boinc = 7.8.4-alt4.1 +Provides: boinc = 7.8.4-alt4.1:sisyphus.212693.100 --- boinc-client-7.8.4-alt4.1.i586.rpm.repo 2018-09-07 15:28:40.000000000 +0000 +++ boinc-client-7.8.4-alt4.1.i586.rpm.hasher 2019-03-27 13:46:19.280171545 +0000 @@ -52,5 +52,2 @@ /var/lib/boinc/remote_hosts.cfg 100644 -Requires: boinc = 7.8.4-alt4.1 -Requires: /bin/sh -Requires: /bin/sh Requires: /bin/sh @@ -72,3 +69,3 @@ Requires: libc.so.6(GLIBC_2.4) -Requires: libcrypto.so.1.1 >= set:pjed1UPPVW5c3lZeNofhU5GR3hFl1CRJvhiaZDQ4Rv91OWNizdDUgodHITbfS07wJhL34lMiuMwMOUXK4vky04GPvUlIU9o7c9xLsXEO2jTtopr8oVEETMfgqCBTygmkpAVm1 +Requires: libcrypto.so.1.1 >= set:qkDCwZsPZanMgcYZ44I66E0tZ5A4Ng17yVFNCDUgIClge7diFjQ0l7wgtZjYlIMjM6vcFzabCKXpprwxAHpme8hBRBEAQdiHB8XRtMOfON6M1oPET1pkAU9A0Fxn0W2laWdRpDKEO8PJ2 Requires: libcrypto.so.1.1(OPENSSL_1_1_0) @@ -93,3 +90,2 @@ Requires: shadow-utils -Requires: /sbin/chkconfig Requires: coreutils @@ -97,3 +93,4 @@ Requires: /sbin/service +Requires: boinc = 7.8.4-alt4.1:sisyphus.212693.100 Requires: rpmlib(PayloadIsLzma) -Provides: boinc-client = 7.8.4-alt4.1 +Provides: boinc-client = 7.8.4-alt4.1:sisyphus.212693.100 --- boinc-client-debuginfo-7.8.4-alt4.1.i586.rpm.repo 2018-09-07 15:28:40.000000000 +0000 +++ boinc-client-debuginfo-7.8.4-alt4.1.i586.rpm.hasher 2019-03-27 13:46:19.377168507 +0000 @@ -6,3 +6,2 @@ /usr/lib/debug/usr/bin/boinccmd.debug 100644 -Requires: boinc-client = 7.8.4-alt4.1 Requires: /usr/lib/debug/lib/ld-linux.so.2.debug @@ -18,3 +17,4 @@ Requires: debug(libz.so.1) +Requires: boinc-client = 7.8.4-alt4.1:sisyphus.212693.100 Requires: rpmlib(PayloadIsLzma) -Provides: boinc-client-debuginfo = 7.8.4-alt4.1 +Provides: boinc-client-debuginfo = 7.8.4-alt4.1:sisyphus.212693.100 --- boinc-devel-7.8.4-alt4.1.i586.rpm.repo 2018-09-07 15:28:40.000000000 +0000 +++ boinc-devel-7.8.4-alt4.1.i586.rpm.hasher 2019-03-27 13:46:19.527163809 +0000 @@ -42,5 +42,5 @@ /usr/lib/libboinc_graphics2.so 120777 libboinc_graphics2.so.7.8.4 -Requires: libboinc = 7.8.4-alt4.1 Requires: libssl-devel +Requires: libboinc = 7.8.4-alt4.1:sisyphus.212693.100 Requires: rpmlib(PayloadIsLzma) -Provides: boinc-devel = 7.8.4-alt4.1 +Provides: boinc-devel = 7.8.4-alt4.1:sisyphus.212693.100 --- boinc-manager-7.8.4-alt4.1.i586.rpm.repo 2018-09-07 15:28:40.000000000 +0000 +++ boinc-manager-7.8.4-alt4.1.i586.rpm.hasher 2019-03-27 13:46:19.601161491 +0000 @@ -45,3 +45,2 @@ /usr/share/man/man1/boincmgr.1.xz 100644 -Requires: boinc-client = 7.8.4-alt4.1 Requires: libc.so.6(GLIBC_2.3) @@ -51,3 +50,3 @@ Requires: libgtk-3.so.0 >= set:qnHxXyVcZj3QmUcWD70x2 -Requires: libnotify.so.4 >= set:jgiAQ3ua1ld9GL1 +Requires: libnotify.so.4 >= set:ifSlVVYpfGLlb0 Requires: libsqlite3.so.0 >= set:olHc4DZ96XFTa0WLFK7 @@ -65,3 +64,4 @@ Requires: libwx_gtk3u_webview-3.0.so.0(WXU_3.0) +Requires: boinc-client = 7.8.4-alt4.1:sisyphus.212693.100 Requires: rpmlib(PayloadIsLzma) -Provides: boinc-manager = 7.8.4-alt4.1 +Provides: boinc-manager = 7.8.4-alt4.1:sisyphus.212693.100 --- boinc-manager-debuginfo-7.8.4-alt4.1.i586.rpm.repo 2018-09-07 15:28:40.000000000 +0000 +++ boinc-manager-debuginfo-7.8.4-alt4.1.i586.rpm.hasher 2019-03-27 13:46:19.696158516 +0000 @@ -1,3 +1,2 @@ /usr/lib/debug/usr/bin/boincmgr.debug 100644 -Requires: boinc-manager = 7.8.4-alt4.1 Requires: /usr/lib/debug/lib/ld-linux.so.2.debug @@ -19,3 +18,4 @@ Requires: debug(libwx_gtk3u_webview-3.0.so.0) +Requires: boinc-manager = 7.8.4-alt4.1:sisyphus.212693.100 Requires: rpmlib(PayloadIsLzma) -Provides: boinc-manager-debuginfo = 7.8.4-alt4.1 +Provides: boinc-manager-debuginfo = 7.8.4-alt4.1:sisyphus.212693.100 --- boinc-manager-skins-7.8.4-alt4.1.noarch.rpm.repo 2018-09-07 15:28:30.000000000 +0000 +++ boinc-manager-skins-7.8.4-alt4.1.noarch.rpm.hasher 2019-03-27 13:46:19.778155948 +0000 @@ -92,4 +92,4 @@ /usr/share/boinc/skins/World Community Grid/wcg_stop.png 100644 -Requires: boinc-manager = 7.8.4-alt4.1 +Requires: boinc-manager = 7.8.4-alt4.1:sisyphus.212693.100 Requires: rpmlib(PayloadIsLzma) -Provides: boinc-manager-skins = 7.8.4-alt4.1 +Provides: boinc-manager-skins = 7.8.4-alt4.1:sisyphus.212693.100 --- libboinc-7.8.4-alt4.1.i586.rpm.repo 2018-09-07 15:28:40.000000000 +0000 +++ libboinc-7.8.4-alt4.1.i586.rpm.hasher 2019-03-27 13:46:19.838154069 +0000 @@ -4,3 +4,3 @@ /usr/lib/libboinc_graphics2.so.7.8.4 100644 -Requires: libGL.so.1 >= set:oixmtrxmA88OVVkORVyZpXhCZg709Rq6VEGliallUU348f4zDLNRt6fT3FDVedjMxOnKTcyxNOwCUCxmz47q2bcA1jkngsucZfuahdhYuZyT4CU5dQ5D9VmkSoH4Er0sbsB8wA36 +Requires: libGL.so.1 >= set:pjdsTy41K1rtKUvKLcZ9e0iUn2V8ya6ftBcjfjXQcZg8TiJOdJSLN3CUx4qZH7RARZle11kfFkt3wJBb7bs2Wm0CCjOhlHAkL93ZorsDNEacoBXeKk2ZcuE99tKV0cU34phrBAryO6QKuqvU Requires: rpmlib(SetVersions) @@ -15,3 +15,3 @@ Requires: libgcc_s.so.1(GCC_3.0) -Requires: libglut.so.3 >= set:mhifDh3MFWI11CY89jfiM3DPF5PghaxtYL7g1T3uWkqb5CFaFTyxE0 +Requires: libglut.so.3 >= set:lg6dU1kV0NE1MFWKzqWQFboPhOv4S9Sz3y4sUs90VPWckAiopP Requires: libjpeg.so.62 >= set:jfvZgUYgm1WcNFYdT6Zpru @@ -26,4 +26,4 @@ Requires: rpmlib(PayloadIsLzma) -Provides: libboinc_api.so.7 = set:ndKrfpPyngBjljMcVIe3gTGHC0A56qy8eNHLrGLz3sKudc0YW7Z3155acFei6BmvAXMTzepAEAm8NikHdVINzNi1jBPTLwe6g6s6u0JkCtqLH4ZCfqhCuGcUGaYBVZKsw21x0osmat1btTlIA5m6qYzr0A1OAnq1w0Bssr2Z1zMavsHtCqZepYnYQ6Zv2EioJPpBFB1y1SujOR6CjnVEyik9ca1q3WgEpIhP4VJgblrmgl1yI2f7Ezb8QehKOhkzHy5f8Fnrwz1LSpyBX9bvZsx1qy9ZoZI6n14C4gsyZ5noEV4IM9iKKPOvs65Is2u1tFtuovwc4ZhgYyWaZHStVIc1r1Z9SrAVhAC0KDtDclKrW9KF41WkNJvOZb2EE7B31wxyC6PXjgy8iGSkTMUaDS2Zr4SuLGQY6vF15h00y2jXZ7g24yaDrmTIXfZaACkXMNXHV0Z3peaS5WYXjCUXJz4CYmkiBA7Mqxehx8K4YbNBHzsK40WQzGZAUb27Ady2JdQvUaDsrZzOQaVe8PZuotJmpVjy8eZjEZIZujmZfqV224QBQjMIoUiEdy26N51qE3Cunb16Zx2N6pqZ3IeCcfGKLsv8xAblWHdAfZ5rVh0FRX24KwOMYfz5ba4Ybgkxcym65kp99wYCjwMwBQ9XB8cgFz67cGdnmbDBjPu6joUhyvwT1uZrpKoeA5NqlkQi5NZi5zzNPLw56rvs7fCisbPZ9DWZjuxSzmEGAM6UxZCyPOLsDqZEPy8Z7KWZlYnalYtQreCieZlZLxiMVyqW5zAQPygOjqcLwPxI226Vi2wNSHjijeVgZrZCeLNExog61RZlyt8RK2PZKBpp0r2n6hFVkipcUGS8bhbDIkkrC0VKSSGEGH0MFo5Xqq7UnzB9ADEhZpKnWjBp3fJ6Z4MtIuRVtA25jFom9Z4wbJs2YfWjYedPWZA5WmRaQzOadyudmlMwE6cx36o4vkvKimWjQJiEw6h4NkwlTQZ7MXhUahhrQ8OIxZzDFstF8QwrkdxbqIZG2ZtZfkAWVSgepAK294xuSzsSezbcWju3f6CuzmgZAW1NZngjP7RrCLZ4DLtfUtI7Apt2fZwqkEFbK0TXKdosvSkvkwG5XZGcz3I7e679r9xB5OcmyNMZAwNq7XqssdjSWFKtMRAXhfaXQQINiIoUfdVzwtVPFGWnIdYrq3uipce1S21m1QLZKYLH2zaKFPk8omJjlupB9efkYF6Z56GHyfLSKg7VaUkSBG9VXTxHPU3iGLaoejceCISDn2xh1dE6hBxqsyZGih6hQeJejYa2MScjZlPD5mH3Op1LtJmv9NDPo2IF52BUVotHfoHMs0CszpCd4KgGs78ztMjgbWX08UxhkvsgMn7hQjgmuDsEqwdLOCjujsf35elKBr0PDDSyb3Po0J9Y9Nu94Z8cFu2GNcwmvwZcc4cAdloNAUH7HcTToA5jNPL8U574Da46yTwN6Dt5v82l3INSqVJCb5zKdq2Z0acMuAi8zyYkJmcQBVEAwYtaHJRYnqe1SPH8vtRRqpmt9a5Yj3wFxtAdM3Lrdxp0ChRXudN5Xw9NHXZKv0ilalNrikzS9fZyiPtS5QhEZvA91BMmXrxs8e77yz2TFDvyplntWjKydeTs5bHkeF25QtKoHUZh2ZfrzF -Provides: libboinc_graphics2.so.7 = set:ndKr2UKU2CC5TGHC0A56qy0sDxvVq0Bdh1AVcnFBmiNIzABNxIYkVYZb0wqZsM3EZpooe1KCZ4B1nl6Alzz4cebB4jxlLY7qJYO2kONJ98ZGY0L9LqOf4Nu1UZzwuUujORv7IubrnZD6Sw5lfMdqC0JvmggADB8KajAHs4RUWDsoQnc9wAWbvCoVW3YsowCoyf8c1cMg41qAwLhf0v77ln6z3XXXDn2aWXKs6P3Z9wD7whnDscTjsj92QFyrAghVoEEFh6fhE83fKljoz1Fs2B1XnwoTZ7db812K1IKhoDSA6WRQwUG5XO5sGwjNeioOrh9tVbgOke41ll8P3s1pxKhg7N7IZf83AWmnHlhbXjKFZ7E2lb1oi0i1gsDUifL0L0xFiWttVf4y3r86tcpu8gxHgWHdg8A02zGg1gx1qAAhwowIA4guz3xJPBXB8cgFz67cGRJebDCZcMZg0B7tyF0Y7t8by0zOyRL0kKMtQ9wqjeMEMbQuQ2lB4S0fYT4DBvFqeJX5ODPyuxk2NjVd7j97ZGvksK0xl29f9DOZDcqhIVW8gOuzTE0i6xnx3er83yB9ZnUOQ5kvStXcbYiQO9RejguigFJZfn1onGZdaC8aoysDq4M2TrZzJJex9ZkGphME26PmGYYxZ6g8EZzlErlHgfaH0P756BcrLq0g2gOivyK5EkraMGb2LkbYqbiIAPW4YvejMc3TT20GEZz5FyuZDCxAKMZx09tkPYrECZ0qqGvE37jbHvXuMXof8PW4O60G656gL0KTtXb2EVuhl4kwG5gIX8hNs6bNoUbNSNYYTWzLHp8NRL7liJNkNVzoZ0v4AEHGOcKeytbEHSoZJaSmvvpk56lsjDFgMA7eD7wHw2bIZrzs5saXi4L6vgiZ55cD963980zZiDtqdO8wt1VyL6g2HCSNNlblp4MCIFhG3Z5yVUAymoZ3YKcPS1Yxc9K3AZub0Ax9e4Th4Z4gmuDsEOZsyG9KD16ZADC28PoWtIwoJRj0OMx8nDj02xR3MxBxwxIFyTnDdNZxIjh5LUVn4YUQv36rsSN9BnpdM6rHx44iVZ0ac08TlHVUukigZukmrHkqfLJvl0np8CRJ07odznnvmd1R5Bar9c5VnACXIaijC8WYO21AivZpomRl7EOMXZL4Fax2wXicRf0 -Provides: libboinc = 7.8.4-alt4.1 +Provides: libboinc_api.so.7 = set:ndKrfpPyngBjljMcVIe3gTGHC0A56qy8eNHLrGLz3sKudc0YW7Z3155acFei6BmvAXMTzepAEAm8NikHdVINzNi1jBPTLwe6g6s6u0JkCtqLH4ZCfqhCuGcUGaYBVZKsw21x0osmaJXLHo9bIcQU7T083A9LQ201aVUS4WzhoBfKRejJufzZyuq3ZD1k9ISVIOQO0N0rL9Vq3PFHskh9G46B0J1t8QcSEpyYmEBGdbEG0hmxD3QN54qD8nV8GNlNOVaBbZadMNwnXcNOZ4mZsD33Q4jYNvSUawMA0yjILKMgPF1lbM9iKKPOvs65Is2u1tFtuovwc4ZhgYikl9wZBXKsmCwJwZkXdOY8ij0TPKjCaTdZ4sj92QFyrZAKv5ghfa72035ddCTDw4hAkJFKxNleJ5Yn2rLnlquzLQwy800hxFZef812hBPdHrSZ7WlijGtUUZ5P1WDc7dHZn4WYXjCUXJz4CYmkiBA7Mqxehx8K4YbNBHzsK40WQzGZAUb27Ady2JdQvUaDsrZzOQaVe8PZuotJmpVjy8eZjEZIZujmZfqV224QBQjMIoUiEdy26N51qE3Cunb16Zx2N6pqZ3IeCcfGKLsv8xAblWHdAfZ5rVh0FRX24KwOMYfz5ba4Ybgkxcym65kp99wYCjwMwBQ9XB8cgFz67cGdnmbDBjPu6joUhyvwT1uZrpKoeA5NqlkQi5NZi5zzNPLw56rvs7fCisbPZ9DWZjuxSzmEGAM6UxZCyPOLsDqZEPy8Z7KWZlYnalYtQreCieZlZLxiMVyqW5zAQPygOjqcLwPxI226Vi2wNSHjijeVgZrZCeLNExog61ZvRxkXacZHnCB1I9sp4BCj9BNwHqzI4JsOihJp2AXqrHyGK20DylIHFtwvdmCguy6VDKnWjBp3fJ6Z4MtIuRVtA25jFom9Z4wbJs2YfWjYedPWZA5WmRaQzOadyudmlMwE6cx36o4vkvKimWjQJiEw6h4NkwlTQZ7MXhUahhrQ8OIxZzDFstF8QwrkdxbqIZG2ZtZfkAWVSgepAK294xuSzsSezbcWju3f6CuzmgXBoZzEFVzWdPTuWYJX1LzZ0OIexDvgz2dtN5UuTJ1zXPCWz2kJoZDBpswZ07zzAJAMO2p6bNoUv2cmXonzzHpOmfRJ3KCsfWhpDCCdmy53ZFCYhMKYVklZborUTQ6YAOos2I52I2EvZJVvn56lsjDFgMIqDGYOajsuEUjdWb3RlNDnrnEzs5saXiq1L3nDN7AkvlMsCoscpJfL42z2qgdya3RU4ZBBycyEtqtCUl4wJpCYHVP2HR1VIwTKmbfNPo2IF52BUVotHfoHMs0CszpCd4KgGs78ztMjgbWX08UxhkvsgMn7hQjgmuDsEqwdfmkdNZcgxjBrV6MYVFJUOMc6gr2viIn2hfOAW9E6P0qZ1ofPgMgSkx5jyLuIOsvzhmc5fZy2uN1NF2xxUdoINpnN7ygR0rIJmuHViNErzCgfEM0XhaxcaOjRqNgnCzi2OTFISmPvyjZcH8vtRR3QHaHK4tm3wFxtAdM3Lrdxp0ChJmzbS1jynTZJZwA95xlGyTAE6J8aACXIbEzgZf9j2axJST2Vgsee475KjfZAcHWGjvOlINVCHopBO9lEwKP5r5Tf4WZJ6j1 +Provides: libboinc_graphics2.so.7 = set:ndKr2UKU2CC5TGHC0A56qy0sDxvVq0Bdh1AVcnFBmiNIzABNxIYkVYZb0wqZsM3EZpooe1KCZ4B1nl6Alzz4cebB4jxlLY7qJYO2kONJ98ZGY0L9LqOf4Nu1UZzwuUujORv7IubrnZD6Sw5lfMdqC0JvmggADB8KajAHs4RUWDsoQnmbFs8FZivCoVW3YsowCoyf8c1cMg41qAwLhf0v77ln6z3XXXDn2aWXKs6P3Z9wD7whnDscTjsj92QFyrAghVoEEFh6fhE83fKljoz1Fs2B1XnwoTZ7db812K1IKhoDSA6WRQwUG5XO5sGwjNeioOrh9tVbgOke41ll8P3s1pxKhg7N7IZf83AWmnHlhbXjKFZ7E2lb1oi0i1gsDUifL0L0xFiWttVf4y3r86tcpu8gxHgWHdg8A02zGg1gx1qAAhwowIA4guz3xJPBXB8cgFz67cGRJebDCZcMZg0B7tyF0Y7t8by0zOyRL0kKMtQ9wqjeMEMbQuQ2lB4S0fYT4DBvFqeJX5ODPyuxk2NjVd7j97ZGvksK0xl29f9DOZDcqhIVW8gOuzTE0i6xn14ic8mCUvUOQ5kvStXcbYiQO9RejguigFJZfn1onGZdaC8aoysDq4M2TrZzJJex9ZkGphME26PmGYYxZ6g8EZzlErlHgfaH0P756BcrLq0g2gOivyK5EkraMGb2LkbYqbiIAPW4YvejMc3TT20GEZz5FyuZDCxAKMZx09tkPYrECZ0qqGvE37jbHvXuMXof8PW4O60G656gL0KTtXb2EVuhl4kwG5gIX8hNs6bNoUbNSNYYTWzLHp8NRL7liJNkNVzoZ0v4AEHGOcKeytbEHSoZJaSmvvpk56lsjDFgMA7eD7wHw2bIZrzs5saXi4L6vgiZ55cD963980zZiDtqdO8wt1VyL6g2HCSNNlblp4MCIFhG3Z5yVUAymoZ3YKcPS1Yxc9K3AZub0Ax9e4Th4Z4gmuDsEOZsyG9KD16ZADC28PoWtIwoJRj0OMx8nDj02xR3MxBxwxIFyTnDdNZxIjh5LUVn4YUQv36rsSN9BnpdM6rHx44iVZ0ac08TlHVUukigZukmrHkqfLJvlw3AE84PWmw3ICNHHfHCwWyiBJ48yCCXIaijC8WYO21AivZpomRl7EOMXZL4Fax2wXicRf0 +Provides: libboinc = 7.8.4-alt4.1:sisyphus.212693.100 --- libboinc-debuginfo-7.8.4-alt4.1.i586.rpm.repo 2018-09-07 15:28:40.000000000 +0000 +++ libboinc-debuginfo-7.8.4-alt4.1.i586.rpm.hasher 2019-03-27 13:46:19.887152534 +0000 @@ -4,3 +4,2 @@ /usr/lib/debug/usr/lib/libboinc_graphics2.so.7.debug 120777 libboinc_graphics2.so.7.8.4.debug -Requires: libboinc = 7.8.4-alt4.1 Requires: debug(libGL.so.1) @@ -14,2 +13,3 @@ Requires: debug(libstdc++.so.6) +Requires: libboinc = 7.8.4-alt4.1:sisyphus.212693.100 Requires: rpmlib(PayloadIsLzma) @@ -17,2 +17,2 @@ Provides: debug(libboinc_graphics2.so.7) -Provides: libboinc-debuginfo = 7.8.4-alt4.1 +Provides: libboinc-debuginfo = 7.8.4-alt4.1:sisyphus.212693.100