<86>Feb 3 02:29:33 userdel[25311]: delete user 'rooter' <86>Feb 3 02:29:33 userdel[25311]: removed group 'rooter' owned by 'rooter' <86>Feb 3 02:29:33 userdel[25311]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 3 02:29:33 groupadd[25360]: group added to /etc/group: name=rooter, GID=615 <86>Feb 3 02:29:33 groupadd[25360]: group added to /etc/gshadow: name=rooter <86>Feb 3 02:29:33 groupadd[25360]: new group: name=rooter, GID=615 <86>Feb 3 02:29:33 useradd[25383]: new user: name=rooter, UID=615, GID=615, home=/root, shell=/bin/bash <86>Feb 3 02:29:33 userdel[25417]: delete user 'builder' <86>Feb 3 02:29:33 userdel[25417]: removed group 'builder' owned by 'builder' <86>Feb 3 02:29:33 userdel[25417]: removed shadow group 'builder' owned by 'builder' <86>Feb 3 02:29:33 groupadd[25467]: group added to /etc/group: name=builder, GID=616 <86>Feb 3 02:29:33 groupadd[25467]: group added to /etc/gshadow: name=builder <86>Feb 3 02:29:33 groupadd[25467]: new group: name=builder, GID=616 <86>Feb 3 02:29:33 useradd[25495]: new user: name=builder, UID=616, GID=616, home=/usr/src, shell=/bin/bash <13>Feb 3 02:29:37 rpmi: xorg-xproto-devel-7.0.28-alt1 1448272470 installed <13>Feb 3 02:29:37 rpmi: perl-Encode-2.83-alt1 1459157776 installed <13>Feb 3 02:29:37 rpmi: libpng15-1.5.28-alt1 1484572014 installed <13>Feb 3 02:29:37 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Feb 3 02:29:37 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Feb 3 02:29:37 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Feb 3 02:29:37 rpmi: libjpeg-2:1.3.1-alt0.1 1388074033 installed <13>Feb 3 02:29:37 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Feb 3 02:29:37 rpmi: xorg-xextproto-devel-2:7.3.0-alt1 1389258977 installed <13>Feb 3 02:29:37 rpmi: libwayland-client-1.14.0-alt0.M80P.1 1502720500 installed <13>Feb 3 02:29:37 rpmi: perl-XML-NamespaceSupport-1.11-alt3 1322003535 installed <13>Feb 3 02:29:37 rpmi: libsqlite3-3.15.2-alt1 1480432212 installed <13>Feb 3 02:29:37 rpmi: libtasn1-4.9-alt1 1469555628 installed <13>Feb 3 02:29:37 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Feb 3 02:29:37 rpmi: libSM-1.2.2-alt1 1391072686 installed <13>Feb 3 02:29:37 rpmi: libopenblas-0.2.14-alt1.git20150324 1433158855 installed <13>Feb 3 02:29:37 rpmi: liblcms2-2.8-alt1 1471601528 installed <13>Feb 3 02:29:37 rpmi: libpixman-3:0.32.8-alt1 1447610691 installed <13>Feb 3 02:29:37 rpmi: libopenal1-1.17.2-alt0.M80P.1 1482080827 installed <13>Feb 3 02:29:37 rpmi: xorg-randrproto-devel-1:1.5.0-alt1 1431936131 installed <13>Feb 3 02:29:37 rpmi: xorg-renderproto-devel-0.11.1-alt3 1303465056 installed <13>Feb 3 02:29:37 rpmi: xorg-inputproto-devel-1:2.3-alt1 1362636518 installed <13>Feb 3 02:29:37 rpmi: xorg-fontsproto-devel-2.1.3-alt1 1405793916 installed <13>Feb 3 02:29:37 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531883 installed <13>Feb 3 02:29:37 rpmi: libwayland-server-1.14.0-alt0.M80P.1 1502720500 installed <13>Feb 3 02:29:37 rpmi: libpciaccess-1:0.13.4-alt1 1431681688 installed <13>Feb 3 02:29:37 rpmi: libdrm-1:2.4.89-alt1.M80P.1 1516609380 installed <13>Feb 3 02:29:37 rpmi: perl-LWP-MediaTypes-6.02-alt1 1329754558 installed <13>Feb 3 02:29:37 rpmi: perl-Compress-Raw-Zlib-2.069-alt1.1 1448470036 installed <13>Feb 3 02:29:37 rpmi: perl-libnet-1:3.08-alt1 1458419902 installed <13>Feb 3 02:29:37 rpmi: perl-URI-1.71-alt1 1455181348 installed <13>Feb 3 02:29:37 rpmi: perl-XML-SAX-Base-1.08-alt1 1317871344 installed <13>Feb 3 02:29:37 rpmi: libnettle6-3.4.1-alt1 p8.217493.100 1544204548 installed <13>Feb 3 02:29:37 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Feb 3 02:29:37 rpmi: libXau-devel-1.0.8-alt1 1369565807 installed <13>Feb 3 02:29:37 rpmi: libhogweed4-3.4.1-alt1 p8.217493.100 1544204548 installed <13>Feb 3 02:29:37 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Feb 3 02:29:37 rpmi: libgbm-4:17.3.9-alt0.M80P.1 1526555825 installed <13>Feb 3 02:29:37 rpmi: libdrm-devel-1:2.4.89-alt1.M80P.1 1516609380 installed <13>Feb 3 02:29:37 rpmi: libpciaccess-devel-1:0.13.4-alt1 1431681688 installed <13>Feb 3 02:29:37 rpmi: libalut-1.1.0-alt5 1301303219 installed <13>Feb 3 02:29:37 rpmi: libopenal-devel-1.17.2-alt0.M80P.1 1482080827 installed <13>Feb 3 02:29:37 rpmi: libpixman-devel-3:0.32.8-alt1 1447610691 installed <13>Feb 3 02:29:38 rpmi: libICE-devel-1.0.9-alt1 1409902719 installed <13>Feb 3 02:29:38 rpmi: libSM-devel-1.2.2-alt1 1391072686 installed <13>Feb 3 02:29:38 rpmi: libwayland-cursor-1.14.0-alt0.M80P.1 1502720500 installed <13>Feb 3 02:29:38 rpmi: xorg-fixesproto-devel-1:5.0-alt1 1300091058 installed <13>Feb 3 02:29:38 rpmi: libjasper-1.900.1-alt3 1391718482 installed <13>Feb 3 02:29:38 rpmi: libtiff5-4.0.3-alt1 1348347498 installed <13>Feb 3 02:29:38 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Feb 3 02:29:38 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Feb 3 02:29:38 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Feb 3 02:29:38 rpmi: xorg-xineramaproto-devel-1:1.2.1-alt1 1294328562 installed <13>Feb 3 02:29:38 rpmi: xorg-xf86driproto-devel-2.1.1-alt1 1294328451 installed <13>Feb 3 02:29:38 rpmi: xorg-videoproto-devel-2.3.2-alt1 1391068637 installed <13>Feb 3 02:29:38 rpmi: xorg-util-macros-1.19.0-alt1 1409047704 installed <13>Feb 3 02:29:38 rpmi: xorg-presentproto-devel-1.0-alt1 1389200412 installed <13>Feb 3 02:29:38 rpmi: xorg-dri3proto-devel-1.0-alt1 1389181940 installed <13>Feb 3 02:29:38 rpmi: xorg-dri2proto-devel-2.8-alt1 1347727591 installed <13>Feb 3 02:29:38 rpmi: rpm-macros-java-1:4.6.0-alt9_12jpp8.1.1 1460387057 installed <13>Feb 3 02:29:38 rpmi: zlib-devel-1.2.8-alt1 1371079009 installed <13>Feb 3 02:29:38 rpmi: libnumpy-py3-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Feb 3 02:29:38 rpmi: libxblas-1.0.248-alt1 1322010716 installed <13>Feb 3 02:29:38 rpmi: libxkbcommon-0.7.2-alt0.M80P.1 1503524837 installed <13>Feb 3 02:29:38 rpmi: libgudev-1:231-alt0.M80P.1 1487052830 installed <13>Feb 3 02:29:38 rpmi: udev-rules-1:237-alt2.M80P.5 p8+219569.200.8.1 1547831015 installed <13>Feb 3 02:29:38 rpmi: libquadmath0-5.3.1-alt3 1457662528 installed <13>Feb 3 02:29:38 rpmi: libgfortran3-5.3.1-alt3 1457662528 installed <13>Feb 3 02:29:38 rpmi: liblapack-1:3.5.0-alt1 1401382194 installed <13>Feb 3 02:29:38 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Feb 3 02:29:38 rpmi: libepoxy-1.4.3-alt0.M80P.1 1498727071 installed <13>Feb 3 02:29:38 rpmi: libdatrie-0.2.8-alt1_5 1410185969 installed <13>Feb 3 02:29:38 rpmi: libthai-0.1.24-alt1_1 1459282110 installed <13>Feb 3 02:29:38 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Feb 3 02:29:38 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Feb 3 02:29:38 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Feb 3 02:29:38 rpmi: libusb-1.0.21-alt0.M80P.1 1485147102 installed <13>Feb 3 02:29:38 rpmi: xorg-xf86vidmodeproto-devel-1:2.3.1-alt1 1294328506 installed <13>Feb 3 02:29:38 rpmi: libfontenc-1.1.2-alt1 1373978804 installed <13>Feb 3 02:29:38 rpmi: libxshmfence-1.2-alt1 1420972191 installed <13>Feb 3 02:29:38 rpmi: liblua5.3-5.3.4-alt1.M80P.1 1533735694 installed <13>Feb 3 02:29:38 rpmi: lua5.3-5.3.4-alt1.M80P.1 1533735694 installed <13>Feb 3 02:29:38 rpmi: javapackages-tools-1:4.6.0-alt9_12jpp8.1.1 1460387057 installed <13>Feb 3 02:29:38 rpmi: perl-IO-Socket-IP-0.37-alt1 1444921335 installed <13>Feb 3 02:29:38 rpmi: perl-Compress-Raw-Bzip2-2.069-alt1.1 1448470068 installed <13>Feb 3 02:29:38 rpmi: perl-IO-Compress-2.069-alt1 1444618007 installed <13>Feb 3 02:29:38 rpmi: perl-HTTP-Message-6.11-alt1 1444616672 installed <13>Feb 3 02:29:38 rpmi: perl-HTTP-Cookies-6.01-alt1 1329759964 installed <13>Feb 3 02:29:38 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Feb 3 02:29:38 rpmi: perl-Net-HTTP-6.09-alt1 1432310023 installed <13>Feb 3 02:29:38 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Feb 3 02:29:38 rpmi: perl-HTML-Parser-3.72-alt1 1455170565 installed <13>Feb 3 02:29:38 rpmi: perl-libwww-6.15-alt1 1449505512 installed <13>Feb 3 02:29:38 rpmi: libgdk-pixbuf-locales-2.36.11-alt0.M80P.1 1507198237 installed <13>Feb 3 02:29:38 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Feb 3 02:29:38 rpmi: libproxy-0.4.14-alt0.M80P.1 1491211278 installed <13>Feb 3 02:29:38 rpmi: libnspr-1:4.20-alt1 p8.216526.40 1542382588 installed <13>Feb 3 02:29:38 rpmi: libnss-3.40.0-alt0.M80P.1 p8.216526.44 1542814585 installed <13>Feb 3 02:29:38 rpmi: libidn2-2.0.4-alt3.M80P.1 1520307194 installed <13>Feb 3 02:29:38 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Feb 3 02:29:39 rpmi: libstdc++5-devel-5.3.1-alt3 1457662528 installed <13>Feb 3 02:29:39 rpmi: t1lib-5.1.2-alt5 1326979643 installed <13>Feb 3 02:29:39 rpmi: libkpathsea-2008.0-alt0.15.6 1449446882 installed <13>Feb 3 02:29:39 rpmi: libgraphite2-1.3.10-alt0.M80P.1 1496411360 installed <13>Feb 3 02:29:39 rpmi: libatk-locales-2.24.0-alt0.M80P.1 1504535386 installed <13>Feb 3 02:29:39 rpmi: libatk-2.24.0-alt0.M80P.1 1504535253 installed <13>Feb 3 02:29:39 rpmi: rpm-build-xdg-0.2-alt1 1250461503 installed <13>Feb 3 02:29:39 rpmi: shared-mime-info-1.9-alt0.M80P.1 1506021412 installed <13>Feb 3 02:29:39 rpmi: gsettings-desktop-schemas-data-3.24.1-alt0.M80P.1 1504768054 installed <13>Feb 3 02:29:39 rpmi: liblz4-1:1.7.5-alt1 1488766699 installed <13>Feb 3 02:29:39 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Feb 3 02:29:39 rpmi: libgcrypt20-1.8.3-alt3 p8.214131.100 1542819006 installed <13>Feb 3 02:29:39 rpmi: libsystemd-1:237-alt2.M80P.5 p8+219569.200.8.1 1547830942 installed <13>Feb 3 02:29:39 rpmi: libdbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Feb 3 02:29:39 rpmi: libavahi-0.6.31-alt7.M80P.1 1526318593 installed <13>Feb 3 02:29:39 rpmi: libxslt-1.1.28-alt4 1448210404 installed <13>Feb 3 02:29:39 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Feb 3 02:29:39 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Feb 3 02:29:39 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Feb 3 02:29:39 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Feb 3 02:29:39 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Feb 3 02:29:39 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Feb 3 02:29:39 rpmi: libXfixes-5.0.1-alt1 1369809606 installed <13>Feb 3 02:29:39 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Feb 3 02:29:39 rpmi: libXxf86vm-1.1.3-alt1 1369984824 installed <13>Feb 3 02:29:39 rpmi: libXi-1.7.9-alt1.M80P.1 1515766146 installed <13>Feb 3 02:29:39 rpmi: libXt-1.1.4-alt1 1369984716 installed <13>Feb 3 02:29:39 rpmi: libat-spi2-core-2.24.1-alt0.M80P.1 1504536015 installed <13>Feb 3 02:29:39 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Feb 3 02:29:39 rpmi: libGL-4:17.3.9-alt0.M80P.1 1526555825 installed <13>Feb 3 02:29:39 rpmi: libEGL-4:17.3.9-alt0.M80P.1 1526555825 installed <13>Feb 3 02:29:39 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Feb 3 02:29:39 rpmi: libfreeglut-3.0.0-alt1 1429173818 installed <13>Feb 3 02:29:39 rpmi: libwayland-egl-4:17.3.9-alt0.M80P.1 1526555825 installed <13>Feb 3 02:29:39 rpmi: plib-1.8.5-alt3.qa1 1366406092 installed <13>Feb 3 02:29:39 rpmi: libXpm-3.5.11-alt1 1391072398 installed <13>Feb 3 02:29:39 rpmi: libXmu-1.1.2-alt1 1391072528 installed <13>Feb 3 02:29:39 rpmi: libXcursor-1.1.15-alt1.M80P.1 1512373713 installed <13>Feb 3 02:29:39 rpmi: libXtst-1.2.2-alt1 1369984880 installed <13>Feb 3 02:29:39 rpmi: libXinerama-1.1.3-alt1 1369984571 installed <13>Feb 3 02:29:39 rpmi: libXcomposite-0.4.3-alt3 1297306939 installed <13>Feb 3 02:29:40 rpmi: libxcb-devel-1.12-alt2 p8.218219.300 1545313310 installed <13>Feb 3 02:29:41 rpmi: libX11-devel-3:1.6.3-alt1 1431956911 installed <13>Feb 3 02:29:41 rpmi: libGL-devel-4:17.3.9-alt0.M80P.1 1526555825 installed <13>Feb 3 02:29:41 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Feb 3 02:29:41 rpmi: libXext-devel-1.3.3-alt1 1409902932 installed <13>Feb 3 02:29:41 rpmi: libXfixes-devel-5.0.1-alt1 1369809606 installed <13>Feb 3 02:29:41 rpmi: libXt-devel-1.1.4-alt1 1369984716 installed <13>Feb 3 02:29:41 rpmi: libXrender-devel-0.9.8-alt1 1371312110 installed <13>Feb 3 02:29:41 rpmi: libXrandr-devel-1.5.0-alt1 1431936188 installed <13>Feb 3 02:29:41 rpmi: libXmu-devel-1.1.2-alt1 1391072528 installed <13>Feb 3 02:29:41 rpmi: libXi-devel-1.7.9-alt1.M80P.1 1515766146 installed <13>Feb 3 02:29:41 rpmi: libfreeglut-devel-3.0.0-alt1 1429173818 installed <13>Feb 3 02:29:41 rpmi: plib-devel-1.8.5-alt3.qa1 1366406092 installed <13>Feb 3 02:29:41 rpmi: libXxf86vm-devel-1.1.3-alt1 1369984824 installed <13>Feb 3 02:29:42 rpmi: gcc5-c++-5.3.1-alt3 1457662528 installed <13>Feb 3 02:29:42 rpmi: libpng-devel-1.5.28-alt1 1484572014 installed <13>Feb 3 02:29:42 rpmi: libalut-devel-1.1.0-alt5 1301303219 installed <13>Feb 3 02:29:42 rpmi: libexpat-devel-2.2.4-alt0.M80P.1 1503871120 installed <13>Feb 3 02:29:42 rpmi: xorg-cf-files-1.0.6-alt1 1453137637 installed <13>Feb 3 02:29:42 rpmi: rpm-build-mono-2.0.0-alt2.M80P.1 1505207074 installed <13>Feb 3 02:29:42 rpmi: imake-1.0.7-alt2 1401895768 installed <13>Feb 3 02:29:42 rpmi: libgio-2.52.3-alt0.M80P.1 1504533271 installed <13>Feb 3 02:29:42 rpmi: gobject-introspection-1.52.1-alt0.M80P.1 1504533480 installed <13>Feb 3 02:29:42 rpmi: libgdk-pixbuf-2.36.11-alt0.M80P.1 1507198160 installed <86>Feb 3 02:29:42 groupadd[56562]: group added to /etc/group: name=_keytab, GID=499 <86>Feb 3 02:29:42 groupadd[56562]: group added to /etc/gshadow: name=_keytab <86>Feb 3 02:29:42 groupadd[56562]: new group: name=_keytab, GID=499 <13>Feb 3 02:29:42 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Feb 3 02:29:42 rpmi: libp11-kit-0.23.8-alt1.M80P.1 1504877563 installed <86>Feb 3 02:29:42 groupadd[57029]: group added to /etc/group: name=messagebus, GID=498 <86>Feb 3 02:29:42 groupadd[57029]: group added to /etc/gshadow: name=messagebus <86>Feb 3 02:29:42 groupadd[57029]: new group: name=messagebus, GID=498 <86>Feb 3 02:29:42 useradd[57114]: new user: name=messagebus, UID=499, GID=498, home=/run/dbus, shell=/dev/null <13>Feb 3 02:29:42 rpmi: dbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Feb 3 02:29:42 rpmi: gobject-introspection-x11-1.52.1-alt0.M80P.1 1504533480 installed <13>Feb 3 02:29:42 rpmi: gsettings-desktop-schemas-3.24.1-alt0.M80P.1 1504768052 installed <13>Feb 3 02:29:42 rpmi: libgusb-0.2.11-alt0.M80P.1 1503526571 installed <13>Feb 3 02:29:42 rpmi: libcolord-1.3.5-alt0.M80P.1 1488875506 installed <13>Feb 3 02:29:42 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Feb 3 02:29:42 rpmi: perl-XML-SAX-0.99-alt2 1384805188 installed <13>Feb 3 02:29:42 rpmi: libharfbuzz-1.6.3-alt0.M80P.1 1509918814 installed <13>Feb 3 02:29:42 rpmi: libfreetype-2.8-alt0.M80P.3 1505462817 installed <13>Feb 3 02:29:42 rpmi: fontconfig-2.12.6-alt1.M80P.1 1506008910 installed Updating fonts cache: <29>Feb 3 02:29:43 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Feb 3 02:29:43 rpmi: libcairo-1:1.14.4-alt1 1447005495 installed <13>Feb 3 02:29:43 rpmi: libcairo-gobject-1:1.14.4-alt1 1447005495 installed <13>Feb 3 02:29:43 rpmi: libgd2-2.0.35-alt6 1366289709 installed <13>Feb 3 02:29:43 rpmi: dvipng-1.14-alt1.qa1.1 1449176640 installed <13>Feb 3 02:29:43 rpmi: libXft-2.3.2-alt1 1409902650 installed <13>Feb 3 02:29:43 rpmi: libpango-1.40.14-alt0.M80P.1 1510824230 installed <13>Feb 3 02:29:43 rpmi: libpango-gir-1.40.14-alt0.M80P.1 1510824230 installed <13>Feb 3 02:29:43 rpmi: libXfont-1.5.4-alt1.M80P.1 1512374979 installed <13>Feb 3 02:29:43 rpmi: libXfont-devel-1.5.4-alt1.M80P.1 1512374979 installed <13>Feb 3 02:29:43 rpmi: perl-XML-Simple-2.22-alt1 1449506808 installed <13>Feb 3 02:29:43 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Feb 3 02:29:45 rpmi: icon-theme-adwaita-3.24.0-alt0.M80P.1 1504567873 installed <13>Feb 3 02:29:45 rpmi: dbus-tools-gui-1.10.24-alt4.M80P.1 1518773282 installed <13>Feb 3 02:29:45 rpmi: at-spi2-core-2.24.1-alt0.M80P.1 1504536015 installed <13>Feb 3 02:29:45 rpmi: at-spi2-atk-2.24.1-alt0.M80P.1 1504536077 installed <13>Feb 3 02:29:45 rpmi: libgnutls30-3.6.5-alt2.M80P.1 p8.217493.600 1545777781 installed <13>Feb 3 02:29:45 rpmi: glib-networking-2.50.0-alt1.M80P.1 1503575484 installed <13>Feb 3 02:29:46 rpmi: libsoup-2.62.2-alt0.M80P.1 1528058397 installed <13>Feb 3 02:29:46 rpmi: libsoup-gnome-2.62.2-alt0.M80P.1 1528058397 installed <13>Feb 3 02:29:46 rpmi: librest-0.8.1-alt0.M80P.1 1509920808 installed <13>Feb 3 02:29:46 rpmi: libcups-2.1.0-alt2.M80P.2 1484827744 installed <13>Feb 3 02:29:46 rpmi: gtk-update-icon-cache-2.24.31-alt1 1473461609 installed <13>Feb 3 02:29:46 rpmi: libgdk-pixbuf-gir-2.36.11-alt0.M80P.1 1507198160 installed <13>Feb 3 02:29:46 rpmi: libatk-gir-2.24.0-alt0.M80P.1 1504535253 installed <13>Feb 3 02:29:46 rpmi: libdconf-0.26.1-alt0.M80P.1 1507197872 installed <13>Feb 3 02:29:46 rpmi: dconf-0.26.1-alt0.M80P.1 1507197872 installed <13>Feb 3 02:29:46 rpmi: libgtk+3-schemas-3.22.26-alt0.M80P.1 1510825424 installed <13>Feb 3 02:29:46 rpmi: libpolkit-0.113-alt2 1469643478 installed <86>Feb 3 02:29:46 groupadd[63474]: group added to /etc/group: name=colord, GID=497 <86>Feb 3 02:29:46 groupadd[63474]: group added to /etc/gshadow: name=colord <86>Feb 3 02:29:46 groupadd[63474]: new group: name=colord, GID=497 <86>Feb 3 02:29:46 useradd[63500]: new user: name=colord, UID=498, GID=497, home=/var/colord, shell=/dev/null <13>Feb 3 02:29:46 rpmi: colord-1.3.5-alt0.M80P.1 1488875506 installed <13>Feb 3 02:29:46 rpmi: libjson-glib-1.2.8-alt0.M80P.1 1489956779 installed <13>Feb 3 02:29:47 rpmi: libgtk+3-3.22.26-alt0.M80P.1 1510825302 installed <13>Feb 3 02:29:47 rpmi: libgtk+3-gir-3.22.26-alt0.M80P.1 1510825302 installed <13>Feb 3 02:29:47 rpmi: perl-XML-LibXML-2.0124-alt1 1458750523 installed <13>Feb 3 02:29:47 rpmi: libp11-kit-trust-0.23.8-alt1.M80P.1 1504877563 installed <13>Feb 3 02:29:47 rpmi: dbus-tools-1.10.24-alt4.M80P.1 1518773282 installed <13>Feb 3 02:29:47 rpmi: xorg-sdk-2:1.18.4-alt1.M80P.7 1512033205 installed <13>Feb 3 02:29:47 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Feb 3 02:29:47 rpmi: python3-module-six-1.10.0-alt7 1496087616 installed <13>Feb 3 02:29:47 rpmi: python3-module-cycler-0.10.0-alt1 1493854024 installed <13>Feb 3 02:29:47 rpmi: python3-module-dateutil-2.4.2-alt1.git20150728.1.1 1458152500 installed <13>Feb 3 02:29:47 rpmi: python3-module-certifi-2015.04.28-alt1.1 1457893771 installed <13>Feb 3 02:29:47 rpmi: python3-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Feb 3 02:29:47 rpmi: python3-module-webencodings-0.5.1-alt0.M80P.1 1507185481 installed <13>Feb 3 02:29:47 rpmi: python3-module-pyparsing-2.0.3-alt1.1 1458039018 installed <13>Feb 3 02:29:47 rpmi: python3-module-z3c-3.0.0-alt2.a2.dev0.git20130313.1.1.1 1460417103 installed <13>Feb 3 02:29:48 rpmi: python3-module-zc-1.0.0-alt6.2 1458024144 installed <13>Feb 3 02:29:48 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Feb 3 02:29:48 rpmi: python3-module-pycares-0.6.3-alt1.1.1 1459598195 installed <13>Feb 3 02:29:48 rpmi: python3-module-pycairo-1.13.3-alt0.M80P.1 1504561359 installed <13>Feb 3 02:29:48 rpmi: python3-module-pygobject3-3.24.1-alt1.M80P.1 1504561842 installed <13>Feb 3 02:29:48 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Feb 3 02:29:48 rpmi: python3-module-numpy-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Feb 3 02:29:48 rpmi: python3-module-zope-3.3.0-alt8.4 1458261152 installed <13>Feb 3 02:29:48 rpmi: python3-module-lxml-4.0.0-alt0.M80P.1 1507163741 installed <13>Feb 3 02:29:48 rpmi: python3-module-tornado-4.2.1-alt2.M80P.1 1496088637 installed <13>Feb 3 02:29:48 rpmi: python3-module-numpy-testing-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Feb 3 02:29:48 rpmi: python3-module-zope.interface-4.1.3-alt1.dev0.git20150601.4 1459629874 installed <13>Feb 3 02:29:48 rpmi: python3-module-html5lib-1:0.999999999-alt1.M80P.2 1507185603 installed <13>Feb 3 02:29:49 rpmi: python3-module-matplotlib-2.0.0-alt3.M80P.1 1498628280 installed <13>Feb 3 02:29:49 rpmi: python3-module-javapackages-1:4.6.0-alt9_12jpp8.1.1 1460387057 installed <13>Feb 3 02:29:49 rpmi: python3-module-matplotlib-cairo-2.0.0-alt3.M80P.1 1498628280 installed <13>Feb 3 02:29:49 rpmi: python3-module-matplotlib-gtk3-2.0.0-alt3.M80P.1 1498628280 installed <13>Feb 3 02:29:49 rpmi: rpm-build-java-1:4.6.0-alt9_12jpp8.1.1 1460387057 installed Installing TORCS-1.3.0-alt6.2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.6417 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf torcs-1.3.0 + echo 'Source #0 (TORCS-1.3.0-src.tar.bz2):' Source #0 (TORCS-1.3.0-src.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/TORCS-1.3.0-src.tar.bz2 + /bin/tar -xf - + cd torcs-1.3.0 + /bin/chmod -c -Rf u+rwX,go-w . + cd /usr/src/RPM/BUILD + echo 'Source #1 (TORCS-1.3.0-src-robots-base.tar.bz2):' Source #1 (TORCS-1.3.0-src-robots-base.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/TORCS-1.3.0-src-robots-base.tar.bz2 + /bin/tar -xf - + cd torcs-1.3.0 + /bin/chmod -c -Rf u+rwX,go-w . + cd /usr/src/RPM/BUILD + echo 'Source #2 (TORCS-1.3.0-src-robots-berniw.tar.bz2):' Source #2 (TORCS-1.3.0-src-robots-berniw.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/TORCS-1.3.0-src-robots-berniw.tar.bz2 + /bin/tar -xf - + cd torcs-1.3.0 + /bin/chmod -c -Rf u+rwX,go-w . + cd /usr/src/RPM/BUILD + echo 'Source #3 (TORCS-1.3.0-src-robots-bt.tar.bz2):' Source #3 (TORCS-1.3.0-src-robots-bt.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/TORCS-1.3.0-src-robots-bt.tar.bz2 + /bin/tar -xf - + cd torcs-1.3.0 + /bin/chmod -c -Rf u+rwX,go-w . + cd /usr/src/RPM/BUILD + echo 'Source #4 (TORCS-1.3.0-src-robots-olethros.tar.bz2):' Source #4 (TORCS-1.3.0-src-robots-olethros.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/TORCS-1.3.0-src-robots-olethros.tar.bz2 + /bin/tar -xf - + cd torcs-1.3.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (torcs-1.3.0.patch):' Patch #0 (torcs-1.3.0.patch): + /usr/bin/patch -p0 patching file Make-default.mk patching file configure.in patching file src/libs/client/Makefile patching file src/libs/Makefile patching file src/libs/raceengineclient/Makefile patching file src/libs/txml/Makefile patching file TORCS.desktop patching file src/modules/graphic/ssggraph/Makefile + echo 'Patch #3 (torcs-1.2.4-alt-remove-gdb.patch):' Patch #3 (torcs-1.2.4-alt-remove-gdb.patch): + /usr/bin/patch -p1 patching file src/linux/torcs.in + echo 'Patch #14 (torcs-stringcompare.diff):' Patch #14 (torcs-stringcompare.diff): + /usr/bin/patch -p0 patching file src/libs/confscreens/driverconfig.cpp + echo 'Patch #15 (torcs-gcc43.patch):' Patch #15 (torcs-gcc43.patch): + /usr/bin/patch -p0 patching file src/drivers/olethros/Trajectory.cpp patching file ./src/modules/simu/simuv2/SOLID-2.0/src/BBoxTree.cpp patching file ./src/modules/simu/simuv2/SOLID-2.0/src/Complex.cpp patching file ./src/modules/simu/simuv2/SOLID-2.0/src/Endpoint.cpp patching file ./src/modules/simu/simuv2/SOLID-2.0/src/Object.cpp + echo 'Patch #16 (torcs-glibc.patch):' Patch #16 (torcs-glibc.patch): + /usr/bin/patch -p0 patching file src/modules/graphic/ssggraph/grtexture.cpp patching file src/tools/trackgen/objects.cpp + echo 'Patch #17 (TORCS-1.3.0-alt-libpng15.patch):' Patch #17 (TORCS-1.3.0-alt-libpng15.patch): + /usr/bin/patch -p2 patching file src/libs/tgfclient/img.cpp + find ./ -name '*.xml' -print0 + xargs -0 sed -i 's|\xE9|e|g' + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.92854 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd torcs-1.3.0 ++ pwd ++ pwd + export TORCS_BASE=/usr/src/RPM/BUILD/torcs-1.3.0 MAKE_DEFAULT=/usr/src/RPM/BUILD/torcs-1.3.0/Make-default.mk + TORCS_BASE=/usr/src/RPM/BUILD/torcs-1.3.0 + MAKE_DEFAULT=/usr/src/RPM/BUILD/torcs-1.3.0/Make-default.mk + export 'CFLAGS= -fPIC' + CFLAGS=' -fPIC' + export 'CXXFLAGS= -fPIC' + CXXFLAGS=' -fPIC' + autoconf + CFLAGS=' -fPIC' + export CFLAGS + CXXFLAGS=' -fPIC' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --x-libraries=/usr/lib64 configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-alt-linux-gcc... none checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking dependency style of x86_64-alt-linux-g++... none checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking for ar... ar checking for ld... ld 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 byte ordering is bigendian... no checking for X... libraries /usr/lib64, headers checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking GL/glut.h usability... yes checking GL/glut.h presence... yes checking for GL/glut.h... yes checking GL/glx.h usability... yes checking GL/glx.h presence... yes checking for GL/glx.h... yes checking X11/Xlib.h usability... yes checking X11/Xlib.h presence... yes checking for X11/Xlib.h... yes checking X11/Xatom.h usability... yes checking X11/Xatom.h presence... yes checking for X11/Xatom.h... yes checking X11/keysym.h usability... yes checking X11/keysym.h presence... yes checking for X11/keysym.h... yes checking plib/ssg.h usability... yes checking plib/ssg.h presence... yes checking for plib/ssg.h... yes checking AL/al.h usability... yes checking AL/al.h presence... yes checking for AL/al.h... yes checking AL/alut.h usability... yes checking AL/alut.h presence... yes checking for AL/alut.h... yes checking for sin in -lm... yes checking for XOpenDisplay in -lX11... yes checking for XShmCreateImage in -lXext... yes checking for IceSetIOErrorHandler in -lICE... yes checking for SmsSetErrorHandler in -lSM... yes checking for XtDisplay in -lXt... yes checking for XOpenDevice in -lXi... yes checking for XmuSimpleErrorHandler in -lXmu... yes checking for XF86VidModeSetViewPort in -lXxf86vm... yes checking for XRenderSetSubpixelOrder in -lXrender... yes checking for XRRQueryVersion in -lXrandr... yes checking for alEnable in -lopenal... yes checking for alutLoadWAVFile in -lalut... yes checking for dlopen in -ldl... yes checking for dlopen... yes checking for strndup... yes checking for crc32 in -lz... yes checking for png_init_io in -lpng... yes checking for XML_Parse in -lexpat... yes checking for glGetString in -lGL... yes checking for gluOrtho2D in -lGLU... yes checking for glutSwapBuffers in -lglut... yes checking for main in -lplibul... yes checking for main in -lplibsg... yes checking for main in -lplibsl... yes checking for main in -lplibsm... yes checking for main in -lplibssg... yes checking for main in -lplibssgaux... yes checking for plib 1.8.3 or newer... yes checking for GL_VERSION_1_3... yes checking for GL_ARB_texture_compression... yes configure: creating ./config.status config.status: creating Make-config config.status: WARNING: 'Make-config.in' seems to ignore the --datarootdir setting config.status: creating src/linux/torcs config.status: WARNING: 'src/linux/torcs.in' seems to ignore the --datarootdir setting config.status: creating src/tools/accc/accc config.status: WARNING: 'src/tools/accc/accc.in' seems to ignore the --datarootdir setting config.status: creating src/tools/nfs2ac/nfs2ac config.status: WARNING: 'src/tools/nfs2ac/nfs2ac.in' seems to ignore the --datarootdir setting config.status: creating src/tools/nfsperf/nfsperf config.status: WARNING: 'src/tools/nfsperf/nfsperf.in' seems to ignore the --datarootdir setting config.status: creating src/tools/texmapper/texmapper config.status: WARNING: 'src/tools/texmapper/texmapper.in' seems to ignore the --datarootdir setting config.status: creating src/tools/trackgen/trackgen config.status: WARNING: 'src/tools/trackgen/trackgen.in' seems to ignore the --datarootdir setting config.status: creating src/doc/torcsdoc.conf config.status: creating src/tools/package/specfiles/torcs-data.spec config.status: creating src/tools/package/specfiles/torcs-data-cars-Patwo-Design.spec config.status: creating src/tools/package/specfiles/torcs-data-cars-kcendra-gt.spec config.status: creating src/tools/package/specfiles/torcs-data-cars-kcendra-sport.spec config.status: creating src/tools/package/specfiles/torcs-data-cars-kcendra-roadsters.spec config.status: creating src/tools/package/specfiles/torcs-data-cars-extra.spec config.status: creating src/tools/package/specfiles/torcs-data-tracks-base.spec config.status: creating src/tools/package/specfiles/torcs-robot-K1999.spec config.status: creating src/tools/package/specfiles/torcs-robot-base.spec config.status: creating src/tools/package/specfiles/torcs-robot-berniw.spec config.status: creating src/tools/package/specfiles/torcs.spec config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --without-included-gettext + make make: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0' make[1]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src' make[2]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/interfaces' mkdir /usr/src/RPM/BUILD/torcs-1.3.0/export mkdir /usr/src/RPM/BUILD/torcs-1.3.0/export/include Exporting car.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/car.h Exporting graphic.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/graphic.h Exporting js.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/js.h Exporting playerpref.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/playerpref.h Exporting raceman.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/raceman.h Exporting replay.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/replay.h Exporting robot.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/robot.h Exporting simu.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/simu.h Exporting telemetry.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/telemetry.h Exporting track.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/track.h make[2]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/interfaces' make[2]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/txml' Exporting xml.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/xml.h Exporting xmlparse.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/xmlparse.h make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/txml' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/tgf' Exporting tgf.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/tgf.h Exporting os.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/os.h make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/tgf' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/tgfclient' Exporting tgfclient.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/tgfclient.h Exporting screen_properties.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/screen_properties.h Exporting glfeatures.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/glfeatures.h make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/tgfclient' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/confscreens' Exporting confscreens.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/confscreens.h Exporting driverconfig.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/driverconfig.h Exporting joystickconfig.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/joystickconfig.h Exporting mouseconfig.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/mouseconfig.h Exporting controlconfig.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/controlconfig.h Exporting graphconfig.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/graphconfig.h Exporting simuconfig.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/simuconfig.h Exporting soundconfig.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/soundconfig.h Exporting openglconfig.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/openglconfig.h make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/confscreens' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/racescreens' Exporting racescreens.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/racescreens.h make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/racescreens' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/robottools' Exporting robottools.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/robottools.h make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/robottools' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/raceengineclient' Exporting singleplayer.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/singleplayer.h Exporting raceinit.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/raceinit.h make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/raceengineclient' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/client' Exporting client.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/client.h Exporting exitmenu.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/exitmenu.h make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/client' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/learning' mkdir /usr/src/RPM/BUILD/torcs-1.3.0/export/include/learning Exporting policy.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/learning/policy.h Exporting ann_policy.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/learning/ann_policy.h Exporting ANN.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/learning/ANN.h Exporting learn_debug.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/learning/learn_debug.h Exporting real.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/learning/real.h Exporting string_utils.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/learning/string_utils.h Exporting List.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/learning/List.h Exporting MathFunctions.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/learning/MathFunctions.h Exporting Distribution.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/learning/Distribution.h make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/learning' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/portability' Exporting portability.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/portability.h make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/portability' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/math' mkdir /usr/src/RPM/BUILD/torcs-1.3.0/export/include/tmath Exporting linalg_t.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/tmath/linalg_t.h Exporting v2_t.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/tmath/v2_t.h Exporting v3_t.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/tmath/v3_t.h Exporting v4_t.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/tmath/v4_t.h Exporting straight2_t.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/tmath/straight2_t.h make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/math' make[2]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs' make[2]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/linux' Exporting osspec.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/osspec.h make[2]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/linux' make[2]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu' make[4]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu/simuv2' make[5]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu/simuv2/SOLID-2.0' make[6]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu/simuv2/SOLID-2.0/include' make[7]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu/simuv2/SOLID-2.0/include/3D' mkdir /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D Exporting Basic.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Basic.h Exporting Matrix.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Matrix.h Exporting Point.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Point.h Exporting Quaternion.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Quaternion.h Exporting Tuple3.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Tuple3.h Exporting Tuple4.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Tuple4.h Exporting Vector.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Vector.h make[7]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu/simuv2/SOLID-2.0/include/3D' make[7]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu/simuv2/SOLID-2.0/include/SOLID' mkdir /usr/src/RPM/BUILD/torcs-1.3.0/export/include/SOLID Exporting solid.h to /usr/src/RPM/BUILD/torcs-1.3.0/export/include/SOLID/solid.h make[7]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu/simuv2/SOLID-2.0/include/SOLID' make[6]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu/simuv2/SOLID-2.0/include' make[5]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu/simuv2/SOLID-2.0' make[4]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu/simuv2' make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu' make[2]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules' make[1]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src' make[1]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src' make[2]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/txml' make[4]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/txml/gennmtab' x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c gennmtab.c In file included from /usr/include/string.h:25:0, from gennmtab.c:22: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ gennmtab.o -L/usr/src/RPM/BUILD/torcs-1.3.0/export/lib -L/usr/lib64 -lalut -L/usr/lib -lplibssgaux -lplibssg -lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lexpat -lpng -lz -ldl -lopenal -lXrandr -lXrender -lXxf86vm -lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm -o gennmtab make[4]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/txml/gennmtab' make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/txml' make[2]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs' make[2]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/tools' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/tools/accc' make[3]: Nothing to be done for `tools'. make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/tools/accc' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/tools/nfs2ac' make[3]: Nothing to be done for `tools'. make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/tools/nfs2ac' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/tools/nfsperf' make[3]: Nothing to be done for `tools'. make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/tools/nfsperf' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/tools/package' make[3]: Nothing to be done for `tools'. make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/tools/package' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/tools/texmapper' make[3]: Nothing to be done for `tools'. make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/tools/texmapper' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/tools/trackgen' make[3]: Nothing to be done for `tools'. make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/tools/trackgen' make[2]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/tools' make[2]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/linux' make[2]: Nothing to be done for `tools'. make[2]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/linux' make[1]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src' make[1]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src' make[2]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/confscreens' x86_64-alt-linux-gcc -E -M -D__DEPEND__ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H controlconfig.cpp graphconfig.cpp mouseconfig.cpp driverconfig.cpp joystickconfig.cpp simuconfig.cpp soundconfig.cpp openglconfig.cpp > .depend x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c controlconfig.cpp In file included from /usr/include/stdio.h:27:0, from controlconfig.cpp:27: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:65:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp: In function 'void onSteerSensChange(void*)': controlconfig.cpp:96:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiEditboxSetString(scrHandle, SteerSensEditId, ""); ^ controlconfig.cpp: In function 'void onDeadZoneChange(void*)': controlconfig.cpp:113:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiEditboxSetString(scrHandle, SteerSensEditId, ""); ^ controlconfig.cpp: In function 'void onSave(void*)': controlconfig.cpp:124:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(PrefHdle, CurrentSection, HM_ATT_STEER_SENS, NULL, SteerSensVal); ^ controlconfig.cpp:125:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(PrefHdle, CurrentSection, HM_ATT_STEER_DEAD, NULL, DeadZoneVal); ^ controlconfig.cpp:132:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(PrefHdle, CurrentSection, Cmd[i].name, ""); ^ controlconfig.cpp:145:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmWriteFile(NULL, PrefHdle, "preferences"); ^ controlconfig.cpp: In function 'void updateButtonText()': controlconfig.cpp:162:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiButtonSetText (scrHandle, Cmd[i].Id, "---"); ^ controlconfig.cpp: In function 'int onKeyAction(unsigned char, int, int)': controlconfig.cpp:203:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(PrefHdle, CurrentSection, Cmd[CurrentCmd].name, ""); ^ controlconfig.cpp: In function 'void onPush(void*)': controlconfig.cpp:336:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiButtonSetText (scrHandle, Cmd[i].Id, ""); ^ controlconfig.cpp:339:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(PrefHdle, CurrentSection, Cmd[i].name, ""); ^ controlconfig.cpp: In function 'void onActivate(void*)': controlconfig.cpp:371:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] prm = "---"; ^ controlconfig.cpp:373:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] prm = GfParmGetStr(PrefHdle, HM_SECT_MOUSEPREF, Cmd[cmd].name, prm); ^ controlconfig.cpp:379:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Cmd[cmd].min = GfParmGetNum(PrefHdle, HM_SECT_MOUSEPREF, Cmd[cmd].minName, NULL, Cmd[cmd].min); ^ controlconfig.cpp:383:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Cmd[cmd].max = GfParmGetNum(PrefHdle, HM_SECT_MOUSEPREF, Cmd[cmd].maxName, NULL, Cmd[cmd].max); ^ controlconfig.cpp:387:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Cmd[cmd].pow = GfParmGetNum(PrefHdle, HM_SECT_MOUSEPREF, Cmd[cmd].powName, NULL, Cmd[cmd].pow); ^ controlconfig.cpp:392:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SteerSensVal = GfParmGetNum(PrefHdle, HM_SECT_MOUSEPREF, HM_ATT_STEER_SENS, NULL, 0); ^ controlconfig.cpp:392:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:393:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SteerSensVal = GfParmGetNum(PrefHdle, CurrentSection, HM_ATT_STEER_SENS, NULL, SteerSensVal); ^ controlconfig.cpp:394:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] DeadZoneVal = GfParmGetNum(PrefHdle, HM_SECT_MOUSEPREF, HM_ATT_STEER_DEAD, NULL, 0); ^ controlconfig.cpp:394:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] controlconfig.cpp:395:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] DeadZoneVal = GfParmGetNum(PrefHdle, CurrentSection, HM_ATT_STEER_DEAD, NULL, DeadZoneVal); ^ controlconfig.cpp: In function 'void* TorcsControlMenuInit(void*, int)': controlconfig.cpp:438:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiTitleCreate(scrHandle, "Control Configuration", 0); ^ controlconfig.cpp:440:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(scrHandle, "data/img/splash-mouseconf.png"); ^ controlconfig.cpp:452:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)i, onPush, NULL, (tfuiCallback)NULL, onFocusLost); ^ controlconfig.cpp:452:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (void*)i, onPush, NULL, (tfuiCallback)NULL, onFocusLost); ^ controlconfig.cpp:461:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Steer Sensibility", GFUI_FONT_MEDIUM, 30, 90, GFUI_ALIGN_HL_VB, 0); ^ controlconfig.cpp:463:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 200, 90, 80, 8, NULL, (tfuiCallback)NULL, onSteerSensChange); ^ controlconfig.cpp:465:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Steer Dead Zone", GFUI_FONT_MEDIUM, 340, 90, GFUI_ALIGN_HL_VB, 0); ^ controlconfig.cpp:467:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 510, 90, 80, 8, NULL, (tfuiCallback)NULL, onDeadZoneChange); ^ controlconfig.cpp:470:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 13, "Save", NULL, onSave, NULL); ^ controlconfig.cpp:472:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, onSave, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ controlconfig.cpp:475:111: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] MouseCalMenuInit(scrHandle, Cmd, maxCmd), DevCalibrate, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ controlconfig.cpp:478:107: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] JoyCalMenuInit(scrHandle, Cmd, maxCmd), DevCalibrate, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ controlconfig.cpp:480:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 27, "Cancel", prevMenu, GfuiScreenActivate, NULL); ^ controlconfig.cpp:482:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] prevMenu, GfuiScreenActivate, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c graphconfig.cpp In file included from /usr/include/stdio.h:27:0, from graphconfig.cpp:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ graphconfig.cpp: In function 'void SaveGraphicOptions(void*)': graphconfig.cpp:58:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(grHandle, GR_SCT_GRAPHIC, GR_ATT_FOVFACT, "%", FovFactorValue); ^ graphconfig.cpp:58:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] graphconfig.cpp:58:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] graphconfig.cpp:59:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(grHandle, GR_SCT_GRAPHIC, GR_ATT_SMOKENB, NULL, SmokeValue); ^ graphconfig.cpp:59:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] graphconfig.cpp:60:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(grHandle, GR_SCT_GRAPHIC, GR_ATT_MAXSTRIPBYWHEEL, NULL, SkidValue); ^ graphconfig.cpp:60:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] graphconfig.cpp:61:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(grHandle, GR_SCT_GRAPHIC, GR_ATT_LODFACTOR, NULL, LodFactorValue); ^ graphconfig.cpp:61:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] graphconfig.cpp:62:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmWriteFile(NULL, grHandle, "graph"); ^ graphconfig.cpp: In function 'void* GraphMenuInit(void*)': graphconfig.cpp:124:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] scrHandle = GfuiMenuScreenCreate("Graphic Configuration"); ^ graphconfig.cpp:126:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(scrHandle, "data/img/splash-graphconf.png"); ^ graphconfig.cpp:136:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Visibility (%):", GFUI_FONT_MEDIUM, x, y, GFUI_ALIGN_HL_VB, 0); ^ graphconfig.cpp:137:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] FovFactorValue = (int)GfParmGetNum(grHandle, GR_SCT_GRAPHIC, GR_ATT_FOVFACT, "%", 100.0); ^ graphconfig.cpp:137:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] graphconfig.cpp:137:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] graphconfig.cpp:143:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Smoke:", GFUI_FONT_MEDIUM, x, y, GFUI_ALIGN_HL_VB, 0); ^ graphconfig.cpp:144:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SmokeValue = (int)GfParmGetNum(grHandle, GR_SCT_GRAPHIC, GR_ATT_SMOKENB, NULL, 300.0); ^ graphconfig.cpp:144:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] graphconfig.cpp:150:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Skid Marks:", GFUI_FONT_MEDIUM, x, y, GFUI_ALIGN_HL_VB, 0); ^ graphconfig.cpp:151:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SkidValue = (int)GfParmGetNum(grHandle, GR_SCT_GRAPHIC, GR_ATT_MAXSTRIPBYWHEEL, NULL, 20.0); ^ graphconfig.cpp:151:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] graphconfig.cpp:157:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "LOD factor:", GFUI_FONT_MEDIUM, x, y, GFUI_ALIGN_HL_VB, 0); ^ graphconfig.cpp:158:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LodFactorValue = GfParmGetNum(grHandle, GR_SCT_GRAPHIC, GR_ATT_LODFACTOR, NULL, 1.0); ^ graphconfig.cpp:158:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] graphconfig.cpp:165:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] prevMenu, SaveGraphicOptions, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ graphconfig.cpp:168:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] prevMenu, GfuiScreenActivate, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ graphconfig.cpp:170:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 27, "Cancel", prevMenu, GfuiScreenActivate, NULL); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c mouseconfig.cpp In file included from /usr/include/stdio.h:27:0, from mouseconfig.cpp:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ mouseconfig.cpp:62:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ mouseconfig.cpp:62:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] mouseconfig.cpp:62:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] mouseconfig.cpp:62:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] mouseconfig.cpp:62:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] mouseconfig.cpp:62:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] mouseconfig.cpp: In function 'void* MouseCalMenuInit(void*, tCmdInfo*, int)': mouseconfig.cpp:174:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiTitleCreate(scrHandle2, "Mouse Calibration", 0); ^ mouseconfig.cpp:177:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(scrHandle2, "data/img/splash-mousecal.png"); ^ mouseconfig.cpp:183:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] InstId = GfuiLabelCreate(scrHandle2, "", GFUI_FONT_MEDIUM, 320, 80, GFUI_ALIGN_HC_VB, 60); ^ mouseconfig.cpp:186:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] prevMenu, GfuiScreenActivate, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ mouseconfig.cpp:189:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, onActivate2, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ mouseconfig.cpp:164:9: warning: variable 'x' set but not used [-Wunused-but-set-variable] int x, y, dy; ^ mouseconfig.cpp:164:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x, y, dy; ^ mouseconfig.cpp:164:15: warning: variable 'dy' set but not used [-Wunused-but-set-variable] int x, y, dy; ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c driverconfig.cpp In file included from /usr/include/stdio.h:27:0, from driverconfig.cpp:20: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ driverconfig.cpp:34:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *level_str[] = { ROB_VAL_ROOKIE, ROB_VAL_AMATEUR, ROB_VAL_SEMI_PRO, ROB_VAL_PRO }; ^ driverconfig.cpp:34:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:34:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:34:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:109:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *Yn[] = {HM_VAL_YES, HM_VAL_NO}; ^ driverconfig.cpp:109:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp: In function 'void refreshEditVal()': driverconfig.cpp:115:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiEditboxSetString(scrHandle, NameEditId, ""); ^ driverconfig.cpp:118:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiEditboxSetString(scrHandle, RaceNumEditId, ""); ^ driverconfig.cpp:121:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelSetText(scrHandle, CarEditId, ""); ^ driverconfig.cpp:124:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelSetText(scrHandle, CatEditId, ""); ^ driverconfig.cpp:126:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiEditboxSetString(scrHandle, RaceNumEditId, ""); ^ driverconfig.cpp:129:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelSetText(scrHandle, TransEditId, ""); ^ driverconfig.cpp:131:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiEditboxSetString(scrHandle, PitsEditId, ""); ^ driverconfig.cpp:134:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelSetText(scrHandle, SkillId, ""); ^ driverconfig.cpp:136:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelSetText(scrHandle, AutoReverseId, ""); ^ driverconfig.cpp: In function 'void GenCarsInfo()': driverconfig.cpp:197:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] files = GfDirGetList("categories"); ^ driverconfig.cpp:218:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] files = GfDirGetList("cars"); ^ driverconfig.cpp:232:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = GfParmGetStr(carparam, SECT_CAR, PRM_CATEGORY, ""); ^ driverconfig.cpp:232:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:232:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:254:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Removing empty category %s\n", tmpCat->_DispName); ^ driverconfig.cpp: In function 'int GenDrvList()': driverconfig.cpp:320:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driver = GfParmGetStr(drvinfo, sstring, ROB_ATTR_NAME, ""); ^ driverconfig.cpp:320:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:323:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PlayersInfo[i]._Name = dllname; ^ driverconfig.cpp:332:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PlayersInfo[i]._Name = dllname; ^ driverconfig.cpp:334:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = GfParmGetStr(drvinfo, sstring, ROB_ATTR_LEVEL, level_str[0]); ^ driverconfig.cpp:341:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = GfParmGetStr(drvinfo, sstring, ROB_ATTR_CAR, ""); ^ driverconfig.cpp:341:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:356:101: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PlayersInfo[i].racenumber = (int)GfParmGetNum(drvinfo, sstring, ROB_ATTR_RACENUM, (char*)NULL, 0); ^ driverconfig.cpp:357:101: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PlayersInfo[i].color[0] = (float)GfParmGetNum(drvinfo, sstring, ROB_ATTR_RED, (char*)NULL, 1.0); ^ driverconfig.cpp:358:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PlayersInfo[i].color[1] = (float)GfParmGetNum(drvinfo, sstring, ROB_ATTR_GREEN, (char*)NULL, 1.0);; ^ driverconfig.cpp:359:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PlayersInfo[i].color[2] = (float)GfParmGetNum(drvinfo, sstring, ROB_ATTR_BLUE, (char*)NULL, 0.5);; ^ driverconfig.cpp:374:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = GfParmGetStr(PrefHdle, sstring, HM_ATT_TRANS, HM_VAL_AUTO); ^ driverconfig.cpp:374:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:376:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PlayersInfo[i].transmission = HM_VAL_AUTO; ^ driverconfig.cpp:378:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PlayersInfo[i].transmission = HM_VAL_MANUAL; ^ driverconfig.cpp:380:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PlayersInfo[i].nbpitstops = (int)GfParmGetNum(PrefHdle, sstring, HM_ATT_NBPITS, (char*)NULL, 0); ^ driverconfig.cpp:381:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!strcmp(GfParmGetStr(PrefHdle, sstring, HM_ATT_AUTOREVERSE, Yn[0]), Yn[0])) { ^ driverconfig.cpp: In function 'void SaveDrvList(void*)': driverconfig.cpp:409:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(drvinfo, str, ROB_ATTR_NAME, ""); ^ driverconfig.cpp:409:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:411:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(drvinfo, str, ROB_ATTR_NAME, PlayersInfo[i]._DispName); ^ driverconfig.cpp:412:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(drvinfo, str, ROB_ATTR_CAR, PlayersInfo[i].carinfo->_Name); ^ driverconfig.cpp:413:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(drvinfo, str, ROB_ATTR_RACENUM, (char*)NULL, PlayersInfo[i].racenumber); ^ driverconfig.cpp:414:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(drvinfo, str, ROB_ATTR_RED, (char*)NULL, PlayersInfo[i].color[0]); ^ driverconfig.cpp:415:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(drvinfo, str, ROB_ATTR_GREEN, (char*)NULL, PlayersInfo[i].color[1]); ^ driverconfig.cpp:416:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(drvinfo, str, ROB_ATTR_BLUE, (char*)NULL, PlayersInfo[i].color[2]); ^ driverconfig.cpp:417:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(drvinfo, str, ROB_ATTR_TYPE, ROB_VAL_HUMAN); ^ driverconfig.cpp:417:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:418:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(drvinfo, str, ROB_ATTR_LEVEL, level_str[PlayersInfo[i].skilllevel]); ^ driverconfig.cpp:421:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmWriteFile(NULL, drvinfo, dllname); ^ driverconfig.cpp:427:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(PrefHdle, str, HM_ATT_TRANS, PlayersInfo[i].transmission); ^ driverconfig.cpp:428:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(PrefHdle, str, HM_ATT_NBPITS, (char*)NULL, (tdble)PlayersInfo[i].nbpitstops); ^ driverconfig.cpp:429:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(PrefHdle, str, HM_ATT_AUTOREVERSE, Yn[PlayersInfo[i].autoreverse]); ^ driverconfig.cpp:431:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmWriteFile(NULL, PrefHdle, "preferences"); ^ driverconfig.cpp: In function 'void ChangeTrans(void*)': driverconfig.cpp:585:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] curPlayer->transmission = HM_VAL_AUTO; ^ driverconfig.cpp:587:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] curPlayer->transmission = HM_VAL_MANUAL; ^ driverconfig.cpp: In function 'void* TorcsDriverMenuInit(void*)': driverconfig.cpp:612:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiTitleCreate(scrHandle, "Player Configuration", 0); ^ driverconfig.cpp:614:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(scrHandle, "data/img/splash-qrdrv.png"); ^ driverconfig.cpp:616:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Players", GFUI_FONT_LARGE, 496, 400, GFUI_ALIGN_HC_VB, 0); ^ driverconfig.cpp:625:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, DeletePlayer, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverconfig.cpp:629:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, ConfControls, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverconfig.cpp:644:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Name:", GFUI_FONT_MEDIUM, x, y, GFUI_ALIGN_HL_VB, 0); ^ driverconfig.cpp:646:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x2+10, y, 180, 16, NULL, (tfuiCallback)NULL, ChangeName); ^ driverconfig.cpp:649:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Category:", GFUI_FONT_MEDIUM, x, y, GFUI_ALIGN_HL_VB, 0); ^ driverconfig.cpp:654:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverconfig.cpp:654:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:654:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:654:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:659:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverconfig.cpp:659:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:659:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:659:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:660:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CatEditId = GfuiLabelCreate(scrHandle, "", GFUI_FONT_MEDIUM_C, x3, y, GFUI_ALIGN_HC_VB, 32); ^ driverconfig.cpp:664:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Car:", GFUI_FONT_MEDIUM, x, y, GFUI_ALIGN_HL_VB, 0); ^ driverconfig.cpp:669:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverconfig.cpp:669:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:669:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:669:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:674:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverconfig.cpp:674:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:674:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:674:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:675:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CarEditId = GfuiLabelCreate(scrHandle, "", GFUI_FONT_MEDIUM_C, x3, y, GFUI_ALIGN_HC_VB, 32); ^ driverconfig.cpp:679:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Race Number:", GFUI_FONT_MEDIUM, x, y, GFUI_ALIGN_HL_VB, 0); ^ driverconfig.cpp:681:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x2+10, y, 0, 2, NULL, (tfuiCallback)NULL, ChangeNum); ^ driverconfig.cpp:683:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Transmission:", GFUI_FONT_MEDIUM, x, y, GFUI_ALIGN_HL_VB, 0); ^ driverconfig.cpp:688:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverconfig.cpp:688:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:688:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:688:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:693:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverconfig.cpp:693:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:693:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:693:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:694:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TransEditId = GfuiLabelCreate(scrHandle, "", GFUI_FONT_MEDIUM_C, x3, y, GFUI_ALIGN_HC_VB, 32); ^ driverconfig.cpp:698:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Pit Stops:", GFUI_FONT_MEDIUM, x, y, GFUI_ALIGN_HL_VB, 0); ^ driverconfig.cpp:700:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x2+10, y, 0, 2, NULL, (tfuiCallback)NULL, ChangePits); ^ driverconfig.cpp:702:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Level:", GFUI_FONT_MEDIUM, x, y, GFUI_ALIGN_HL_VB, 0); ^ driverconfig.cpp:707:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverconfig.cpp:707:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:707:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:707:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:712:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverconfig.cpp:712:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:712:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:712:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:713:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SkillId = GfuiLabelCreate(scrHandle, "", GFUI_FONT_MEDIUM_C, x3, y, GFUI_ALIGN_HC_VB, 32); ^ driverconfig.cpp:717:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Auto Reverse:", GFUI_FONT_MEDIUM, x, y, GFUI_ALIGN_HL_VB, 0); ^ driverconfig.cpp:722:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverconfig.cpp:722:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:722:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:722:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:727:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverconfig.cpp:727:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:727:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:727:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverconfig.cpp:728:99: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] AutoReverseId = GfuiLabelCreate(scrHandle, "", GFUI_FONT_MEDIUM_C, x3, y, GFUI_ALIGN_HC_VB, 32); ^ driverconfig.cpp:732:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, SaveDrvList, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverconfig.cpp:735:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] prevMenu, GfuiScreenActivate, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverconfig.cpp:737:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 13, "Save Drivers", NULL, SaveDrvList, NULL); ^ driverconfig.cpp:738:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 27, "Cancel Selection", prevMenu, GfuiScreenActivate, NULL); ^ driverconfig.cpp:739:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_F12, "Screen-Shot", NULL, GfuiScreenShot, NULL); ^ driverconfig.cpp:740:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_LEFT, "Previous Car", (void*)0, ChangeCar, NULL); ^ driverconfig.cpp:741:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_RIGHT, "Next Car", (void*)1, ChangeCar, NULL); ^ driverconfig.cpp:742:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_UP, "Previous Car Category", (void*)0, ChangeCat, NULL); ^ driverconfig.cpp:743:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_DOWN, "Next Car Category", (void*)1, ChangeCat, NULL); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c joystickconfig.cpp In file included from /usr/include/stdio.h:27:0, from joystickconfig.cpp:21: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ joystickconfig.cpp:59:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ joystickconfig.cpp:59:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] joystickconfig.cpp:59:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] joystickconfig.cpp:59:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] joystickconfig.cpp:59:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] joystickconfig.cpp:59:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] joystickconfig.cpp:59:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] joystickconfig.cpp:59:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] joystickconfig.cpp:64:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *LabName[] = { "Steer", "Throttle", "Brake", "Clutch" }; ^ joystickconfig.cpp:64:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] joystickconfig.cpp:64:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] joystickconfig.cpp:64:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] joystickconfig.cpp: In function 'void onActivate(void*)': joystickconfig.cpp:188:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelSetText(scrHandle2, LabAxisId[i], "---"); ^ joystickconfig.cpp:190:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelSetText(scrHandle2, LabMinId[i], ""); ^ joystickconfig.cpp:191:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelSetText(scrHandle2, LabMaxId[i], ""); ^ joystickconfig.cpp: In function 'void* JoyCalMenuInit(void*, tCmdInfo*, int)': joystickconfig.cpp:209:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiTitleCreate(scrHandle2, "Joystick Calibration", 0); ^ joystickconfig.cpp:212:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(scrHandle2, "data/img/splash-joycal.png"); ^ joystickconfig.cpp:220:112: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LabAxisId[i] = GfuiLabelCreate(scrHandle2, " ", GFUI_FONT_MEDIUM, 2 * x, y, GFUI_ALIGN_HC_VC, 0); ^ joystickconfig.cpp:221:112: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LabMinId[i] = GfuiLabelCreate(scrHandle2, " ", GFUI_FONT_MEDIUM, 3 * x, y, GFUI_ALIGN_HC_VC, 0); ^ joystickconfig.cpp:222:112: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LabMaxId[i] = GfuiLabelCreate(scrHandle2, " ", GFUI_FONT_MEDIUM, 4 * x, y, GFUI_ALIGN_HC_VC, 0); ^ joystickconfig.cpp:240:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] prevMenu, onBack, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ joystickconfig.cpp:243:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, onActivate, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c simuconfig.cpp In file included from /usr/include/stdio.h:27:0, from simuconfig.cpp:25: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ simuconfig.cpp:37:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *simuVersionList[] = {"simuv2", "simuv3"}; ^ simuconfig.cpp:37:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] simuconfig.cpp: In function 'void ReadSimuCfg()': simuconfig.cpp:58:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] versionName = GfParmGetStr(paramHandle, "Modules", "simu", simuVersionList[0]); ^ simuconfig.cpp:58:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] simuconfig.cpp: In function 'void SaveSimuVersion(void*)': simuconfig.cpp:80:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(paramHandle, "Modules", "simu", simuVersionList[curVersion]); ^ simuconfig.cpp:80:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] simuconfig.cpp:81:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmWriteFile(NULL, paramHandle, "raceengine"); ^ simuconfig.cpp: In function 'void* SimuMenuInit(void*)': simuconfig.cpp:127:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiTitleCreate(scrHandle, "Simulation Configuration", 0); ^ simuconfig.cpp:128:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(scrHandle, "data/img/splash-simucfg.png"); ^ simuconfig.cpp:138:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Simulation version:", GFUI_FONT_MEDIUM, x, y, GFUI_ALIGN_HL_VB, 0); ^ simuconfig.cpp:143:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ simuconfig.cpp:143:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] simuconfig.cpp:143:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] simuconfig.cpp:143:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] simuconfig.cpp:148:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ simuconfig.cpp:148:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] simuconfig.cpp:148:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] simuconfig.cpp:148:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] simuconfig.cpp:149:99: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SimuVersionId = GfuiLabelCreate(scrHandle, "", GFUI_FONT_MEDIUM_C, x3, y, GFUI_ALIGN_HC_VB, 32); ^ simuconfig.cpp:153:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, SaveSimuVersion, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ simuconfig.cpp:156:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] prevMenu, GfuiScreenActivate, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ simuconfig.cpp:158:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 13, "Save", NULL, SaveSimuVersion, NULL); ^ simuconfig.cpp:159:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 27, "Cancel Selection", prevMenu, GfuiScreenActivate, NULL); ^ simuconfig.cpp:160:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_F12, "Screen-Shot", NULL, GfuiScreenShot, NULL); ^ simuconfig.cpp:161:104: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_LEFT, "Previous Version in list", (void*)0, ChangeSimuVersion, NULL); ^ simuconfig.cpp:162:101: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_RIGHT, "Next Version in list", (void*)1, ChangeSimuVersion, NULL); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c soundconfig.cpp In file included from /usr/include/stdio.h:27:0, from soundconfig.cpp:25: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ soundconfig.cpp:39:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GR_ATT_SOUND_STATE_DISABLED}; ^ soundconfig.cpp:39:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] soundconfig.cpp:39:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] soundconfig.cpp: In function 'void readSoundCfg()': soundconfig.cpp:64:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] optionName = GfParmGetStr(paramHandle, GR_SCT_SOUND, GR_ATT_SOUND_STATE, soundOptionList[0]); ^ soundconfig.cpp:64:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] soundconfig.cpp:73:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] VolumeValue = GfParmGetNum(paramHandle, GR_SCT_SOUND, GR_ATT_SOUND_VOLUME, "%", 100.0f); ^ soundconfig.cpp:73:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] soundconfig.cpp:73:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] soundconfig.cpp: In function 'void saveSoundOption(void*)': soundconfig.cpp:93:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(paramHandle, GR_SCT_SOUND, GR_ATT_SOUND_STATE, soundOptionList[curOption]); ^ soundconfig.cpp:93:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] soundconfig.cpp:94:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(paramHandle, GR_SCT_SOUND, GR_ATT_SOUND_VOLUME, "%", VolumeValue); ^ soundconfig.cpp:94:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] soundconfig.cpp:94:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] soundconfig.cpp:95:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmWriteFile(NULL, paramHandle, "sound"); ^ soundconfig.cpp: In function 'void* SoundMenuInit(void*)': soundconfig.cpp:155:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiTitleCreate(scrHandle, "Sound Configuration", 0); ^ soundconfig.cpp:156:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(scrHandle, "data/img/splash-qrdrv.png"); ^ soundconfig.cpp:167:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Sound System:", GFUI_FONT_MEDIUM, x, y, GFUI_ALIGN_HL_VB, 0); ^ soundconfig.cpp:172:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ soundconfig.cpp:172:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] soundconfig.cpp:172:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] soundconfig.cpp:172:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] soundconfig.cpp:178:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ soundconfig.cpp:178:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] soundconfig.cpp:178:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] soundconfig.cpp:178:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] soundconfig.cpp:180:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SoundOptionId = GfuiLabelCreate(scrHandle, "", GFUI_FONT_MEDIUM_C, x4, y, GFUI_ALIGN_HC_VB, 32); ^ soundconfig.cpp:195:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, saveSoundOption, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ soundconfig.cpp:198:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] prevMenu, GfuiScreenActivate, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ soundconfig.cpp:200:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 13, "Save", NULL, saveSoundOption, NULL); ^ soundconfig.cpp:201:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 27, "Cancel Selection", prevMenu, GfuiScreenActivate, NULL); ^ soundconfig.cpp:202:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_F12, "Screen-Shot", NULL, GfuiScreenShot, NULL); ^ soundconfig.cpp:203:99: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_LEFT, "Previous Option in list", (void*)0, changeSoundState, NULL); ^ soundconfig.cpp:204:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_RIGHT, "Next Option in list", (void*)1, changeSoundState, NULL); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c openglconfig.cpp In file included from /usr/include/stdio.h:27:0, from openglconfig.cpp:25: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ openglconfig.cpp:37:114: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *textureCompressOptionList[] = {GR_ATT_TEXTURECOMPRESSION_DISABLED, GR_ATT_TEXTURECOMPRESSION_ENABLED}; ^ openglconfig.cpp:37:114: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp: In function 'void readOpenGLCfg()': openglconfig.cpp:65:121: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *optionName = GfParmGetStr(paramHandle, GR_SCT_GLFEATURES, GR_ATT_TEXTURECOMPRESSION, textureCompressOptionList[0]); ^ openglconfig.cpp:65:121: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp:79:115: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] int tsize = (int) GfParmGetNum(paramHandle, GR_SCT_GLFEATURES, GR_ATT_TEXTURESIZE, (char*)NULL, (tdble) sizelimit); ^ openglconfig.cpp:79:115: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp: In function 'void saveOpenGLOption(void*)': openglconfig.cpp:126:118: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(paramHandle, GR_SCT_GLFEATURES, GR_ATT_TEXTURECOMPRESSION, textureCompressOptionList[curOptionTextComp]); ^ openglconfig.cpp:126:118: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp:128:128: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(paramHandle, GR_SCT_GLFEATURES, GR_ATT_TEXTURESIZE, (char*)NULL, (tdble) textureSizeOptionList[curOptionTextSize]); ^ openglconfig.cpp:128:128: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp:130:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmWriteFile(NULL, paramHandle, "graph"); ^ openglconfig.cpp: In function 'void* OpenGLMenuInit(void*)': openglconfig.cpp:194:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiTitleCreate(scrHandle, "OpenGL Options", 0); ^ openglconfig.cpp:195:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(scrHandle, "data/img/splash-simucfg.png"); ^ openglconfig.cpp:207:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Texture Compression", GFUI_FONT_LARGE, xleft, 400, GFUI_ALIGN_HC_VB, 0); ^ openglconfig.cpp:214:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ openglconfig.cpp:214:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp:214:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp:214:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp:220:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ openglconfig.cpp:220:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp:220:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp:220:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp:222:109: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TextureCompressOptionId = GfuiLabelCreate(scrHandle, "", GFUI_FONT_LARGE_C, xleft, y, GFUI_ALIGN_HC_VB, 32); ^ openglconfig.cpp:225:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "not available", GFUI_FONT_LARGE_C, xleft, y, GFUI_ALIGN_HC_VB, 0); ^ openglconfig.cpp:230:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Texture Size Limit", GFUI_FONT_LARGE, xright, 400, GFUI_ALIGN_HC_VB, 0); ^ openglconfig.cpp:236:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ openglconfig.cpp:236:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp:236:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp:236:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp:242:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ openglconfig.cpp:242:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp:242:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp:242:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openglconfig.cpp:244:105: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TextureSizeOptionId = GfuiLabelCreate(scrHandle, "", GFUI_FONT_LARGE_C, xright, y, GFUI_ALIGN_HC_VB, 32); ^ openglconfig.cpp:249:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, saveOpenGLOption, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ openglconfig.cpp:252:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] prevMenu, GfuiScreenActivate, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ openglconfig.cpp:254:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 13, "Save", NULL, saveOpenGLOption, NULL); ^ openglconfig.cpp:255:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 27, "Cancel Selection", prevMenu, GfuiScreenActivate, NULL); ^ openglconfig.cpp:256:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_F12, "Screen-Shot", NULL, GfuiScreenShot, NULL); ^ openglconfig.cpp:257:109: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_LEFT, "Previous Option in list", (void*)0, changeTextureCompressState, NULL); ^ openglconfig.cpp:258:106: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_RIGHT, "Next Option in list", (void*)1, changeTextureCompressState, NULL); ^ x86_64-alt-linux-g++ -shared -o libconfscreens.so controlconfig.o graphconfig.o mouseconfig.o driverconfig.o joystickconfig.o simuconfig.o soundconfig.o openglconfig.o -L/usr/src/RPM/BUILD/torcs-1.3.0/export/lib -L/usr/lib64 -lalut -L/usr/lib -lplibssgaux -lplibssg -lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lexpat -lpng -lz -ldl -lopenal -lXrandr -lXrender -lXxf86vm -lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm mkdir /usr/src/RPM/BUILD/torcs-1.3.0/export/lib Exporting libconfscreens.so to /usr/src/RPM/BUILD/torcs-1.3.0/export/lib/libconfscreens.so make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/confscreens' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/racescreens' x86_64-alt-linux-gcc -E -M -D__DEPEND__ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H trackselect.cpp driverselect.cpp results.cpp pitmenu.cpp loadingscreen.cpp racemenu.cpp miscscreens.cpp fileselect.cpp > .depend x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c trackselect.cpp In file included from /usr/include/stdlib.h:24:0, from trackselect.cpp:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ trackselect.cpp: In function 'void rmUpdateTrackInfo()': trackselect.cpp:103:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelSetText(scrHandle, DescId, GfParmGetStr(trackHandle, TRK_SECT_HDR, TRK_ATT_DESCR, "")); ^ trackselect.cpp:103:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:103:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:104:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelSetText(scrHandle, AuthorId, GfParmGetStr(trackHandle, TRK_SECT_HDR, TRK_ATT_AUTHOR, "")); ^ trackselect.cpp:104:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:104:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:106:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tmp = GfParmGetNum(trackHandle, TRK_SECT_MAIN, TRK_ATT_WIDTH, NULL, 0); ^ trackselect.cpp:106:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:117:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelSetText(scrHandle, PitsId, "none"); ^ trackselect.cpp: In function 'void rmtsSelect(void*)': trackselect.cpp:158:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] curTrkIdx = (int)GfParmGetNum(ts->param, RM_SECT_TRACKS, RE_ATTR_CUR_TRACK, NULL, 1); ^ trackselect.cpp:158:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:160:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(ts->param, path, RM_ATTR_CATEGORY, CategoryList->name); ^ trackselect.cpp:161:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(ts->param, path, RM_ATTR_NAME, ((tFList*)CategoryList->userData)->name); ^ trackselect.cpp: In function 'void rmtsAddKeys()': trackselect.cpp:169:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 13, "Select Track", NULL, rmtsSelect, NULL); ^ trackselect.cpp:170:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 27, "Cancel Selection", ts->prevScreen, rmtsDeactivate, NULL); ^ trackselect.cpp:171:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_LEFT, "Previous Track", (void*)0, rmtsPrevNext, NULL); ^ trackselect.cpp:172:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_RIGHT, "Next Track", (void*)1, rmtsPrevNext, NULL); ^ trackselect.cpp:173:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_F12, "Screen-Shot", NULL, GfuiScreenShot, NULL); ^ trackselect.cpp:174:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_UP, "Previous Track Category", (void*)0, rmCatPrevNext, NULL); ^ trackselect.cpp:175:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_DOWN, "Next Track Category", (void*)1, rmCatPrevNext, NULL); ^ trackselect.cpp: In function 'char* RmGetTrackName(char*, char*)': trackselect.cpp:195:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] name = strdup(GfParmGetStr(trackHandle, TRK_SECT_HDR, TRK_ATT_NAME, trackName)); ^ trackselect.cpp:195:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:198:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return ""; ^ trackselect.cpp: In function 'char* RmGetCategoryName(char*)': trackselect.cpp:221:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] name = strdup(GfParmGetStr(categoryHandle, TRK_SECT_HDR, TRK_ATT_NAME, category)); ^ trackselect.cpp:221:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:224:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return ""; ^ trackselect.cpp: In function 'void RmTrackSelect(void*)': trackselect.cpp:251:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CategoryList = GfDirGetList("tracks"); ^ trackselect.cpp:287:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] curTrkIdx = (int)GfParmGetNum(ts->param, RM_SECT_TRACKS, RE_ATTR_CUR_TRACK, NULL, 1); ^ trackselect.cpp:287:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:289:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] defaultCategory = GfParmGetStr(ts->param, path, RM_ATTR_CATEGORY, CategoryList->name); ^ trackselect.cpp:291:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] defaultTrack = GfParmGetStr(ts->param, path, RM_ATTR_NAME, ((tFList*)CategoryList->userData)->name); ^ trackselect.cpp:311:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(scrHandle, "data/img/splash-qrtrk.png"); ^ trackselect.cpp:315:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiTitleCreate(scrHandle, "Select Track", 0); ^ trackselect.cpp:324:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ trackselect.cpp:324:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:324:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:324:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:340:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ trackselect.cpp:340:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:340:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:340:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:349:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ trackselect.cpp:349:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:349:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:349:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:365:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ trackselect.cpp:365:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:365:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:365:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackselect.cpp:372:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, rmtsSelect, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ trackselect.cpp:375:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ts->prevScreen, rmtsDeactivate, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ trackselect.cpp:386:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GFUI_ALIGN_HL_VB, 0); ^ trackselect.cpp:392:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GFUI_ALIGN_HL_VB, 50); ^ trackselect.cpp:400:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GFUI_ALIGN_HL_VB, 0); ^ trackselect.cpp:406:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GFUI_ALIGN_HL_VB, 20); ^ trackselect.cpp:414:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GFUI_ALIGN_HL_VB, 0); ^ trackselect.cpp:420:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GFUI_ALIGN_HL_VB, 20); ^ trackselect.cpp:428:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GFUI_ALIGN_HL_VB, 0); ^ trackselect.cpp:434:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GFUI_ALIGN_HL_VB, 20); ^ trackselect.cpp:442:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GFUI_ALIGN_HL_VB, 0); ^ trackselect.cpp:448:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GFUI_ALIGN_HL_VB, 20); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c driverselect.cpp In file included from /usr/include/stdlib.h:24:0, from driverselect.cpp:27: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ driverselect.cpp: In function 'void rmdsSetFocus(void*)': driverselect.cpp:96:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(ds->param, RM_SECT_DRIVERS, RM_ATTR_FOCUSED, curDrv->dname); ^ driverselect.cpp:96:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:97:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(ds->param, RM_SECT_DRIVERS, RM_ATTR_FOCUSEDIDX, (char*)NULL, curDrv->index); ^ driverselect.cpp:97:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp: In function 'void rmdsSelect(void*)': driverselect.cpp:116:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(ds->param, buf, RM_ATTR_IDX, (char*)NULL, curDrv->index); ^ driverselect.cpp:117:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(ds->param, buf, RM_ATTR_MODULE, curDrv->dname); ^ driverselect.cpp: In function 'void rmdsClickOnDriver(void*)': driverselect.cpp:155:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelSetText(scrHandle, PickDrvCategoryLabelId, GfParmGetStr(curDrv->car, SECT_CAR, PRM_CATEGORY, "")); ^ driverselect.cpp:155:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:155:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp: In function 'void rmSelectDeselect(void*)': driverselect.cpp:199:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cardllname = GfParmGetStr(ds->param, RM_SECT_DRIVERS, RM_ATTR_FOCUSED, ""); ^ driverselect.cpp:199:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:199:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:200:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] robotIdx = (int)GfParmGetNum(ds->param, RM_SECT_DRIVERS, RM_ATTR_FOCUSEDIDX, (char*)NULL, 0); ^ driverselect.cpp:200:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:202:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cardllname = GfParmGetStr(ds->param, RM_SECT_DRIVERS, RM_ATTR_FOCUSED, ""); ^ driverselect.cpp:202:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:202:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:203:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] robotIdx = (int)GfParmGetNum(ds->param, RM_SECT_DRIVERS, RM_ATTR_FOCUSEDIDX, (char*)NULL, 0); ^ driverselect.cpp:203:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:208:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(ds->param, RM_SECT_DRIVERS, RM_ATTR_FOCUSED, curDrv->dname); ^ driverselect.cpp:208:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:209:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(ds->param, RM_SECT_DRIVERS, RM_ATTR_FOCUSEDIDX, (char*)NULL, curDrv->index); ^ driverselect.cpp:209:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:212:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(ds->param, RM_SECT_DRIVERS, RM_ATTR_FOCUSED, ""); ^ driverselect.cpp:212:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:212:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:213:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(ds->param, RM_SECT_DRIVERS, RM_ATTR_FOCUSEDIDX, (char*)NULL, 0); ^ driverselect.cpp:213:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:214:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelSetText(scrHandle, FocDrvLabelId, ""); ^ driverselect.cpp:219:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(ds->param, RM_SECT_DRIVERS, RM_ATTR_FOCUSED, curDrv->dname); ^ driverselect.cpp:219:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:220:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(ds->param, RM_SECT_DRIVERS, RM_ATTR_FOCUSEDIDX, (char*)NULL, curDrv->index); ^ driverselect.cpp:220:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp: In function 'void rmdsAddKeys()': driverselect.cpp:230:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 27, "Cancel Selection", ds->prevScreen, rmdsDeactivate, NULL); ^ driverselect.cpp:231:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 13, "Accept Selection", NULL, rmdsSelect, NULL); ^ driverselect.cpp:232:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_F1, "Help", scrHandle, GfuiHelpScreen, NULL); ^ driverselect.cpp:233:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_F12, "Screen-Shot", NULL, GfuiScreenShot, NULL); ^ driverselect.cpp:234:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, '-', "Move Up", (void*)-1, rmMove, NULL); ^ driverselect.cpp:235:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, '+', "Move Down", (void*)1, rmMove, NULL); ^ driverselect.cpp:236:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, ' ', "Select/Deselect", NULL, rmSelectDeselect, NULL); ^ driverselect.cpp:237:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 'f', "Set Focus", NULL, rmdsSetFocus, NULL); ^ driverselect.cpp: In function 'void RmDriversSelect(void*)': driverselect.cpp:270:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(scrHandle, "data/img/splash-qrdrv.png"); ^ driverselect.cpp:272:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiTitleCreate(scrHandle, "Select Drivers", sizeof("Select Drivers")); ^ driverselect.cpp:278:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0); ^ driverselect.cpp:284:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0); ^ driverselect.cpp:293:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, rmdsSelect, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverselect.cpp:296:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ds->prevScreen, rmdsDeactivate, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverselect.cpp:299:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (void*)-1, rmMove, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverselect.cpp:302:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (void*)1, rmMove, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverselect.cpp:305:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (void*)0, rmSelectDeselect, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverselect.cpp:308:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, rmdsSetFocus, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ driverselect.cpp:335:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] carName = GfParmGetStr(robhdle, path, ROB_ATTR_CAR, ""); ^ driverselect.cpp:335:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:336:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (strcmp(GfParmGetStr(robhdle, path, ROB_ATTR_TYPE, ROB_VAL_ROBOT), ROB_VAL_ROBOT)) { ^ driverselect.cpp:336:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:358:105: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Driver %s not selected because car %s is not readable\n", curmod->modInfo[i].name, carName); ^ driverselect.cpp:361:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Driver %s not selected because car %s is not present\n", curmod->modInfo[i].name, carName); ^ driverselect.cpp:370:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nbMaxSelectedDrivers = (int)GfParmGetNum(ds->param, RM_SECT_DRIVERS, RM_ATTR_MAXNUM, NULL, 0); ^ driverselect.cpp:370:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:371:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nCars = GfParmGetEltNb(ds->param, RM_SECT_DRIVERS); ^ driverselect.cpp:375:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cardllname = GfParmGetStr(ds->param, dname, RM_ATTR_MODULE, ""); ^ driverselect.cpp:375:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:376:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] robotIdx = (int)GfParmGetNum(ds->param, dname, RM_ATTR_IDX, (char*)NULL, 0); ^ driverselect.cpp:402:105: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Focused:", GFUI_FONT_MEDIUM, 320, B_BASE - 5 * B_HT, GFUI_ALIGN_HC_VB, 0); ^ driverselect.cpp:403:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cardllname = GfParmGetStr(ds->param, RM_SECT_DRIVERS, RM_ATTR_FOCUSED, ""); ^ driverselect.cpp:403:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:403:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:404:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] robotIdx = (int)GfParmGetNum(ds->param, RM_SECT_DRIVERS, RM_ATTR_FOCUSEDIDX, (char*)NULL, 0); ^ driverselect.cpp:404:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] driverselect.cpp:418:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 320, B_BASE - 5 * B_HT - GfuiFontHeight(GFUI_FONT_MEDIUM), GFUI_ALIGN_HC_VB, 256); ^ driverselect.cpp:425:104: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Driver:", GFUI_FONT_MEDIUM, 320, B_BASE - 7 * B_HT, GFUI_ALIGN_HC_VB, 0); ^ driverselect.cpp:427:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 320, B_BASE - 7 * B_HT - GfuiFontHeight(GFUI_FONT_MEDIUM), GFUI_ALIGN_HC_VB, 256); ^ driverselect.cpp:428:101: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Car:", GFUI_FONT_MEDIUM, 320, B_BASE - 8 * B_HT, GFUI_ALIGN_HC_VB, 0); ^ driverselect.cpp:430:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 320, B_BASE - 8 * B_HT - GfuiFontHeight(GFUI_FONT_MEDIUM), GFUI_ALIGN_HC_VB, 256); ^ driverselect.cpp:431:106: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Category:", GFUI_FONT_MEDIUM, 320, B_BASE - 9 * B_HT, GFUI_ALIGN_HC_VB, 0); ^ driverselect.cpp:433:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 320, B_BASE - 9 * B_HT - GfuiFontHeight(GFUI_FONT_MEDIUM), GFUI_ALIGN_HC_VB, 256); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c results.cpp In file included from /usr/include/stdlib.h:24:0, from results.cpp:27: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ results.cpp: In function 'void rmSaveRes(void*)': results.cpp:65:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmWriteFile(0, info->results, "Results"); ^ results.cpp: In function 'void rmPracticeResults(void*, tRmInfo*, int)': results.cpp:99:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sprintf(buf, "%s on track %s", GfParmGetStr(results, path, RM_ATTR_DRVNAME, ""), info->track->name); ^ results.cpp:99:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:102:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(rmScrHdle, "data/img/splash-result.png"); ^ results.cpp:114:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Lap", fgcolor, GFUI_FONT_MEDIUM_C, x1, y, GFUI_ALIGN_HC_VB, 0); ^ results.cpp:115:105: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Time", fgcolor, GFUI_FONT_MEDIUM_C, x2+20, y, GFUI_ALIGN_HL_VB, 0); ^ results.cpp:116:105: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Best", fgcolor, GFUI_FONT_MEDIUM_C, x3+20, y, GFUI_ALIGN_HL_VB, 0); ^ results.cpp:117:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Top Spd", fgcolor, GFUI_FONT_MEDIUM_C, x4, y, GFUI_ALIGN_HC_VB, 0); ^ results.cpp:118:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Min Spd", fgcolor, GFUI_FONT_MEDIUM_C, x5, y, GFUI_ALIGN_HC_VB, 0); ^ results.cpp:119:101: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Damages", fgcolor, GFUI_FONT_MEDIUM_C, x6, y, GFUI_ALIGN_HC_VB, 0); ^ results.cpp:132:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = GfTime2Str(GfParmGetNum(results, path, RE_ATTR_TIME, NULL, 0), 0);; ^ results.cpp:137:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = GfTime2Str(GfParmGetNum(results, path, RE_ATTR_BEST_LAP_TIME, NULL, 0), 0);; ^ results.cpp:142:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sprintf(buf, "%d", (int)(GfParmGetNum(results, path, RE_ATTR_TOP_SPEED, NULL, 0) * 3.6)); ^ results.cpp:146:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sprintf(buf, "%d", (int)(GfParmGetNum(results, path, RE_ATTR_BOT_SPEED, NULL, 0) * 3.6)); ^ results.cpp:150:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sprintf(buf, "%d", (int)(GfParmGetNum(results, path, RE_ATTR_DAMMAGES, NULL, 0))); ^ results.cpp:164:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ results.cpp:164:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:164:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:164:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:165:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(rmScrHdle, GLUT_KEY_PAGE_UP, "Previous Results", (void*)&RmPrevRace, rmChgPracticeScreen, NULL); ^ results.cpp:181:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (tfuiCallback)NULL); ^ results.cpp:205:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ results.cpp:205:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:205:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:205:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:206:106: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(rmScrHdle, GLUT_KEY_PAGE_DOWN, "Next Results", (void*)&RmNextRace, rmChgPracticeScreen, NULL); ^ results.cpp:209:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(rmScrHdle, (unsigned char)27, "", prevHdle, GfuiScreenReplace, NULL); ^ results.cpp:210:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(rmScrHdle, (unsigned char)13, "", prevHdle, GfuiScreenReplace, NULL); ^ results.cpp:211:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(rmScrHdle, GLUT_KEY_F12, "Take a Screen Shot", NULL, GfuiScreenShot, NULL); ^ results.cpp: In function 'void rmRaceResults(void*, tRmInfo*, int)': results.cpp:250:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(rmScrHdle, "data/img/splash-result.png"); ^ results.cpp:262:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Rank", fgcolor, GFUI_FONT_MEDIUM_C, x1, y, GFUI_ALIGN_HC_VB, 0); ^ results.cpp:263:105: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Driver", fgcolor, GFUI_FONT_MEDIUM_C, x2+10, y, GFUI_ALIGN_HL_VB, 0); ^ results.cpp:264:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Total", fgcolor, GFUI_FONT_MEDIUM_C, x3, y, GFUI_ALIGN_HR_VB, 0); ^ results.cpp:265:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Best", fgcolor, GFUI_FONT_MEDIUM_C, x4, y, GFUI_ALIGN_HR_VB, 0); ^ results.cpp:266:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Laps", fgcolor, GFUI_FONT_MEDIUM_C, x5, y, GFUI_ALIGN_HC_VB, 0); ^ results.cpp:267:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Top Spd", fgcolor, GFUI_FONT_MEDIUM_C, x6, y, GFUI_ALIGN_HC_VB, 0); ^ results.cpp:268:101: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Damages", fgcolor, GFUI_FONT_MEDIUM_C, x7, y, GFUI_ALIGN_HC_VB, 0); ^ results.cpp:269:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Pit Stops", fgcolor, GFUI_FONT_MEDIUM_C, x8, y, GFUI_ALIGN_HC_VB, 0); ^ results.cpp:273:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] totLaps = (int)GfParmGetNum(results, path, RE_ATTR_LAPS, NULL, 0); ^ results.cpp:275:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] refTime = GfParmGetNum(results, path, RE_ATTR_TIME, NULL, 0); ^ results.cpp:280:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] laps = (int)GfParmGetNum(results, path, RE_ATTR_LAPS, NULL, 0); ^ results.cpp:286:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(rmScrHdle, GfParmGetStr(results, path, RE_ATTR_NAME, ""), GFUI_FONT_MEDIUM_C, ^ results.cpp:286:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:291:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = GfTime2Str(GfParmGetNum(results, path, RE_ATTR_TIME, NULL, 0), 0); ^ results.cpp:293:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = GfTime2Str(GfParmGetNum(results, path, RE_ATTR_TIME, NULL, 0) - refTime, 1); ^ results.cpp:311:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = GfTime2Str(GfParmGetNum(results, path, RE_ATTR_BEST_LAP_TIME, NULL, 0), 0); ^ results.cpp:320:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sprintf(buf, "%d", (int)(GfParmGetNum(results, path, RE_ATTR_TOP_SPEED, NULL, 0) * 3.6)); ^ results.cpp:324:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sprintf(buf, "%d", (int)(GfParmGetNum(results, path, RE_ATTR_DAMMAGES, NULL, 0))); ^ results.cpp:328:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sprintf(buf, "%d", (int)(GfParmGetNum(results, path, RE_ATTR_NB_PIT_STOPS, NULL, 0))); ^ results.cpp:343:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ results.cpp:343:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:343:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:343:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:344:106: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(rmScrHdle, GLUT_KEY_PAGE_UP, "Previous Results", (void*)&RmPrevRace, rmChgRaceScreen, NULL); ^ results.cpp:360:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (tfuiCallback)NULL); ^ results.cpp:384:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ results.cpp:384:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:384:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:384:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:385:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(rmScrHdle, GLUT_KEY_PAGE_DOWN, "Next Results", (void*)&RmNextRace, rmChgRaceScreen, NULL); ^ results.cpp:388:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(rmScrHdle, (unsigned char)27, "", prevHdle, GfuiScreenReplace, NULL); ^ results.cpp:389:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(rmScrHdle, (unsigned char)13, "", prevHdle, GfuiScreenReplace, NULL); ^ results.cpp:390:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(rmScrHdle, GLUT_KEY_F12, "Take a Screen Shot", NULL, GfuiScreenShot, NULL); ^ results.cpp: In function 'void rmQualifResults(void*, tRmInfo*, int)': results.cpp:428:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(rmScrHdle, "data/img/splash-result.png"); ^ results.cpp:436:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Rank", fgcolor, GFUI_FONT_MEDIUM_C, x1, y, GFUI_ALIGN_HC_VB, 0); ^ results.cpp:437:105: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Driver", fgcolor, GFUI_FONT_MEDIUM_C, x2+10, y, GFUI_ALIGN_HL_VB, 0); ^ results.cpp:438:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Time", fgcolor, GFUI_FONT_MEDIUM_C, x3, y, GFUI_ALIGN_HR_VB, 0); ^ results.cpp:442:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] totLaps = (int)GfParmGetNum(results, path, RE_ATTR_LAPS, NULL, 0); ^ results.cpp:444:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] refTime = GfParmGetNum(results, path, RE_ATTR_TIME, NULL, 0); ^ results.cpp:449:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] laps = (int)GfParmGetNum(results, path, RE_ATTR_LAPS, NULL, 0); ^ results.cpp:455:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(rmScrHdle, GfParmGetStr(results, path, RE_ATTR_NAME, ""), GFUI_FONT_MEDIUM_C, ^ results.cpp:455:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:458:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = GfTime2Str(GfParmGetNum(results, path, RE_ATTR_BEST_LAP_TIME, NULL, 0), 0); ^ results.cpp:474:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ results.cpp:474:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:474:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:474:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:475:108: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(rmScrHdle, GLUT_KEY_PAGE_UP, "Previous Results", (void*)&RmPrevRace, rmChgQualifScreen, NULL); ^ results.cpp:490:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (tfuiCallback)NULL); ^ results.cpp:514:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ results.cpp:514:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:514:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:514:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:515:104: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(rmScrHdle, GLUT_KEY_PAGE_DOWN, "Next Results", (void*)&RmNextRace, rmChgQualifScreen, NULL); ^ results.cpp:518:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(rmScrHdle, (unsigned char)27, "", prevHdle, GfuiScreenReplace, NULL); ^ results.cpp:519:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(rmScrHdle, (unsigned char)13, "", prevHdle, GfuiScreenReplace, NULL); ^ results.cpp:520:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(rmScrHdle, GLUT_KEY_F12, "Take a Screen Shot", NULL, GfuiScreenShot, NULL); ^ results.cpp:417:11: warning: variable 'laps' set but not used [-Wunused-but-set-variable] int laps, totLaps; ^ results.cpp:417:17: warning: variable 'totLaps' set but not used [-Wunused-but-set-variable] int laps, totLaps; ^ results.cpp:418:12: warning: variable 'refTime' set but not used [-Wunused-but-set-variable] tdble refTime; ^ results.cpp: In function 'void rmShowStandings(void*, tRmInfo*, int)': results.cpp:553:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(rmScrHdle, "data/img/splash-result.png"); ^ results.cpp:561:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Rank", fgcolor, GFUI_FONT_MEDIUM_C, x1, y, GFUI_ALIGN_HC_VB, 0); ^ results.cpp:562:105: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Driver", fgcolor, GFUI_FONT_MEDIUM_C, x2+10, y, GFUI_ALIGN_HL_VB, 0); ^ results.cpp:563:104: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreateEx(rmScrHdle, "Points", fgcolor, GFUI_FONT_MEDIUM_C, x3, y, GFUI_ALIGN_HR_VB, 0); ^ results.cpp:566:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nbCars = (int)GfParmGetEltNb(results, RE_SECT_STANDINGS); ^ results.cpp:574:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(rmScrHdle, GfParmGetStr(results, path, RE_ATTR_NAME, ""), GFUI_FONT_MEDIUM_C, ^ results.cpp:574:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:577:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sprintf(buf, "%d", (int)GfParmGetNum(results, path, RE_ATTR_POINTS, NULL, 0)); ^ results.cpp:592:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ results.cpp:592:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:592:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:592:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:593:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(rmScrHdle, GLUT_KEY_PAGE_UP, "Previous Results", (void*)&RmPrevRace, rmChgStandingScreen, NULL); ^ results.cpp:608:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (tfuiCallback)NULL); ^ results.cpp:622:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (tfuiCallback)NULL); ^ results.cpp:632:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ results.cpp:632:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:632:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:632:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] results.cpp:633:106: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(rmScrHdle, GLUT_KEY_PAGE_DOWN, "Next Results", (void*)&RmNextRace, rmChgStandingScreen, NULL); ^ results.cpp:636:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(rmScrHdle, (unsigned char)27, "", prevHdle, GfuiScreenReplace, NULL); ^ results.cpp:637:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(rmScrHdle, (unsigned char)13, "", prevHdle, GfuiScreenReplace, NULL); ^ results.cpp:638:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(rmScrHdle, GLUT_KEY_F12, "Take a Screen Shot", NULL, GfuiScreenShot, NULL); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c pitmenu.cpp In file included from /usr/include/stdlib.h:24:0, from pitmenu.cpp:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ pitmenu.cpp: In function 'void RmPitMenuStart(tCarElt*, void*, tfuiCallback)': pitmenu.cpp:91:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menuHandle = GfuiMenuScreenCreate("Pit Stop Info"); ^ pitmenu.cpp:108:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(menuHandle, "Fuel amount (liters):", GFUI_FONT_MEDIUM_C, x, y, GFUI_ALIGN_HL_VB, 0); ^ pitmenu.cpp:112:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x + GfuiFontWidth(GFUI_FONT_MEDIUM_C, "Fuel amount (liters):") + 20, y, ^ pitmenu.cpp:116:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(menuHandle, "Repair amount:", GFUI_FONT_MEDIUM_C, x, y, GFUI_ALIGN_HL_VB, 0); ^ pitmenu.cpp:120:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x + GfuiFontWidth(GFUI_FONT_MEDIUM_C, "Fuel amount (liters):") + 20, y, ^ pitmenu.cpp:126:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, rmRepair, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ pitmenu.cpp:130:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, rmStopAndGo, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c loadingscreen.cpp In file included from /usr/include/string.h:25:0, from loadingscreen.cpp:27: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ loadingscreen.cpp: In function 'void RmLoadingScreenStart(char*, char*)': loadingscreen.cpp:81:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GFUI_ALIGN_HL_VB, 100); ^ loadingscreen.cpp: In function 'void RmLoadingScreenSetText(char*)': loadingscreen.cpp:119:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("%s\n", text); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c racemenu.cpp In file included from /usr/include/stdlib.h:24:0, from racemenu.cpp:27: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ racemenu.cpp:49:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *rmCurDispModeList[] = { RM_VAL_VISIBLE, RM_VAL_INVISIBLE}; ^ racemenu.cpp:49:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemenu.cpp: In function 'void rmrpUpdDist(void*)': racemenu.cpp:74:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiEditboxSetString(scrHandle, rmrpLapsId, "---"); ^ racemenu.cpp: In function 'void rmrpUpdLaps(void*)': racemenu.cpp:91:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiEditboxSetString(scrHandle, rmrpDistId, "---"); ^ racemenu.cpp: In function 'void rmrpValidate(void*)': racemenu.cpp:103:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(rp->param, rp->title, RM_ATTR_DISTANCE, "km", rmrpDistance); ^ racemenu.cpp:103:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemenu.cpp:104:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(rp->param, rp->title, RM_ATTR_LAPS, (char*)NULL, rmrpLaps); ^ racemenu.cpp:108:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(rp->param, rp->title, RM_ATTR_DISPMODE, rmCurDispModeList[rmCurDispMode]); ^ racemenu.cpp: In function 'void rmrpAddKeys()': racemenu.cpp:117:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 27, "Cancel Modifications", rp->prevScreen, rmrpDeactivate, NULL); ^ racemenu.cpp:118:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_F1, "Help", scrHandle, GfuiHelpScreen, NULL); ^ racemenu.cpp:119:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_F12, "Screen-Shot", NULL, GfuiScreenShot, NULL); ^ racemenu.cpp:120:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 13, "Validate Modifications", NULL, rmrpValidate, NULL); ^ racemenu.cpp: In function 'void RmRaceParamMenu(void*)': racemenu.cpp:140:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(scrHandle, "data/img/splash-raceopt.png"); ^ racemenu.cpp:149:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Race Distance (km):", GFUI_FONT_MEDIUM_C, x, y, GFUI_ALIGN_HL_VB, 0); ^ racemenu.cpp:150:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] rmrpDistance = (int)GfParmGetNum(rp->param, rp->title, RM_ATTR_DISTANCE, "km", 0); ^ racemenu.cpp:150:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemenu.cpp:153:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] rmrpLaps = (int)GfParmGetNum(rp->param, rp->title, RM_ATTR_LAPS, NULL, 25); ^ racemenu.cpp:163:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Laps:", GFUI_FONT_MEDIUM_C, x, y, GFUI_ALIGN_HL_VB, 0); ^ racemenu.cpp:176:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelCreate(scrHandle, "Display:", GFUI_FONT_MEDIUM_C, x, y, GFUI_ALIGN_HL_VB, 0); ^ racemenu.cpp:181:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ racemenu.cpp:181:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemenu.cpp:181:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemenu.cpp:181:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemenu.cpp:186:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ racemenu.cpp:186:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemenu.cpp:186:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemenu.cpp:186:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemenu.cpp:187:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!strcmp(GfParmGetStr(rp->param, rp->title, RM_ATTR_DISPMODE, RM_VAL_VISIBLE), RM_VAL_INVISIBLE)) { ^ racemenu.cpp:187:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemenu.cpp:197:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, rmrpValidate, NULL, NULL, NULL); ^ racemenu.cpp:200:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] rp->prevScreen, rmrpDeactivate, NULL, NULL, NULL); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c miscscreens.cpp In file included from /usr/include/stdio.h:27:0, from miscscreens.cpp:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ miscscreens.cpp: In function 'void* RmTwoStateScreen(char*, char*, char*, void*, char*, char*, void*)': miscscreens.cpp:46:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(twoStateHdle, "data/img/splash-quit.png"); ^ miscscreens.cpp: In function 'void* RmTriStateScreen(char*, char*, char*, void*, char*, char*, void*, char*, char*, void*)': miscscreens.cpp:74:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(triStateHdle, "data/img/splash-quit.png"); ^ miscscreens.cpp: In function 'void* RmFourStateScreen(char*, char*, char*, void*, char*, char*, void*, char*, char*, void*, char*, char*, void*)': miscscreens.cpp:108:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(fourStateHdle, "data/img/splash-quit.png"); ^ miscscreens.cpp: In function 'void rmDisplayStartRace(tRmInfo*, void*, void*, int)': miscscreens.cpp:188:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] img = GfParmGetStr(params, RM_SECT_HEADER, RM_ATTR_STARTIMG, 0); ^ miscscreens.cpp:188:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] miscscreens.cpp:193:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!strcmp(GfParmGetStr(params, race, RM_ATTR_DISP_START_GRID, RM_VAL_YES), RM_VAL_YES)) { ^ miscscreens.cpp:193:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] miscscreens.cpp:195:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 320, 420, GFUI_ALIGN_HC_VB, 0); ^ miscscreens.cpp:199:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] rows = (int)GfParmGetNum(params, path, RM_ATTR_ROWS, (char*)NULL, 2); ^ miscscreens.cpp:207:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nCars = GfParmGetEltNb(params, RM_SECT_DRIVERS_RACING); ^ miscscreens.cpp:212:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] name = GfParmGetStr(info->params, path, RM_ATTR_MODULE, ""); ^ miscscreens.cpp:212:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] miscscreens.cpp:213:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] robotIdx = (int)GfParmGetNum(info->params, path, RM_ATTR_IDX, NULL, 0); ^ miscscreens.cpp:223:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] name = GfParmGetStr(robhdle, path, ROB_ATTR_NAME, ""); ^ miscscreens.cpp:223:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] miscscreens.cpp:224:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] carName = GfParmGetStr(robhdle, path, ROB_ATTR_CAR, ""); ^ miscscreens.cpp:224:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] miscscreens.cpp:249:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ miscscreens.cpp:249:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] miscscreens.cpp:249:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] miscscreens.cpp:249:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] miscscreens.cpp:250:114: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(rmScrHdle, GLUT_KEY_PAGE_UP, "Previous drivers", (void*)&prevStartRace, rmChgStartScreen, NULL); ^ miscscreens.cpp:262:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ miscscreens.cpp:262:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] miscscreens.cpp:262:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] miscscreens.cpp:262:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] miscscreens.cpp:263:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(rmScrHdle, GLUT_KEY_PAGE_DOWN, "Next Drivers", (void*)&nextStartRace, rmChgStartScreen, NULL); ^ miscscreens.cpp:279:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (tfuiCallback)NULL); ^ miscscreens.cpp:280:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(rmScrHdle, (unsigned char)13, "Start", startScr, GfuiScreenReplace, NULL); ^ miscscreens.cpp:294:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (tfuiCallback)NULL); ^ miscscreens.cpp:295:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(rmScrHdle, (unsigned char)27, "Abandon", abortScr, GfuiScreenReplace, NULL); ^ miscscreens.cpp:297:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(rmScrHdle, GLUT_KEY_F12, "Take a Screen Shot", NULL, GfuiScreenShot, NULL); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c fileselect.cpp In file included from /usr/include/stdlib.h:24:0, from fileselect.cpp:28: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ fileselect.cpp: In function 'void RmFileSelect(void*)': fileselect.cpp:93:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(scrHandle, "data/img/splash-filesel.png"); ^ fileselect.cpp:114:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, rmSelect, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ fileselect.cpp:117:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, rmDeactivate, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ x86_64-alt-linux-g++ -shared -o libracescreens.so trackselect.o driverselect.o results.o pitmenu.o loadingscreen.o racemenu.o miscscreens.o fileselect.o -L/usr/src/RPM/BUILD/torcs-1.3.0/export/lib -L/usr/lib64 -lalut -L/usr/lib -lplibssgaux -lplibssg -lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lexpat -lpng -lz -ldl -lopenal -lXrandr -lXrender -lXxf86vm -lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm Exporting libracescreens.so to /usr/src/RPM/BUILD/torcs-1.3.0/export/lib/libracescreens.so make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/racescreens' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/robottools' x86_64-alt-linux-gcc -E -M -D__DEPEND__ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H rttrack.cpp rttelem.cpp > .depend x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c rttrack.cpp In file included from /usr/include/stdlib.h:24:0, from rttrack.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ rttrack.cpp: In function 'tdble RtTrackHeightL(tTrkLocPos*)': rttrack.cpp:401:10: warning: variable 'left_side' set but not used [-Wunused-but-set-variable] bool left_side = true; ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c rttelem.cpp In file included from /usr/include/stdlib.h:24:0, from rttelem.cpp:34: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -shared -o librobottools.so rttrack.o rttelem.o -L/usr/src/RPM/BUILD/torcs-1.3.0/export/lib -L/usr/lib64 -lalut -L/usr/lib -lplibssgaux -lplibssg -lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lexpat -lpng -lz -ldl -lopenal -lXrandr -lXrender -lXxf86vm -lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm Exporting librobottools.so to /usr/src/RPM/BUILD/torcs-1.3.0/export/lib/librobottools.so make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/robottools' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/txml' make[4]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/txml/gennmtab' make[4]: Nothing to be done for `compil'. make[4]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/txml/gennmtab' x86_64-alt-linux-gcc -E -M -D__DEPEND__ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H xml.cpp > .depend x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c xml.cpp In file included from /usr/include/stdlib.h:24:0, from xml.cpp:25: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ xml.cpp: In function 'void wrrec(txmlElement*, FILE*)': xml.cpp:290:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] wr(0, "\n", out); ^ xml.cpp:314:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] wr(curElt->level-1, "", out); ^ xml.cpp: In function 'int xmlWriteFile(const char*, txmlElement*, char*)': xml.cpp:353:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] wr(0, "\n", out); ^ x86_64-alt-linux-g++ -shared -o libtxml.so xml.o -L/usr/src/RPM/BUILD/torcs-1.3.0/export/lib -L/usr/lib64 -lalut -L/usr/lib -lexpat -lplibssgaux -lplibssg -lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lexpat -lpng -lz -ldl -lopenal -lXrandr -lXrender -lXxf86vm -lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm Exporting libtxml.so to /usr/src/RPM/BUILD/torcs-1.3.0/export/lib/libtxml.so make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/txml' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/tgf' x86_64-alt-linux-gcc -E -M -D__DEPEND__ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H module.cpp os.cpp params.cpp tgf.cpp trace.cpp directory.cpp profiler.cpp hash.cpp > .depend x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c module.cpp In file included from /usr/include/stdio.h:27:0, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/tgf.h:30, from module.cpp:39: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c os.cpp In file included from /usr/include/stdio.h:27:0, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/tgf.h:30, from os.cpp:27: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c params.cpp In file included from /usr/include/stdlib.h:24:0, from params.cpp:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ params.cpp: In function 'char* getFullName(char*, const char*)': params.cpp:186:91: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=] GfError ("getFullName: malloc (%d) failed", strlen (sectionName) + strlen (paramName) + 2); ^ params.cpp: In function 'param* addParam(parmHeader*, section*, const char*, const char*)': params.cpp:311:69: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] GfError ("addParam: calloc (1, %d) failed\n", sizeof (struct param)); ^ params.cpp: In function 'section* addSection(parmHeader*, char*)': params.cpp:428:73: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] GfError ("addSection: calloc (1, %d) failed\n", sizeof (struct section)); ^ params.cpp: In function 'parmHeader* createParmHeader(const char*)': params.cpp:494:80: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] GfError ("gfParmReadFile: calloc (1, %d) failed\n", sizeof (struct parmHeader)); ^ params.cpp:502:77: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] GfError ("gfParmReadFile: calloc (1, %d) failed\n", sizeof (struct section)); ^ params.cpp: In function 'void xmlStartElement(void*, const char*, const char**)': params.cpp:641:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut ("xmlStartElement: Syntax error, missing \"name\" field in params definition\n"); ^ params.cpp: In function 'void* GfParmReadBuf(char*)': params.cpp:960:79: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] GfError ("gfParmReadBuf: calloc (1, %d) failed\n", sizeof (struct parmHandle)); ^ params.cpp: In function 'void* GfParmReadFile(const char*, int)': params.cpp:1033:80: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] GfError ("gfParmReadFile: calloc (1, %d) failed\n", sizeof (struct parmHandle)); ^ params.cpp:1048:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut ("gfParmReadFile: fopen \"%s\" failed\n", file); ^ params.cpp:1080:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut ("GfParmReadFile: Openning \"%s\" (%p)\n", file, parmHandle); ^ params.cpp: In function 'int GfParmWriteBuf(void*, char*, int)': params.cpp:1270:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("gfParmWriteBuf: bad handle (%p)\n", parmHandle); ^ params.cpp:1261:24: warning: variable 'conf' set but not used [-Wunused-but-set-variable] struct parmHeader *conf; ^ params.cpp: In function 'int GfParmWriteFile(const char*, void*, char*)': params.cpp:1338:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("gfParmWriteFile: bad handle (%p)\n", parmHandle); ^ params.cpp:1368:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut ("GfParmWriteFile: %s file written\n", file); ^ params.cpp: In function 'void GfParmRemove(void*, char*, char*)': params.cpp:1391:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("gfParmRemove: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'void GfParmClean(void*)': params.cpp:1426:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("gfParmClean: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'void parmReleaseHeader(parmHeader*)': params.cpp:1441:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut ("parmReleaseHeader: refcount null free \"%s\"\n", conf->filename); ^ params.cpp: In function 'void parmReleaseHandle(parmHandle*)': params.cpp:1467:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut ("parmReleaseHandle: release \"%s\" (%p)\n", conf->filename, parmHandle); ^ params.cpp: In function 'void GfParmReleaseHandle(void*)': params.cpp:1490:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("gfParmReleaseHandle: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'char* GfParmGetName(void*)': params.cpp:1686:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmGetName: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'char* GfParmGetFileName(void*)': params.cpp:1706:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmGetFileName: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'int GfParmGetEltNb(void*, char*)': params.cpp:1729:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmGetEltNb: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'int GfParmListSeekFirst(void*, char*)': params.cpp:1768:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmListSeekFirst: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'int GfParmListSeekNext(void*, char*)': params.cpp:1799:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmListSeekNext: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'int GfParmListClean(void*, char*)': params.cpp:1833:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmListSeekNext: bad handle (%p)\n", parmHandle); ^ params.cpp:1838:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut ("GfParmListClean: \"%s\" not found\n", path); ^ params.cpp: In function 'char* GfParmListGetCurEltName(void*, char*)': params.cpp:1867:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmListGetCurEltName: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'char* GfParmGetStr(void*, char*, char*, char*)': params.cpp:1914:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("gfParmGetStr: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'char* GfParmGetCurStr(void*, char*, char*, char*)': params.cpp:1947:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmGetCurStr: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'tdble GfParmGetNum(void*, char*, char*, char*, tdble)': params.cpp:1980:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmGetNum: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'tdble GfParmGetCurNum(void*, char*, char*, char*, tdble)': params.cpp:2015:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmGetCurNum: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'int GfParmSetStr(void*, char*, char*, char*)': params.cpp:2053:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmSetStr: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'int GfParmSetCurStr(void*, char*, char*, char*)': params.cpp:2098:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmSetCurStr: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'int GfParmSetNum(void*, char*, char*, char*, tdble)': params.cpp:2142:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmSetNum: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'int GfParmSetNumEx(void*, char*, char*, char*, tdble, tdble, tdble)': params.cpp:2185:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmSetNumEx: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'int GfParmSetCurNum(void*, char*, char*, char*, tdble)': params.cpp:2226:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmSetCurNum: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'int GfParmCheckHandle(void*, void*)': params.cpp:2279:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmCheckHandle: bad handle (%p)\n", parmHandle); ^ params.cpp: In function 'void* GfParmMergeHandles(void*, void*, int)': params.cpp:2468:173: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut ("Merging \"%s\" and \"%s\" (%s - %s)\n", confRef->filename, confTgt->filename, ((mode & GFPARM_MMODE_SRC) ? "SRC" : ""), ((mode & GFPARM_MMODE_DST) ? "DST" : "")); ^ params.cpp:2471:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmMergeHandles: bad handle (%p)\n", parmHandleRef); ^ params.cpp:2475:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmMergeHandles: bad handle (%p)\n", parmHandleTgt); ^ params.cpp:2489:79: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] GfError ("gfParmReadBuf: calloc (1, %d) failed\n", sizeof (struct parmHandle)); ^ params.cpp: In function 'int GfParmGetNumBoundaries(void*, char*, char*, tdble*, tdble*)': params.cpp:2598:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfFatal ("GfParmGetNumBoundaries: bad handle (%p)\n", parmHandle); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c tgf.cpp In file included from /usr/include/sys/stat.h:25:0, from tgf.cpp:23: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ tgf.cpp: In function 'char* GfTime2Str(tdble, int)': tgf.cpp:220:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sign = "-"; ^ tgf.cpp:223:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sign = "+"; ^ tgf.cpp:225:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sign = " "; ^ tgf.cpp: At global scope: tgf.cpp:248:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *localDir = ""; ^ tgf.cpp:249:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *libDir = ""; ^ tgf.cpp:250:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *dataDir = ""; ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c trace.cpp In file included from /usr/include/stdio.h:27:0, from trace.cpp:32: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c directory.cpp In file included from /usr/include/stdlib.h:24:0, from directory.cpp:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c profiler.cpp x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c hash.cpp In file included from /usr/include/stdio.h:27:0, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/tgf.h:30, from hash.cpp:27: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -shared -o libtgf.so module.o os.o params.o tgf.o trace.o directory.o profiler.o hash.o -L/usr/src/RPM/BUILD/torcs-1.3.0/export/lib -L/usr/lib64 -lalut -L/usr/lib -lplibssgaux -lplibssg -lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lexpat -lpng -lz -ldl -lopenal -lXrandr -lXrender -lXxf86vm -lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm Exporting libtgf.so to /usr/src/RPM/BUILD/torcs-1.3.0/export/lib/libtgf.so make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/tgf' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/tgfclient' x86_64-alt-linux-gcc -E -M -D__DEPEND__ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H guimenu.cpp screen.cpp gui.cpp guifont.cpp guiobject.cpp guilabel.cpp guibutton.cpp guiedit.cpp guihelp.cpp img.cpp guiscrollist.cpp guiscrollbar.cpp guiimage.cpp control.cpp fg_gm.cpp tgfclient.cpp glfeatures.cpp > .depend x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c guimenu.cpp In file included from /usr/include/stdio.h:27:0, from guimenu.cpp:27: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ guimenu.cpp: In function 'void GfuiMenuDefaultKeysAdd(void*)': guimenu.cpp:58:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scr, 9, "Select Next Entry", NULL, gfuiSelectNext, NULL); ^ guimenu.cpp:59:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scr, 13, "Perform Action", (void*)2, gfuiMouseAction, NULL); ^ guimenu.cpp:60:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scr, GLUT_KEY_UP, "Select Previous Entry", NULL, gfuiSelectPrev, NULL); ^ guimenu.cpp:61:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scr, GLUT_KEY_DOWN, "Select Next Entry", NULL, gfuiSelectNext, NULL); ^ guimenu.cpp:62:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scr, GLUT_KEY_PAGE_UP, "Select Previous Entry", NULL, gfuiSelectPrev, NULL); ^ guimenu.cpp:63:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scr, GLUT_KEY_PAGE_DOWN, "Select Next Entry", NULL, gfuiSelectNext, NULL); ^ guimenu.cpp:64:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scr, GLUT_KEY_F1, "Help", scr, GfuiHelpScreen, NULL); ^ guimenu.cpp:65:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scr, GLUT_KEY_F12, "Screen-Shot", NULL, GfuiScreenShot, NULL); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c screen.cpp In file included from /usr/include/stdio.h:27:0, from screen.cpp:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ screen.cpp:80:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *Mode[] = {"Full-screen mode", "Window mode"}; ^ screen.cpp:80:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:81:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *VInit[] = {GFSCR_VAL_VINIT_COMPATIBLE, GFSCR_VAL_VINIT_BEST}; ^ screen.cpp:81:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:82:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *Depthlist[] = {"24", "32", "16"}; ^ screen.cpp:82:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:82:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp: In function 'void gfScreenInit()': screen.cpp:116:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] displayname = ":0.0"; ^ screen.cpp:210:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Failed to initialize resolutions for display '%s'", XDisplayName(displayname)); ^ screen.cpp: In function 'void GfScrInit(int, char**)': screen.cpp:254:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] xw = (int)GfParmGetNum(handle, GFSCR_SECT_PROP, GFSCR_ATT_X, (char*)NULL, 640); ^ screen.cpp:254:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:255:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] yw = (int)GfParmGetNum(handle, GFSCR_SECT_PROP, GFSCR_ATT_Y, (char*)NULL, 480); ^ screen.cpp:255:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:256:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] winX = (int)GfParmGetNum(handle, GFSCR_SECT_PROP, GFSCR_ATT_WIN_X, (char*)NULL, xw); ^ screen.cpp:256:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:257:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] winY = (int)GfParmGetNum(handle, GFSCR_SECT_PROP, GFSCR_ATT_WIN_Y, (char*)NULL, yw); ^ screen.cpp:257:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:258:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] depth = (int)GfParmGetNum(handle, GFSCR_SECT_PROP, GFSCR_ATT_BPP, (char*)NULL, 32); ^ screen.cpp:258:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:259:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] maxfreq = (int)GfParmGetNum(handle, GFSCR_SECT_PROP, GFSCR_ATT_MAXREFRESH, (char*)NULL, 160); ^ screen.cpp:259:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:266:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fscr = GfParmGetStr(handle, GFSCR_SECT_PROP, GFSCR_ATT_FSCR, GFSCR_VAL_NO); ^ screen.cpp:266:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:266:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:284:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] vinit = GfParmGetStr(handle, GFSCR_SECT_PROP, GFSCR_ATT_VINIT, GFSCR_VAL_VINIT_COMPATIBLE); ^ screen.cpp:284:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:284:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:377:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("2 - Trying %s mode\n", buf); ^ screen.cpp:379:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("2- %s mode Possible\n", buf); ^ screen.cpp:382:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Use GameMode %s\n", buf); ^ screen.cpp: In function 'void saveParams()': screen.cpp:466:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(paramHdle, GFSCR_SECT_PROP, GFSCR_ATT_X, (char*)NULL, x); ^ screen.cpp:466:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:467:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(paramHdle, GFSCR_SECT_PROP, GFSCR_ATT_Y, (char*)NULL, y); ^ screen.cpp:467:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:468:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(paramHdle, GFSCR_SECT_PROP, GFSCR_ATT_WIN_X, (char*)NULL, x); ^ screen.cpp:468:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:469:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(paramHdle, GFSCR_SECT_PROP, GFSCR_ATT_WIN_Y, (char*)NULL, y); ^ screen.cpp:469:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:470:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(paramHdle, GFSCR_SECT_PROP, GFSCR_ATT_BPP, (char*)NULL, bpp); ^ screen.cpp:470:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:471:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(paramHdle, GFSCR_SECT_PROP, GFSCR_ATT_MAXREFRESH, (char*)NULL, curMaxFreq); ^ screen.cpp:471:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:473:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(paramHdle, GFSCR_SECT_PROP, GFSCR_ATT_VINIT, VInit[curVInit]); ^ screen.cpp:473:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:476:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(paramHdle, GFSCR_SECT_PROP, GFSCR_ATT_FSCR, "yes"); ^ screen.cpp:476:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:476:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:478:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(paramHdle, GFSCR_SECT_PROP, GFSCR_ATT_FSCR, "no"); ^ screen.cpp:478:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:478:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:480:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmWriteFile(NULL, paramHdle, "Screen"); ^ screen.cpp: In function 'void GfScrReinit(void*)': screen.cpp:515:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] arg[curArg++] = "-m"; ^ screen.cpp:519:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] arg[curArg++] = "-l"; ^ screen.cpp:524:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] arg[curArg++] = "-L"; ^ screen.cpp:529:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] arg[curArg++] = "-D"; ^ screen.cpp: In function 'void initFromConf()': screen.cpp:655:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x = (int)GfParmGetNum(paramHdle, GFSCR_SECT_PROP, GFSCR_ATT_X, NULL, 640); ^ screen.cpp:655:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:656:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] y = (int)GfParmGetNum(paramHdle, GFSCR_SECT_PROP, GFSCR_ATT_Y, NULL, 480); ^ screen.cpp:656:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:666:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!strcmp("yes", GfParmGetStr(paramHdle, GFSCR_SECT_PROP, GFSCR_ATT_FSCR, "yes"))) { ^ screen.cpp:666:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:666:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:673:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *tmp = GfParmGetStr(paramHdle, GFSCR_SECT_PROP, GFSCR_ATT_VINIT, GFSCR_VAL_VINIT_COMPATIBLE); ^ screen.cpp:673:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:673:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:681:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] bpp = (int)GfParmGetNum(paramHdle, GFSCR_SECT_PROP, GFSCR_ATT_BPP, NULL, 24); ^ screen.cpp:681:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:690:99: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] curMaxFreq = (int)GfParmGetNum(paramHdle, GFSCR_SECT_PROP, GFSCR_ATT_MAXREFRESH, NULL, curMaxFreq); ^ screen.cpp:690:99: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp: In function 'void* GfScrMenuInit(void*)': screen.cpp:733:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiTitleCreate(scrHandle, "Screen configuration", 0); ^ screen.cpp:734:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(scrHandle, "data/img/splash-graphic.png"); ^ screen.cpp:743:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0); ^ screen.cpp:753:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ screen.cpp:753:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:753:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:753:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:754:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_LEFT, "Previous Resolution", (void*)-1, ResPrevNext, NULL); ^ screen.cpp:760:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30); ^ screen.cpp:770:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ screen.cpp:770:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:770:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:770:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:771:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_RIGHT, "Next Resolution", (void*)1, ResPrevNext, NULL); ^ screen.cpp:778:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0); ^ screen.cpp:787:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ screen.cpp:787:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:787:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:787:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:793:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30); ^ screen.cpp:803:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ screen.cpp:803:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:803:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:803:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:810:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0); ^ screen.cpp:820:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ screen.cpp:820:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:820:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:820:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:826:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30); ^ screen.cpp:836:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ screen.cpp:836:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:836:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:836:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:837:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 'f', "Display Mode", (void*)1, ModePrevNext, NULL); ^ screen.cpp:856:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0); ^ screen.cpp:865:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ screen.cpp:865:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:865:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:865:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:871:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 30); ^ screen.cpp:881:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ screen.cpp:881:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:881:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:881:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen.cpp:884:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 13, "Apply Mode", NULL, GfScrReinit, NULL); ^ screen.cpp:886:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, GfScrReinit, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ screen.cpp:888:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, 27, "Cancel", precMenu, GfuiScreenActivate, NULL); ^ screen.cpp:890:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] precMenu, GfuiScreenActivate, NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c gui.cpp In file included from /usr/include/stdlib.h:24:0, from gui.cpp:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ gui.cpp: In function 'void gfuiColorInit()': gui.cpp:58:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *rgba[4] = {GFSCR_ATTR_RED, GFSCR_ATTR_GREEN, GFSCR_ATTR_BLUE, GFSCR_ATTR_ALPHA}; ^ gui.cpp:58:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:58:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:58:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp:66:2: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gui.cpp: In function 'void gfuiMotion(int, int)': gui.cpp:418:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gfuiMouseAction((void*)(1 - GfuiScreen->mouse)); ^ gui.cpp: In function 'void GfuiScreenAddBgImg(void*, char*)': gui.cpp:968:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen_gamma = (float)GfParmGetNum(handle, GFSCR_SECT_PROP, GFSCR_ATT_GAMMA, (char*)NULL, 2.0); ^ gui.cpp:968:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c guifont.cpp In file included from /usr/include/stdio.h:27:0, from guifont.cpp:22: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ guifont.cpp:42:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *keySize[4] = { "size big", "size large", "size medium", "size small" }; ^ guifont.cpp:42:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guifont.cpp:42:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guifont.cpp:42:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guifont.cpp: In function 'void gfuiLoadFonts()': guifont.cpp:73:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fontName = GfParmGetStr(param, "Menu Font", "name", "b5.glf"); ^ guifont.cpp:73:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guifont.cpp:73:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guifont.cpp:77:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] size = (int)GfParmGetNum(param, "Menu Font", keySize[i], (char*)NULL, 10.0); ^ guifont.cpp:82:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fontName = GfParmGetStr(param, "Console Font", "name", "b7.glf"); ^ guifont.cpp:82:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guifont.cpp:82:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guifont.cpp:86:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] size = (int)GfParmGetNum(param, "Console Font", keySize[i], (char*)NULL, 10.0); ^ guifont.cpp:91:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fontName = GfParmGetStr(param, "Digital Font", "name", "digital.glf"); ^ guifont.cpp:91:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guifont.cpp:91:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guifont.cpp:93:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] size = (int)GfParmGetNum(param, "Digital Font", keySize[0], (char*)NULL, 8.0); ^ guifont.cpp: In constructor 'GfuiFontClass::GfuiFontClass(char*)': guifont.cpp:123:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(font, 24, 1, Input); // for IA64... ^ guifont.cpp:143:51: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(font->Char, sizeof(GLFONTCHAR), Num, Input); ^ guifont.cpp:161:43: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(TexBytes, sizeof(char), Num, Input); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c guiobject.cpp In file included from /usr/include/string.h:25:0, from guiobject.cpp:20: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c guilabel.cpp In file included from /usr/include/stdlib.h:24:0, from guilabel.cpp:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c guibutton.cpp In file included from /usr/include/stdlib.h:24:0, from guibutton.cpp:27: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c guiedit.cpp In file included from /usr/include/stdlib.h:24:0, from guiedit.cpp:27: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c guihelp.cpp In file included from /usr/include/stdlib.h:24:0, from guihelp.cpp:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ guihelp.cpp: In function 'void GfuiHelpScreen(void*)': guihelp.cpp:64:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0); ^ guihelp.cpp:105:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (tfuiCallback)NULL); ^ guihelp.cpp:107:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, (unsigned char)27, "", prevScreen, GfuiScreenReplace, NULL); ^ guihelp.cpp:108:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(scrHandle, GLUT_KEY_F1, "", prevScreen, GfuiScreenReplace, NULL); ^ guihelp.cpp:109:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(scrHandle, (unsigned char)13, "", prevScreen, GfuiScreenReplace, NULL); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c img.cpp In file included from /usr/include/setjmp.h:25:0, from /usr/include/png.h:358, from img.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ img.cpp: In function 'GLuint GfImgReadTex(char*)': img.cpp:303:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen_gamma = (float)GfParmGetNum(handle, GFSCR_SECT_PROP, GFSCR_ATT_GAMMA, (char*)NULL, 2.0); ^ img.cpp:303:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c guiscrollist.cpp In file included from /usr/include/stdlib.h:24:0, from guiscrollist.cpp:27: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ guiscrollist.cpp: In function 'int GfuiScrollListCreate(void*, int, int, int, int, int, int, int, void*, tfuiCallback)': guiscrollist.cpp:171:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 0, 10, 10, 10, (void *)(object->id), gfuiScroll); ^ guiscrollist.cpp:175:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 0, 10, 10, 10, (void *)(object->id), gfuiScroll); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c guiscrollbar.cpp In file included from /usr/include/stdlib.h:24:0, from guiscrollbar.cpp:27: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ guiscrollbar.cpp: In function 'int GfuiScrollBarCreate(void*, int, int, int, int, int, int, int, int, int, void*, tfuiSBCallback)': guiscrollbar.cpp:138:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:139:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:139:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:139:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:139:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:143:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:144:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:144:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:144:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:144:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:150:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:151:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:151:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:151:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:151:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:155:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:156:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:156:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:156:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:156:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:162:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:163:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:163:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:163:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:163:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:167:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:168:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:168:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:168:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:168:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:174:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:175:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:175:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:175:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:175:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:179:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:180:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:180:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:180:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:180:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:186:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:187:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:187:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:187:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:187:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:191:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:192:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:192:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:192:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:192:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:198:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:199:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:199:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:199:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:199:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:203:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:204:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:204:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:204:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:204:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:210:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:211:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:211:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:211:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:211:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:215:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:216:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:216:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:216:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:216:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:222:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:223:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:223:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:223:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:223:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:227:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:228:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:228:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:228:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:228:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:234:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:235:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:235:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:235:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:235:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:239:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:240:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:240:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:240:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:240:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:252:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:253:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:253:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:253:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:253:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:257:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:258:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:258:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:258:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:258:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:264:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:265:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:265:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:265:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:265:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:269:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:270:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:270:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:270:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:270:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:276:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:277:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:277:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:277:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:277:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:281:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:282:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:282:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:282:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:282:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:288:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:289:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:289:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:289:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:289:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:293:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:294:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:294:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:294:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:294:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:300:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:301:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:301:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:301:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:301:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:305:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:306:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:306:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:306:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:306:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:312:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:313:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:313:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:313:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:313:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:317:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:318:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:318:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:318:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:318:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:324:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:325:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:325:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:325:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:325:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:329:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:330:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:330:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:330:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:330:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:336:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:337:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:337:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:337:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:337:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:341:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:342:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:342:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:342:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:342:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:348:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollMinus, ^ guiscrollbar.cpp:349:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:349:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:349:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:349:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:353:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void*)(object->id), gfuiScrollPlus, ^ guiscrollbar.cpp:354:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, (tfuiCallback)NULL, (tfuiCallback)NULL); ^ guiscrollbar.cpp:354:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:354:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] guiscrollbar.cpp:354:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c guiimage.cpp In file included from /usr/include/stdlib.h:24:0, from guiimage.cpp:27: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c control.cpp In file included from /usr/include/stdlib.h:24:0, from control.cpp:27: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:52:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:63:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:65:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *GfMouseBtn[] = {"MOUSE_LEFT_BTN", "MOUSE_MIDDLE_BTN", "MOUSE_RIGHT_BTN"}; /* glut order */ ^ control.cpp:65:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:65:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:67:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *GfMouseAxis[] = {"MOUSE_LEFT", "MOUSE_RIGHT", "MOUSE_UP", "MOUSE_DOWN"}; ^ control.cpp:67:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:67:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:67:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:97:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:105:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ control.cpp:105:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:105:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:105:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control.cpp:105:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c fg_gm.cpp In file included from /usr/include/inttypes.h:25:0, from /usr/include/GL/glext.h:1420, from /usr/include/GL/gl.h:2055, from fg_gm.cpp:45: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ fg_gm.cpp: In function 'void fgInitialize()': fg_gm.cpp:133:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] displayName = ":0.0"; ^ fg_gm.cpp:140:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut( "failed to open display '%s'", XDisplayName( displayName ) ); ^ fg_gm.cpp: In function 'void fglutGameModeString(const char*)': fg_gm.cpp:488:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut( "unable to parse game mode string `%s'", string ); ^ fg_gm.cpp: In function 'int fglutEnterGameMode()': fg_gm.cpp:515:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut( "failed to change screen settings" ); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c tgfclient.cpp In file included from /usr/include/stdio.h:27:0, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/tgf.h:30, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/tgfclient.h:30, from tgfclient.cpp:22: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c glfeatures.cpp In file included from /usr/include/inttypes.h:25:0, from /usr/include/GL/glext.h:1420, from /usr/include/GL/gl.h:2055, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/glfeatures.h:36, from glfeatures.cpp:29: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ glfeatures.cpp: In function 'void checkCompressARBAvailable(bool&)': glfeatures.cpp:43:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] int compressARB = GfuiGlutExtensionSupported("GL_ARB_texture_compression"); ^ In file included from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/glfeatures.h:40:0, from glfeatures.cpp:29: glfeatures.cpp: In function 'void checkCompressARBEnabled(bool&)': /usr/src/RPM/BUILD/torcs-1.3.0/export/include/graphic.h:41:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define GR_ATT_TEXTURECOMPRESSION_ENABLED "enabled" ^ glfeatures.cpp:68:24: note: in expansion of macro 'GR_ATT_TEXTURECOMPRESSION_ENABLED' char *tcEnabledStr = GR_ATT_TEXTURECOMPRESSION_ENABLED; ^ glfeatures.cpp:72:128: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *optionName = GfParmGetStr(paramHandle, GR_SCT_GLFEATURES, GR_ATT_TEXTURECOMPRESSION, GR_ATT_TEXTURECOMPRESSION_DISABLED); ^ glfeatures.cpp:72:128: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] glfeatures.cpp:72:128: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] glfeatures.cpp: In function 'void getUserTextureMaxSize(int&)': glfeatures.cpp:123:119: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] result = (int) GfParmGetNum(paramHandle, GR_SCT_GLFEATURES, GR_ATT_TEXTURESIZE, (char*)NULL, (tdble) glTextureMaxSize); ^ glfeatures.cpp:123:119: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x86_64-alt-linux-g++ -shared -o libtgfclient.so guimenu.o screen.o gui.o guifont.o guiobject.o guilabel.o guibutton.o guiedit.o guihelp.o img.o guiscrollist.o guiscrollbar.o guiimage.o control.o fg_gm.o tgfclient.o glfeatures.o -L/usr/src/RPM/BUILD/torcs-1.3.0/export/lib -L/usr/lib64 -lalut -L/usr/lib -lplibssgaux -lplibssg -lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lexpat -lpng -lz -ldl -lopenal -lXrandr -lXrender -lXxf86vm -lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm Exporting libtgfclient.so to /usr/src/RPM/BUILD/torcs-1.3.0/export/lib/libtgfclient.so make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/tgfclient' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/raceengineclient' x86_64-alt-linux-gcc -E -M -D__DEPEND__ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H singleplayer.cpp raceinit.cpp racemain.cpp racemanmenu.cpp racestate.cpp racegl.cpp raceengine.cpp raceresults.cpp > .depend x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c singleplayer.cpp In file included from /usr/include/stdlib.h:24:0, from singleplayer.cpp:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ singleplayer.cpp: In function 'void* ReSinglePlayerInit(void*)': singleplayer.cpp:67:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiTitleCreate(singlePlayerHandle, "SELECT RACE", 0); ^ singleplayer.cpp:69:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(singlePlayerHandle, "data/img/splash-single-player.png"); ^ singleplayer.cpp:80:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] precMenu, singlePLayerShutdown); ^ singleplayer.cpp:80:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c raceinit.cpp In file included from /usr/include/stdlib.h:24:0, from raceinit.cpp:29: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ raceinit.cpp:49:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *level_str[] = { ROB_VAL_ROOKIE, ROB_VAL_AMATEUR, ROB_VAL_SEMI_PRO, ROB_VAL_PRO }; ^ raceinit.cpp:49:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:49:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:49:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp: In function 'void ReInit()': raceinit.cpp:81:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Loading Track Loader...\n"); ^ raceinit.cpp:82:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] dllname = GfParmGetStr(ReInfo->_reParam, "Modules", "track", ""); ^ raceinit.cpp:82:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:82:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:87:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Loading Graphic Engine...\n"); ^ raceinit.cpp:88:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] dllname = GfParmGetStr(ReInfo->_reParam, "Modules", "graphic", ""); ^ raceinit.cpp:88:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:88:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:94:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (strcmp(GfParmGetStr(ReInfo->_reParam, RM_SECT_MOVIE_CAPTURE, RM_ATT_CAPTURE_ENABLE, "no"), "no") == 0){ ^ raceinit.cpp:94:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:94:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:99:114: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] capture->deltaFrame = 1.0 / GfParmGetNum(ReInfo->_reParam, RM_SECT_MOVIE_CAPTURE, RM_ATT_CAPTURE_FPS, NULL, 1.0); ^ raceinit.cpp:99:114: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:100:109: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] capture->outputBase = GfParmGetStr(ReInfo->_reParam, RM_SECT_MOVIE_CAPTURE, RM_ATT_CAPTURE_OUT_DIR, "/tmp"); ^ raceinit.cpp:100:109: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:100:109: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp: In function 'void reSelectRaceman(void*)': raceinit.cpp:156:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ReInfo->_reName = GfParmGetStr(params, RM_SECT_HEADER, RM_ATTR_NAME, ""); ^ raceinit.cpp:156:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:156:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp: In function 'void reRegisterRaceman(tFList*)': raceinit.cpp:166:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanCur->dispName = GfParmGetStr(racemanCur->userData, RM_SECT_HEADER, RM_ATTR_NAME, 0); ^ raceinit.cpp:166:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp: In function 'void reSortRacemanList(tFList**)': raceinit.cpp:180:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (GfParmGetNum(cur->userData, RM_SECT_HEADER, RM_ATTR_PRIO, NULL, 10000) > ^ raceinit.cpp:180:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:181:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmGetNum(cur->next->userData, RM_SECT_HEADER, RM_ATTR_PRIO, NULL, 10000)) { ^ raceinit.cpp:181:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp: In function 'void ReAddRacemanListButton(void*)': raceinit.cpp:211:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanList = GfDirGetListFiltered("config/raceman", "xml"); ^ raceinit.cpp:211:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:213:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("No race manager available\n"); ^ raceinit.cpp:229:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmGetStr(racemanCur->userData, RM_SECT_HEADER, RM_ATTR_DESCR, ""), ^ raceinit.cpp:229:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:229:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp: In function 'void initStartingGrid()': raceinit.cpp:287:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pole = GfParmGetStr(params, path, RM_ATTR_POLE, "left"); ^ raceinit.cpp:287:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:289:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pole = GfParmGetStr(params, path, RM_ATTR_POLE, "right"); ^ raceinit.cpp:289:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:292:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pole = GfParmGetStr(trHdle, RM_SECT_STARTINGGRID, RM_ATTR_POLE, pole); ^ raceinit.cpp:292:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:303:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] rows = (int)GfParmGetNum(params, path, RM_ATTR_ROWS, (char*)NULL, 2); ^ raceinit.cpp:304:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] rows = (int)GfParmGetNum(trHdle, RM_SECT_STARTINGGRID, RM_ATTR_ROWS, (char*)NULL, rows); ^ raceinit.cpp:304:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:305:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] d1 = GfParmGetNum(params, path, RM_ATTR_TOSTART, (char*)NULL, 10); ^ raceinit.cpp:306:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] d1 = GfParmGetNum(trHdle, RM_SECT_STARTINGGRID, RM_ATTR_TOSTART, (char*)NULL, d1); ^ raceinit.cpp:306:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:307:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] d2 = GfParmGetNum(params, path, RM_ATTR_COLDIST, (char*)NULL, 10); ^ raceinit.cpp:308:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] d2 = GfParmGetNum(trHdle, RM_SECT_STARTINGGRID, RM_ATTR_COLDIST, (char*)NULL, d2); ^ raceinit.cpp:308:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:309:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] d3 = GfParmGetNum(params, path, RM_ATTR_COLOFFSET, (char*)NULL, 5); ^ raceinit.cpp:310:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] d3 = GfParmGetNum(trHdle, RM_SECT_STARTINGGRID, RM_ATTR_COLOFFSET, (char*)NULL, d3); ^ raceinit.cpp:310:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:311:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] speedInit = GfParmGetNum(params, path, RM_ATTR_INITSPEED, (char*)NULL, 0.0); ^ raceinit.cpp:312:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] heightInit = GfParmGetNum(params, path, RM_ATTR_INITHEIGHT, (char*)NULL, 0.3); ^ raceinit.cpp:313:101: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] heightInit = GfParmGetNum(trHdle, RM_SECT_STARTINGGRID, RM_ATTR_INITHEIGHT, (char*)NULL, heightInit); ^ raceinit.cpp:313:101: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:267:14: warning: variable 'wi2' set but not used [-Wunused-but-set-variable] tdble a, b, wi2; ^ raceinit.cpp: In function 'void initPits()': raceinit.cpp:379:105: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] int carsPerPit = (int) GfParmGetNum(ReInfo->params, ReInfo->_reRaceName, RM_ATTR_CARSPERPIT, NULL, 1.0f); ^ raceinit.cpp:385:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Cars per pit: %d\n", carsPerPit); ^ raceinit.cpp:445:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Pit %d, Team: %s, ", i, pit->car[j]->_teamname); ^ raceinit.cpp:447:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("%d: %s ", j, pit->car[j]->_name); ^ raceinit.cpp:450:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("\n"); ^ raceinit.cpp: In function 'int ReInitCars()': raceinit.cpp:489:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nCars = GfParmGetEltNb(params, RM_SECT_DRIVERS_RACING); ^ raceinit.cpp:490:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("loading %d cars\n", nCars); ^ raceinit.cpp:496:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] focused = GfParmGetStr(ReInfo->params, RM_SECT_DRIVERS, RM_ATTR_FOCUSED, ""); ^ raceinit.cpp:496:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:496:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:497:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] focusedIdx = (int)GfParmGetNum(ReInfo->params, RM_SECT_DRIVERS, RM_ATTR_FOCUSEDIDX, NULL, 0); ^ raceinit.cpp:497:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:503:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cardllname = GfParmGetStr(ReInfo->params, path, RM_ATTR_MODULE, ""); ^ raceinit.cpp:503:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:504:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] robotIdx = (int)GfParmGetNum(ReInfo->params, path, RM_ATTR_IDX, NULL, 0); ^ raceinit.cpp:518:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Driver's name: %s\n", curModInfo->name); ^ raceinit.cpp:540:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] strncpy(elt->_name, GfParmGetStr(robhdle, path, ROB_ATTR_NAME, ""), MAX_NAME_LEN - 1); ^ raceinit.cpp:540:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:542:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] strncpy(elt->_teamname, GfParmGetStr(robhdle, path, ROB_ATTR_TEAM, ""), MAX_NAME_LEN - 1); ^ raceinit.cpp:542:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:545:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] strncpy(elt->_carName, GfParmGetStr(robhdle, path, ROB_ATTR_CAR, ""), MAX_NAME_LEN - 1); ^ raceinit.cpp:545:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:547:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] elt->_raceNumber = (int)GfParmGetNum(robhdle, path, ROB_ATTR_RACENUM, (char*)NULL, 0); ^ raceinit.cpp:548:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (strcmp(GfParmGetStr(robhdle, path, ROB_ATTR_TYPE, ROB_VAL_ROBOT), ROB_VAL_ROBOT)) { ^ raceinit.cpp:548:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:554:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = GfParmGetStr(robhdle, path, ROB_ATTR_LEVEL, ROB_VAL_SEMI_PRO); ^ raceinit.cpp:554:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:568:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Car Specification: %s\n", buf); ^ raceinit.cpp:570:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] category = GfParmGetStr(carhdle, SECT_CAR, PRM_CATEGORY, NULL); ^ raceinit.cpp:570:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:579:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Category Specification: %s\n", buf); ^ raceinit.cpp:619:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("%d drivers ready to race\n", nCars); ^ raceinit.cpp:483:8: warning: variable 'focused' set but not used [-Wunused-but-set-variable] char *focused; ^ raceinit.cpp:485:6: warning: variable 'focusedIdx' set but not used [-Wunused-but-set-variable] int focusedIdx; ^ raceinit.cpp: In function 'void reDumpTrack(tTrack*, int)': raceinit.cpp:656:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RmLoadingScreenSetText("Loading Track Geometry..."); ^ raceinit.cpp:666:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("++++++++++++ Track ++++++++++++\n"); ^ raceinit.cpp:667:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("name = %s\n", track->name); ^ raceinit.cpp:668:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("author = %s\n", track->author); ^ raceinit.cpp:669:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("filename = %s\n", track->filename); ^ raceinit.cpp:670:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("nseg = %d\n", track->nseg); ^ raceinit.cpp:671:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("version = %d\n", track->version); ^ raceinit.cpp:672:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("length = %f\n", track->length); ^ raceinit.cpp:673:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("width = %f\n", track->width); ^ raceinit.cpp:674:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("XSize = %f\n", track->max.x); ^ raceinit.cpp:675:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("YSize = %f\n", track->max.y); ^ raceinit.cpp:676:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("ZSize = %f\n", track->max.z); ^ raceinit.cpp:679:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Pits = none\n"); ^ raceinit.cpp:682:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Pits = present on track side\n"); ^ raceinit.cpp:685:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Pits = present on separate path\n"); ^ raceinit.cpp:690:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut(" segment %d -------------- \n", seg->id); ^ raceinit.cpp:694:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut(" length %f\n", seg->length); ^ raceinit.cpp:695:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut(" radius %f\n", seg->radius); ^ raceinit.cpp:699:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RAD2DEG(seg->angle[TR_CS])); ^ raceinit.cpp:700:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut(" Za %f\n", RAD2DEG(seg->angle[TR_ZS])); ^ raceinit.cpp:704:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] seg->vertex[TR_SR].z); ^ raceinit.cpp:708:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] seg->vertex[TR_SL].z); ^ raceinit.cpp:712:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] seg->vertex[TR_ER].z); ^ raceinit.cpp:716:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] seg->vertex[TR_EL].z); ^ raceinit.cpp:717:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut(" prev %d\n", seg->prev->id); ^ raceinit.cpp:718:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut(" next %d\n", seg->next->id); ^ raceinit.cpp:720:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("From Last To First\n"); ^ raceinit.cpp:724:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] track->seg->next->vertex[TR_SR].z - track->seg->vertex[TR_ER].z); ^ raceinit.cpp: In function 'int ReInitTrack()': raceinit.cpp:743:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] curTrkIdx = (int)GfParmGetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_TRACK, NULL, 1); ^ raceinit.cpp:743:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:745:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trackName = GfParmGetStr(params, buf, RM_ATTR_NAME, 0); ^ raceinit.cpp:747:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] catName = GfParmGetStr(params, buf, RM_ATTR_CATEGORY, 0); ^ raceinit.cpp: In function 'char* ReGetCurrentRaceName()': raceinit.cpp:803:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] curRaceIdx = (int)GfParmGetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_RACE, NULL, 1); ^ raceinit.cpp:803:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:805:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return GfParmGetStr(params, path, RM_ATTR_NAME, 0); ^ raceinit.cpp: In function 'char* ReGetPrevRaceName()': raceinit.cpp:815:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] curRaceIdx = (int)GfParmGetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_RACE, NULL, 1) - 1; ^ raceinit.cpp:815:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceinit.cpp:817:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return GfParmGetStr(params, path, RM_ATTR_NAME, 0); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c racemain.cpp In file included from /usr/include/stdlib.h:24:0, from racemain.cpp:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ racemain.cpp: In function 'int ReRaceEventInit()': racemain.cpp:113:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RmLoadingScreenStart(ReInfo->_reName, "data/img/splash-qrloading.png"); ^ racemain.cpp:115:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RmLoadingScreenSetText("Loading Track 3D Description..."); ^ racemain.cpp:119:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (GfParmGetEltNb(params, RM_SECT_TRACKS) > 1) { ^ racemain.cpp: In function 'int RePreRace()': racemain.cpp:141:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] dist = GfParmGetNum(params, raceName, RM_ATTR_DISTANCE, NULL, 0); ^ racemain.cpp:143:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ReInfo->s->_totLaps = (int)GfParmGetNum(params, raceName, RM_ATTR_LAPS, NULL, 30); ^ racemain.cpp:147:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ReInfo->s->_maxDammage = (int)GfParmGetNum(params, raceName, RM_ATTR_MAX_DMG, NULL, 10000); ^ racemain.cpp:149:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceType = GfParmGetStr(params, raceName, RM_ATTR_TYPE, RM_VAL_RACE); ^ racemain.cpp:149:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp: In function 'int reRaceRealStart()': racemain.cpp:182:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RmLoadingScreenSetText("Loading Simulation Engine..."); ^ racemain.cpp:183:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] dllname = GfParmGetStr(ReInfo->_reParam, "Modules", "simu", ""); ^ racemain.cpp:183:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:183:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:203:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!strcmp(GfParmGetStr(params, ReInfo->_reRaceName, RM_ATTR_DISPMODE, RM_VAL_VISIBLE), RM_VAL_INVISIBLE)) { ^ racemain.cpp:203:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:210:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ((int)GfParmGetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_DRIVER, NULL, 1) == 1)) ^ racemain.cpp:210:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:212:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RmLoadingScreenStart(ReInfo->_reName, "data/img/splash-qrloading.png"); ^ racemain.cpp:228:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RmLoadingScreenSetText("Running Prestart..."); ^ racemain.cpp:246:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RmLoadingScreenSetText("Ready."); ^ racemain.cpp: In function 'int ReRaceStart()': racemain.cpp:306:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ReInfo->_reCarInfo = (tReCarInfo*)calloc(GfParmGetEltNb(params, RM_SECT_DRIVERS), sizeof(tReCarInfo)); ^ racemain.cpp:309:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmListClean(params, RM_SECT_DRIVERS_RACING); ^ racemain.cpp:311:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] i = (int)GfParmGetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_DRIVER, NULL, 1); ^ racemain.cpp:311:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:313:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RmLoadingScreenStart(ReInfo->_reName, "data/img/splash-qrloading.png"); ^ racemain.cpp:314:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RmLoadingScreenSetText("Preparing Starting Grid..."); ^ racemain.cpp:321:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(params, path2, RM_ATTR_MODULE, GfParmGetStr(params, path, RM_ATTR_MODULE, "")); ^ racemain.cpp:321:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:321:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(params, path2, RM_ATTR_MODULE, GfParmGetStr(params, path, RM_ATTR_MODULE, "")); ^ racemain.cpp:322:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(params, path2, RM_ATTR_IDX, NULL, GfParmGetNum(params, path, RM_ATTR_IDX, NULL, 0)); ^ racemain.cpp:322:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(params, path2, RM_ATTR_IDX, NULL, GfParmGetNum(params, path, RM_ATTR_IDX, NULL, 0)); ^ racemain.cpp:324:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RmLoadingScreenStart(ReInfo->_reName, "data/img/splash-qrloading.png"); ^ racemain.cpp:325:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RmLoadingScreenSetText("Preparing Starting Grid..."); ^ racemain.cpp:327:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gridType = GfParmGetStr(params, raceName, RM_ATTR_START_ORDER, RM_VAL_DRV_LIST_ORDER); ^ racemain.cpp:327:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:330:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nCars = GfParmGetEltNb(params, RM_SECT_DRIVERS); ^ racemain.cpp:331:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] maxCars = (int)GfParmGetNum(params, raceName, RM_ATTR_MAX_DRV, NULL, 100); ^ racemain.cpp:340:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(params, path2, RM_ATTR_MODULE, GfParmGetStr(results, path, RE_ATTR_MODULE, "")); ^ racemain.cpp:340:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:340:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(params, path2, RM_ATTR_MODULE, GfParmGetStr(results, path, RE_ATTR_MODULE, "")); ^ racemain.cpp:341:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(params, path2, RM_ATTR_IDX, NULL, GfParmGetNum(results, path, RE_ATTR_IDX, NULL, 0)); ^ racemain.cpp:341:101: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(params, path2, RM_ATTR_IDX, NULL, GfParmGetNum(results, path, RE_ATTR_IDX, NULL, 0)); ^ racemain.cpp:345:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nCars = GfParmGetEltNb(params, RM_SECT_DRIVERS); ^ racemain.cpp:346:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] maxCars = (int)GfParmGetNum(params, raceName, RM_ATTR_MAX_DRV, NULL, 100); ^ racemain.cpp:355:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(params, path2, RM_ATTR_MODULE, GfParmGetStr(results, path, RE_ATTR_MODULE, "")); ^ racemain.cpp:355:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:355:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(params, path2, RM_ATTR_MODULE, GfParmGetStr(results, path, RE_ATTR_MODULE, "")); ^ racemain.cpp:356:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(params, path2, RM_ATTR_IDX, NULL, GfParmGetNum(results, path, RE_ATTR_IDX, NULL, 0)); ^ racemain.cpp:356:101: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(params, path2, RM_ATTR_IDX, NULL, GfParmGetNum(results, path, RE_ATTR_IDX, NULL, 0)); ^ racemain.cpp:360:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nCars = GfParmGetEltNb(params, RM_SECT_DRIVERS); ^ racemain.cpp:361:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] maxCars = (int)GfParmGetNum(params, raceName, RM_ATTR_MAX_DRV, NULL, 100); ^ racemain.cpp:366:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(params, path2, RM_ATTR_MODULE, GfParmGetStr(params, path, RM_ATTR_MODULE, "")); ^ racemain.cpp:366:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:366:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(params, path2, RM_ATTR_MODULE, GfParmGetStr(params, path, RM_ATTR_MODULE, "")); ^ racemain.cpp:367:99: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(params, path2, RM_ATTR_IDX, NULL, GfParmGetNum(params, path, RM_ATTR_IDX, NULL, 0)); ^ racemain.cpp:367:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(params, path2, RM_ATTR_IDX, NULL, GfParmGetNum(params, path, RM_ATTR_IDX, NULL, 0)); ^ racemain.cpp:372:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!strcmp(GfParmGetStr(params, ReInfo->_reRaceName, RM_ATTR_SPLASH_MENU, RM_VAL_NO), RM_VAL_YES)) { ^ racemain.cpp:372:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp: In function 'int ReRaceStop()': racemain.cpp:461:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!strcmp(GfParmGetStr(params, ReInfo->_reRaceName, RM_ATTR_ALLOW_RESTART, RM_VAL_NO), RM_VAL_NO)) { ^ racemain.cpp:461:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:465:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Quit Game", "Quit the game", QuitHookInit()); ^ racemain.cpp:465:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:465:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:465:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:465:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:465:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:465:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:471:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "Quit Game", "Quit the game", QuitHookInit()); ^ racemain.cpp:471:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:471:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:471:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:471:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:471:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:471:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:471:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:471:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp: In function 'int ReRaceEnd()': racemain.cpp:487:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] curDrvIdx = (int)GfParmGetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_DRIVER, NULL, 1); ^ racemain.cpp:487:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:489:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (curDrvIdx > GfParmGetEltNb(params, RM_SECT_DRIVERS)) { ^ racemain.cpp:490:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_DRIVER, NULL, 1); ^ racemain.cpp:490:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:493:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_DRIVER, NULL, curDrvIdx); ^ racemain.cpp:493:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp: In function 'int RePostRace()': racemain.cpp:510:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] curRaceIdx = (int)GfParmGetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_RACE, NULL, 1); ^ racemain.cpp:510:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:511:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (curRaceIdx < GfParmGetEltNb(params, RM_SECT_RACES)) { ^ racemain.cpp:513:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Race Nb %d\n", curRaceIdx); ^ racemain.cpp:514:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_RACE, NULL, curRaceIdx); ^ racemain.cpp:514:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:520:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_RACE, NULL, 1); ^ racemain.cpp:520:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp: In function 'int ReEventShutdown()': racemain.cpp:530:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] int nbTrk = GfParmGetEltNb(params, RM_SECT_TRACKS); ^ racemain.cpp:536:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] int curRaceIdx = (int)GfParmGetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_RACE, NULL, 1); ^ racemain.cpp:536:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:537:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] curTrkIdx = (int)GfParmGetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_TRACK, NULL, 1); ^ racemain.cpp:537:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemain.cpp:549:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_TRACK, NULL, curTrkIdx); ^ racemain.cpp:549:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c racemanmenu.cpp In file included from /usr/include/stdlib.h:24:0, from racemanmenu.cpp:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ racemanmenu.cpp: In function 'void reConfigBack()': racemanmenu.cpp:62:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmGetNum(params, RM_SECT_CONF, RM_ATTR_CUR_CONF, NULL, 1) - 2); ^ racemanmenu.cpp:62:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp:62:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmGetNum(params, RM_SECT_CONF, RM_ATTR_CUR_CONF, NULL, 1) - 2); ^ racemanmenu.cpp:62:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp: In function 'void reConfigRunState()': racemanmenu.cpp:123:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] curConf = (int)GfParmGetNum(params, RM_SECT_CONF, RM_ATTR_CUR_CONF, NULL, 1); ^ racemanmenu.cpp:123:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp:124:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (curConf > GfParmGetEltNb(params, RM_SECT_CONF)) { ^ racemanmenu.cpp:125:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("End of configuration\n"); ^ racemanmenu.cpp:131:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] conf = GfParmGetStr(params, path, RM_ATTR_TYPE, 0); ^ racemanmenu.cpp:133:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("no %s here %s\n", RM_ATTR_TYPE, path); ^ racemanmenu.cpp:137:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Configuration step %s\n", conf); ^ racemanmenu.cpp:170:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] rp.title = GfParmGetStr(params, path, RM_ATTR_RACE, "Race"); ^ racemanmenu.cpp:170:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp:177:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] opt = GfParmGetStr(params, path, RM_ATTR_TYPE, ""); ^ racemanmenu.cpp:177:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp:192:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(params, RM_SECT_CONF, RM_ATTR_CUR_CONF, NULL, curConf); ^ racemanmenu.cpp:192:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp: In function 'void reConfigureMenu(void*)': racemanmenu.cpp:208:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(params, RM_SECT_CONF, RM_ATTR_CUR_CONF, NULL, 1); ^ racemanmenu.cpp:208:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp: In function 'void reSelectLoadFile(char*)': racemanmenu.cpp:216:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Loading Saved File %s...\n", buf); ^ racemanmenu.cpp: In function 'void reLoadMenu(void*)': racemanmenu.cpp:231:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = GfParmGetStr(params, RM_SECT_HEADER, RM_ATTR_NAME, 0); ^ racemanmenu.cpp:231:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp: In function 'int ReRacemanMenu()': racemanmenu.cpp:255:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = GfParmGetStr(params, RM_SECT_HEADER, RM_ATTR_BGIMG, 0); ^ racemanmenu.cpp:255:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp:262:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = GfParmGetStr(params, RM_SECT_HEADER, RM_ATTR_NAME, 0); ^ racemanmenu.cpp:262:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp:270:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, ReStartNewRace); ^ racemanmenu.cpp:270:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp:274:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, reConfigureMenu); ^ racemanmenu.cpp:274:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp:280:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (GfParmGetEltNb(params, RM_SECT_TRACKS) > 1) { ^ racemanmenu.cpp:283:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanMenuHdle, reLoadMenu); ^ racemanmenu.cpp:283:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp:288:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ReInfo->_reMenuScreen, GfuiScreenActivate); ^ racemanmenu.cpp:288:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp: In function 'int ReNewTrackMenu()': racemanmenu.cpp:316:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = GfParmGetStr(params, RM_SECT_HEADER, RM_ATTR_BGIMG, 0); ^ racemanmenu.cpp:316:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp:320:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = GfParmGetStr(params, RM_SECT_HEADER, RM_ATTR_NAME, ""); ^ racemanmenu.cpp:320:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp:320:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp:326:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (int)GfParmGetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_TRACK, NULL, 1), ^ racemanmenu.cpp:326:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp:327:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmGetEltNb(params, RM_SECT_TRACKS), ^ racemanmenu.cpp:339:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL, reStateManage); ^ racemanmenu.cpp:339:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp:344:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ReInfo->_reMenuScreen, GfuiScreenActivate); ^ racemanmenu.cpp:344:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racemanmenu.cpp:346:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(newTrackMenuHdle, 27, "Abandon", ReInfo->_reMenuScreen, GfuiScreenActivate, NULL); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c racestate.cpp In file included from /usr/include/stdlib.h:24:0, from racestate.cpp:28: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ racestate.cpp: In function 'void ReStateManage()': racestate.cpp:63:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("RaceEngine: state = RE_STATE_CONFIG\n"); ^ racestate.cpp:72:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("RaceEngine: state = RE_STATE_EVENT_INIT\n"); ^ racestate.cpp:81:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("RaceEngine: state = RE_STATE_PRE_RACE\n"); ^ racestate.cpp:89:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("RaceEngine: state = RE_STATE_RACE_START\n"); ^ racestate.cpp:108:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("RaceEngine: state = RE_STATE_RACE_STOP\n"); ^ racestate.cpp:117:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("RaceEngine: state = RE_STATE_RACE_END\n"); ^ racestate.cpp:127:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("RaceEngine: state = RE_STATE_POST_RACE\n"); ^ racestate.cpp:137:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("RaceEngine: state = RE_STATE_EVENT_SHUTDOWN\n"); ^ racestate.cpp:148:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("RaceEngine: state = RE_STATE_SHUTDOWN\n"); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c racegl.cpp In file included from /usr/include/stdlib.h:24:0, from racegl.cpp:25: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ racegl.cpp: In function 'void reMovieCapture(void*)': racegl.cpp:95:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Video Capture Mode Not Enabled\n"); ^ racegl.cpp:101:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Video Capture Mode On\n"); ^ racegl.cpp:107:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Video Capture Mode Off\n"); ^ racegl.cpp: In function 'void reAddKeys()': racegl.cpp:119:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(reScreenHandle, GLUT_KEY_F1, "Help", reScreenHandle, GfuiHelpScreen, NULL); ^ racegl.cpp:120:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(reScreenHandle, GLUT_KEY_F12, "Screen Shot", NULL, GfuiScreenShot, NULL); ^ racegl.cpp:123:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(reScreenHandle, '-', "Slow Time", (void*)0, ReTimeMod, NULL); ^ racegl.cpp:124:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(reScreenHandle, '+', "Accelerate Time", (void*)1, ReTimeMod, NULL); ^ racegl.cpp:125:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(reScreenHandle, '.', "Real Time", (void*)2, ReTimeMod, NULL); ^ racegl.cpp:126:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(reScreenHandle, 'p', "Pause Race", (void*)0, ReBoardInfo, NULL); ^ racegl.cpp:127:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(reScreenHandle, 27, "Stop Current Race", (void*)RE_STATE_RACE_STOP, ReStateApply, NULL); ^ racegl.cpp:129:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(reScreenHandle, ' ', "Skip Pre Start", (void*)0, reSkipPreStart, NULL); ^ racegl.cpp:133:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(reScreenHandle, 'c', "Movie Capture", (void*)0, reMovieCapture, NULL); ^ racegl.cpp: In function 'void ReSetRaceMsg(char*)': racegl.cpp:149:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelSetText(reScreenHandle, reMsgId, ""); ^ racegl.cpp: In function 'void ReSetRaceBigMsg(char*)': racegl.cpp:164:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelSetText(reScreenHandle, reBigMsgId, ""); ^ racegl.cpp: In function 'void* ReScreenInit()': racegl.cpp:185:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 32); ^ racegl.cpp:194:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0); ^ racegl.cpp:203:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 32); ^ racegl.cpp: In function 'void reAddResKeys()': racegl.cpp:268:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(reResScreenHdle, GLUT_KEY_F1, "Help", reScreenHandle, GfuiHelpScreen, NULL); ^ racegl.cpp:269:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddSKey(reResScreenHdle, GLUT_KEY_F12, "Screen Shot", NULL, GfuiScreenShot, NULL); ^ racegl.cpp:271:104: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(reResScreenHdle, 27, "Stop Current Race", (void*)RE_STATE_RACE_STOP, ReStateApply, NULL); ^ racegl.cpp: In function 'void* ReResScreenInit()': racegl.cpp:314:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *title[3] = {"Practice", "Qualifications", "Race"}; ^ racegl.cpp:314:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racegl.cpp:314:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racegl.cpp:324:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] img = GfParmGetStr(ReInfo->params, RM_SECT_HEADER, RM_ATTR_RUNIMG, 0); ^ racegl.cpp:324:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] racegl.cpp:336:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GFUI_ALIGN_HC_VB, 50); ^ racegl.cpp:348:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GFUI_ALIGN_HL_VB, 120); ^ racegl.cpp: In function 'void ReResEraseScreen()': racegl.cpp:410:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ReResScreenSetText("", i, 0); ^ racegl.cpp: In function 'void ReResScreenRemoveText(int)': racegl.cpp:420:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiLabelSetText(reResScreenHdle, reResMsgId[line], ""); ^ racegl.cpp: In function 'void ReResShowCont()': racegl.cpp:435:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (tfuiCallback)NULL); ^ racegl.cpp:436:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(reResScreenHdle, 13, "Continue", 0, reResCont, NULL); ^ racegl.cpp:437:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiAddKey(reResScreenHdle, 27, "Continue", 0, reResCont, NULL); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c raceengine.cpp In file included from /usr/include/stdlib.h:24:0, from raceengine.cpp:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ raceengine.cpp: In function 'void ReRaceMsgUpdate()': raceengine.cpp:92:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ReSetRaceMsg(""); ^ raceengine.cpp:95:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ReSetRaceBigMsg(""); ^ raceengine.cpp: In function 'void ReManage(tCarElt*)': raceengine.cpp:291:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *numSuffix = "th"; ^ raceengine.cpp:295:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] numSuffix = "st"; ^ raceengine.cpp:298:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] numSuffix = "nd"; ^ raceengine.cpp:301:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] numSuffix = "rd"; ^ raceengine.cpp: In function 'void ReOneStep(double)': raceengine.cpp:524:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ReRaceBigMsgSet("Ready", 1.0); ^ raceengine.cpp:526:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ReRaceBigMsgSet("Set", 1.0); ^ raceengine.cpp:528:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ReRaceBigMsgSet("Go", 1.0); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c raceresults.cpp In file included from /usr/include/stdlib.h:24:0, from raceresults.cpp:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ raceresults.cpp: In function 'void ReInitResults()': raceresults.cpp:74:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, RE_SECT_HEADER, RE_ATTR_DATE, NULL, (tdble)t); ^ raceresults.cpp:74:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceresults.cpp:75:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_TRACK, NULL, 1); ^ raceresults.cpp:75:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceresults.cpp:76:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_RACE, NULL, 1); ^ raceresults.cpp:76:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceresults.cpp:77:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, RE_SECT_CURRENT, RE_ATTR_CUR_DRIVER, NULL, 1); ^ raceresults.cpp:77:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceresults.cpp: In function 'void ReEventInitResults()': raceresults.cpp:89:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nCars = GfParmGetEltNb(params, RM_SECT_DRIVERS); ^ raceresults.cpp:93:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path, RE_ATTR_DLL_NAME, GfParmGetStr(params, path2, RM_ATTR_MODULE, "")); ^ raceresults.cpp:93:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceresults.cpp:93:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path, RE_ATTR_DLL_NAME, GfParmGetStr(params, path2, RM_ATTR_MODULE, "")); ^ raceresults.cpp:94:106: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_INDEX, NULL, GfParmGetNum(params, path2, RM_ATTR_IDX, (char*)NULL, 0)); ^ raceresults.cpp:94:107: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_INDEX, NULL, GfParmGetNum(params, path2, RM_ATTR_IDX, (char*)NULL, 0)); ^ raceresults.cpp: In function 'void ReUpdateStandings()': raceresults.cpp:117:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] curDrv = GfParmGetEltNb(results, RE_SECT_STANDINGS); ^ raceresults.cpp:125:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] standings[i].carName = strdup(GfParmGetStr(results, path2, RE_ATTR_NAME, 0)); ^ raceresults.cpp:126:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] standings[i].modName = strdup(GfParmGetStr(results, path2, RE_ATTR_MODULE, 0)); ^ raceresults.cpp:127:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] standings[i].drvIdx = (int)GfParmGetNum(results, path2, RE_ATTR_IDX, NULL, 0); ^ raceresults.cpp:128:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] standings[i].points = (int)GfParmGetNum(results, path2, RE_ATTR_POINTS, NULL, 0); ^ raceresults.cpp:130:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmListClean(results, RE_SECT_STANDINGS); ^ raceresults.cpp:136:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] carName = GfParmGetStr(results, path, RE_ATTR_NAME, 0); ^ raceresults.cpp:147:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] standings[j].modName = strdup(GfParmGetStr(results, path, RE_ATTR_MODULE, 0)); ^ raceresults.cpp:148:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] standings[j].drvIdx = (int)GfParmGetNum(results, path, RE_ATTR_IDX, NULL, 0); ^ raceresults.cpp:149:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] standings[j].points = (int)GfParmGetNum(results, path, RE_ATTR_POINTS, NULL, 0); ^ raceresults.cpp:152:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] standings[j].points += (int)GfParmGetNum(results, path, RE_ATTR_POINTS, NULL, 0); ^ raceresults.cpp:182:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path, RE_ATTR_NAME, standings[i].carName); ^ raceresults.cpp:184:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path, RE_ATTR_MODULE, standings[i].modName); ^ raceresults.cpp:186:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_IDX, NULL, standings[i].drvIdx); ^ raceresults.cpp:187:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_POINTS, NULL, standings[i].points); ^ raceresults.cpp:195:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmWriteFile(0, results, "Results"); ^ raceresults.cpp: In function 'void ReStoreRaceResults(char*)': raceresults.cpp:218:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_LAPS, NULL, car->_laps - 1); ^ raceresults.cpp:225:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path, RE_ATTR_NAME, car->_name); ^ raceresults.cpp:232:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path, RE_ATTR_CAR, carName); ^ raceresults.cpp:233:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_INDEX, NULL, car->index); ^ raceresults.cpp:235:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_LAPS, NULL, car->_laps - 1); ^ raceresults.cpp:236:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_TIME, NULL, car->_curTime); ^ raceresults.cpp:237:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_BEST_LAP_TIME, NULL, car->_bestLapTime); ^ raceresults.cpp:238:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_TOP_SPEED, NULL, car->_topSpeed); ^ raceresults.cpp:239:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_DAMMAGES, NULL, car->_dammage); ^ raceresults.cpp:240:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_NB_PIT_STOPS, NULL, car->_nbPitStops); ^ raceresults.cpp:242:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path, RE_ATTR_MODULE, car->_modName); ^ raceresults.cpp:243:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_IDX, NULL, car->_driverIndex); ^ raceresults.cpp:247:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (int)GfParmGetNum(params, path2, RE_ATTR_POINTS, NULL, 0)); ^ raceresults.cpp:247:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (int)GfParmGetNum(params, path2, RE_ATTR_POINTS, NULL, 0)); ^ raceresults.cpp:254:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path, RM_ATTR_DRVNAME, car->_name); ^ raceresults.cpp:263:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] float opponentBestLapTime = GfParmGetNum(results, path, RE_ATTR_BEST_LAP_TIME, NULL, 0); ^ raceresults.cpp:269:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path2, RE_ATTR_NAME, GfParmGetStr(results, path, RE_ATTR_NAME, "")); ^ raceresults.cpp:269:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceresults.cpp:269:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path2, RE_ATTR_NAME, GfParmGetStr(results, path, RE_ATTR_NAME, "")); ^ raceresults.cpp:270:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path2, RE_ATTR_CAR, GfParmGetStr(results, path, RE_ATTR_CAR, "")); ^ raceresults.cpp:270:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceresults.cpp:270:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path2, RE_ATTR_CAR, GfParmGetStr(results, path, RE_ATTR_CAR, "")); ^ raceresults.cpp:271:119: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path2, RE_ATTR_BEST_LAP_TIME, NULL, GfParmGetNum(results, path, RE_ATTR_BEST_LAP_TIME, NULL, 0)); ^ raceresults.cpp:271:120: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path2, RE_ATTR_BEST_LAP_TIME, NULL, GfParmGetNum(results, path, RE_ATTR_BEST_LAP_TIME, NULL, 0)); ^ raceresults.cpp:272:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path2, RE_ATTR_MODULE, GfParmGetStr(results, path, RM_ATTR_MODULE, "")); ^ raceresults.cpp:272:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceresults.cpp:272:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path2, RE_ATTR_MODULE, GfParmGetStr(results, path, RM_ATTR_MODULE, "")); ^ raceresults.cpp:273:99: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path2, RE_ATTR_IDX, NULL, GfParmGetNum(results, path, RM_ATTR_IDX, NULL, 0)); ^ raceresults.cpp:273:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path2, RE_ATTR_IDX, NULL, GfParmGetNum(results, path, RM_ATTR_IDX, NULL, 0)); ^ raceresults.cpp:276:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (int)GfParmGetNum(params, path, RE_ATTR_POINTS, NULL, 0)); ^ raceresults.cpp:276:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (int)GfParmGetNum(params, path, RE_ATTR_POINTS, NULL, 0)); ^ raceresults.cpp:283:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path, RE_ATTR_NAME, car->_name); ^ raceresults.cpp:290:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path, RE_ATTR_CAR, carName); ^ raceresults.cpp:291:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_BEST_LAP_TIME, NULL, car->_bestLapTime); ^ raceresults.cpp:292:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetStr(results, path, RE_ATTR_MODULE, car->_modName); ^ raceresults.cpp:293:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_IDX, NULL, car->_driverIndex); ^ raceresults.cpp:296:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (int)GfParmGetNum(params, path2, RE_ATTR_POINTS, NULL, 0)); ^ raceresults.cpp:296:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (int)GfParmGetNum(params, path2, RE_ATTR_POINTS, NULL, 0)); ^ raceresults.cpp: In function 'void ReUpdateQualifCurRes(tCarElt*)': raceresults.cpp:332:119: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ((car->_bestLapTime != 0.0) && (car->_bestLapTime < GfParmGetNum(results, path, RE_ATTR_BEST_LAP_TIME, NULL, 0))) { ^ raceresults.cpp:338:118: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sprintf(buf, "%d - %s - %s (%s)", i + printed, GfTime2Str(GfParmGetNum(results, path, RE_ATTR_BEST_LAP_TIME, NULL, 0), 0), ^ raceresults.cpp:339:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmGetStr(results, path, RE_ATTR_NAME, ""), GfParmGetStr(results, path, RE_ATTR_CAR, "")); ^ raceresults.cpp:339:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceresults.cpp:339:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmGetStr(results, path, RE_ATTR_NAME, ""), GfParmGetStr(results, path, RE_ATTR_CAR, "")); ^ raceresults.cpp:339:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] raceresults.cpp: In function 'void ReSavePracticeLap(tCarElt*)': raceresults.cpp:356:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_TIME, NULL, car->_lastLapTime); ^ raceresults.cpp:357:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_BEST_LAP_TIME, NULL, car->_bestLapTime); ^ raceresults.cpp:358:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_TOP_SPEED, NULL, info->topSpd); ^ raceresults.cpp:359:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_BOT_SPEED, NULL, info->botSpd); ^ raceresults.cpp:360:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfParmSetNum(results, path, RE_ATTR_DAMMAGES, NULL, car->_dammage); ^ raceresults.cpp: In function 'int ReDisplayResults()': raceresults.cpp:369:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ((!strcmp(GfParmGetStr(params, ReInfo->_reRaceName, RM_ATTR_DISPRES, RM_VAL_YES), RM_VAL_YES)) || ^ raceresults.cpp:369:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x86_64-alt-linux-g++ -shared -o libraceengine.so singleplayer.o raceinit.o racemain.o racemanmenu.o racestate.o racegl.o raceengine.o raceresults.o -L/usr/src/RPM/BUILD/torcs-1.3.0/export/lib -L/usr/lib64 -lalut -L/usr/lib -lracescreens -lrobottools -lplibssgaux -lplibssg -lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lexpat -lpng -lz -ldl -lopenal -lXrandr -lXrender -lXxf86vm -lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm Exporting libraceengine.so to /usr/src/RPM/BUILD/torcs-1.3.0/export/lib/libraceengine.so make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/raceengineclient' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/client' x86_64-alt-linux-gcc -E -M -D__DEPEND__ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H entry.cpp mainmenu.cpp splash.cpp exitmenu.cpp optionmenu.cpp > .depend x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c entry.cpp In file included from /usr/include/stdio.h:27:0, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/tgf.h:30, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/tgfclient.h:30, from entry.cpp:22: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c mainmenu.cpp In file included from /usr/include/stdio.h:27:0, from mainmenu.cpp:21: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ mainmenu.cpp: In function 'int TorcsMainMenuInit()': mainmenu.cpp:66:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(menuHandle, "data/img/splash-main.png"); ^ mainmenu.cpp:68:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiTitleCreate(menuHandle, "TORCS", 0); ^ mainmenu.cpp:76:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 0); ^ mainmenu.cpp:80:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ReSinglePlayerInit(menuHandle), GfuiScreenActivate); ^ mainmenu.cpp:80:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] mainmenu.cpp:84:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TorcsDriverMenuInit(menuHandle), GfuiScreenActivate); ^ mainmenu.cpp:84:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] mainmenu.cpp:88:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TorcsOptionOptionInit(menuHandle), GfuiScreenActivate); ^ mainmenu.cpp:88:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] mainmenu.cpp:94:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TorcsMainExitMenuInit(menuHandle), GfuiScreenActivate); ^ mainmenu.cpp:94:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c splash.cpp In file included from /usr/include/inttypes.h:25:0, from /usr/include/GL/glext.h:1420, from /usr/include/GL/gl.h:2055, from /usr/include/GL/freeglut_std.h:143, from /usr/include/GL/glut.h:17, from splash.cpp:23: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ splash.cpp: In function 'void splashDisplay()': splash.cpp:132:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiPrintString(VERSION, grWhite, GFUI_FONT_SMALL_C, 640-8, 8, GFUI_ALIGN_HR_VB); ^ splash.cpp: In function 'int SplashScreen()': splash.cpp:171:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *img = "data/img/splash.png"; ^ splash.cpp:176:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] screen_gamma = (float)GfParmGetNum(handle, GFSCR_SECT_PROP, GFSCR_ATT_GAMMA, (char*)NULL, 2.0); ^ splash.cpp:176:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c exitmenu.cpp In file included from /usr/include/stdio.h:27:0, from exitmenu.cpp:21: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ exitmenu.cpp: In function 'void* exitMenuInit(void*, void*)': exitmenu.cpp:46:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menuHandle = GfuiMenuScreenCreate("Quit ?"); ^ exitmenu.cpp:47:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(menuHandle, "data/img/splash-quit.png"); ^ exitmenu.cpp:53:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenActivate); ^ exitmenu.cpp:53:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] exitmenu.cpp:59:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] endofprog); ^ exitmenu.cpp:59:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c optionmenu.cpp In file included from /usr/include/stdio.h:27:0, from optionmenu.cpp:20: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ optionmenu.cpp: In function 'void* TorcsOptionOptionInit(void*)': optionmenu.cpp:35:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] optionHandle = GfuiMenuScreenCreate("OPTIONS"); ^ optionmenu.cpp:37:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenAddBgImg(optionHandle, "data/img/splash-options.png"); ^ optionmenu.cpp:41:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GraphMenuInit(optionHandle), GfuiScreenActivate); ^ optionmenu.cpp:41:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] optionmenu.cpp:45:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfScrMenuInit(optionHandle), GfuiScreenActivate); ^ optionmenu.cpp:45:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] optionmenu.cpp:55:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SoundMenuInit(optionHandle), GfuiScreenActivate); ^ optionmenu.cpp:55:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] optionmenu.cpp:59:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] OpenGLMenuInit(optionHandle), GfuiScreenActivate); ^ optionmenu.cpp:59:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] optionmenu.cpp:65:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfuiScreenActivate); ^ optionmenu.cpp:65:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] x86_64-alt-linux-g++ -shared -o libclient.so entry.o mainmenu.o splash.o exitmenu.o optionmenu.o -L/usr/src/RPM/BUILD/torcs-1.3.0/export/lib -L/usr/lib64 -lalut -L/usr/lib -lplibssg -lplibsg -lplibul -lconfscreens -lraceengine -lplibssgaux -lplibssg -lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lexpat -lpng -lz -ldl -lopenal -lXrandr -lXrender -lXxf86vm -lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm Exporting libclient.so to /usr/src/RPM/BUILD/torcs-1.3.0/export/lib/libclient.so make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/client' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/learning' x86_64-alt-linux-gcc -E -M -D__DEPEND__ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H policy.cpp ann_policy.cpp List.cpp string_utils.cpp Distribution.cpp MathFunctions.cpp ANN.cpp > .depend x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c policy.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/cstring:41, from policy.cpp:14: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ policy.cpp: In constructor 'DiscretePolicy::DiscretePolicy(int, int, real, real, real, bool, real, real)': policy.cpp:76:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#Making Sarsa(lambda) "); ^ policy.cpp:78:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#softmax"); ^ policy.cpp:80:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#e-greedy"); ^ policy.cpp:83:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] this->n_states, this->n_actions, this->alpha, this->gamma, this->lambda, this->temp); ^ policy.cpp: In destructor 'virtual DiscretePolicy::~DiscretePolicy()': policy.cpp:187:109: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#Expected return of greedy policy over random distribution of states: %f\n", sum/((real) n_states)); ^ policy.cpp: In member function 'virtual void DiscretePolicy::loadFile(char*)': policy.cpp:493:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* start_tag="QSA"; ^ policy.cpp:494:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* close_tag="END"; ^ policy.cpp: In member function 'virtual void DiscretePolicy::saveFile(char*)': policy.cpp:558:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* start_tag="QSA"; ^ policy.cpp:559:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* close_tag="END"; ^ policy.cpp: In member function 'virtual bool DiscretePolicy::useConfidenceEstimates(bool, real, bool)': policy.cpp:586:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#+[ELIG_VAR]"); ^ policy.cpp:589:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#+[CONDIFENCE]"); ^ policy.cpp:591:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#-[CONDIFENCE]\n"); ^ policy.cpp: In member function 'virtual void DiscretePolicy::setQLearning()': policy.cpp:600:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#[Q-learning]\n"); ^ policy.cpp: In member function 'virtual void DiscretePolicy::setELearning()': policy.cpp:606:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#[E-learning]\n"); ^ policy.cpp: In member function 'virtual void DiscretePolicy::setSarsa()': policy.cpp:614:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#[Sarsa]\n"); ^ policy.cpp: In member function 'virtual void DiscretePolicy::setPursuit(bool)': policy.cpp:622:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#+[PURSUIT]\n"); ^ policy.cpp:624:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#-[PURSUIT]\n"); ^ policy.cpp: In member function 'virtual void DiscretePolicy::setReplacingTraces(bool)': policy.cpp:633:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#[REPLACING TRACES]\n"); ^ policy.cpp:635:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#[ACCUMULATING TRACES]\n"); ^ policy.cpp: In member function 'virtual void DiscretePolicy::useSoftmax(bool)': policy.cpp:666:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#+[SMAX]\n"); ^ policy.cpp:668:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#-[SMAX]\n"); ^ policy.cpp: In member function 'virtual void DiscretePolicy::useReliabilityEstimate(bool)': policy.cpp:677:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg("#+[RI]\n"); ^ policy.cpp:679:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg("#-[RI]\n"); ^ policy.cpp: In member function 'virtual void DiscretePolicy::setConfidenceDistribution(ConfidenceDistribution)': policy.cpp:688:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg("#[SINGULAR CONFIDENCE]\n"); break; ^ policy.cpp:690:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg("#[BOUNDED CONFIDENCE]\n"); break; ^ policy.cpp:692:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg("#[GAUSSIAN CONFIDENCE]\n"); break; ^ policy.cpp:694:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg("#[LAPLACIAN CONFIDENCE]\n"); break; ^ policy.cpp: In member function 'virtual void DiscretePolicy::useGibbsConfidence(bool)': policy.cpp:707:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#+[GIBBS CONFIDENCE]\n"); ^ policy.cpp:709:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] logmsg ("#-[GIBBS CONFIDENCE]\n"); ^ policy.cpp: In member function 'virtual void DiscretePolicy::loadFile(char*)': policy.cpp:497:63: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread((void *) rtag, sizeof (char), strlen (start_tag)+1, fh); ^ policy.cpp:502:52: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread((void *) &n_read_states, sizeof(int), 1, fh); ^ policy.cpp:503:53: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread((void *) &n_read_actions, sizeof(int), 1, fh); ^ policy.cpp:513:52: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread((void *) Q[i], sizeof(real), n_actions, fh); ^ policy.cpp:538:63: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread((void *) rtag, sizeof (char), strlen (close_tag)+1, fh); ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c ann_policy.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/cmath:41, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/learning/policy.h:17, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/learning/ann_policy.h:18, from ann_policy.cpp:15: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c List.cpp In file included from /usr/include/stdlib.h:24:0, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/learning/List.h:15, from List.cpp:13: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c string_utils.cpp In file included from /usr/include/stdio.h:27:0, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/learning/string_utils.h:19, from string_utils.cpp:16: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c Distribution.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/cstdio:41, from Distribution.cpp:12: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c MathFunctions.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/cmath:41, from MathFunctions.cpp:13: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c ANN.cpp In file included from /usr/include/assert.h:35:0, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/learning/ANN.h:16, from ANN.cpp:13: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ ANN.cpp: In function 'ANN* LoadANN(FILE*)': ANN.cpp:1199:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CheckMatchingToken("VSOUND_ANN", rtag, f); ^ ANN.cpp:1205:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CheckMatchingToken("Layer Data", rtag, f); ^ ANN.cpp:1210:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CheckMatchingToken("TYPE", rtag, f); ^ ANN.cpp:1213:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CheckMatchingToken("UNITS", rtag, f); ^ ANN.cpp:1224:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CheckMatchingToken("Output Type", rtag, f); ^ ANN.cpp:1236:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CheckMatchingToken("Connections", rtag, f); ^ ANN.cpp:1241:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] CheckMatchingToken("END", rtag, f); ^ ANN.cpp: In function 'int SaveANN(ANN*, FILE*)': ANN.cpp:1256:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] WriteToken("VSOUND_ANN", f); ^ ANN.cpp:1259:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] WriteToken("Layer Data", f); ^ ANN.cpp:1272:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] WriteToken("TYPE", f); ^ ANN.cpp:1276:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] WriteToken("UNITS", f); ^ ANN.cpp:1280:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] WriteToken("Output Type", f); ^ ANN.cpp:1298:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] WriteToken("Connections", f); ^ ANN.cpp:1303:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] WriteToken("END", f); ^ ANN.cpp: In function 'ANN* LoadANN(FILE*)': ANN.cpp:1202:37: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&n_inputs, sizeof(int), 1, f); ^ ANN.cpp:1203:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&n_outputs, sizeof(int), 1, f); ^ ANN.cpp:1207:37: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&n_layers, sizeof(int), 1, f); ^ ANN.cpp:1211:40: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&layer_type, sizeof(int), 1, f); ^ ANN.cpp:1214:33: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&nhu, sizeof(int), 1, f); ^ ANN.cpp:1225:40: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&layer_type, sizeof(int), 1, f); ^ ANN.cpp:1238:43: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(l->c, size, sizeof(Connection), f); ^ ANN.cpp: In function 'bool CheckMatchingToken(char*, StringBuffer*, FILE*)': ANN.cpp:1154:35: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(buf->c, sizeof(char), l, f); ^ x86_64-alt-linux-g++ -shared -o liblearning.so policy.o ann_policy.o List.o string_utils.o Distribution.o MathFunctions.o ANN.o -L/usr/src/RPM/BUILD/torcs-1.3.0/export/lib -L/usr/lib64 -lalut -L/usr/lib -lplibssgaux -lplibssg -lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lexpat -lpng -lz -ldl -lopenal -lXrandr -lXrender -lXxf86vm -lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm Exporting liblearning.so to /usr/src/RPM/BUILD/torcs-1.3.0/export/lib/liblearning.so make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/learning' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/portability' make[3]: Nothing to be done for `compil'. make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/portability' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/math' make[3]: Nothing to be done for `compil'. make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs/math' make[2]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/libs' make[2]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/linux' x86_64-alt-linux-gcc -E -M -D__DEPEND__ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H main.cpp linuxspec.cpp > .depend x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c main.cpp In file included from /usr/include/stdlib.h:24:0, from main.cpp:20: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c linuxspec.cpp In file included from /usr/include/stdlib.h:24:0, from linuxspec.cpp:21: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ linuxspec.cpp: In function 'int linuxModLoad(unsigned int, char*, tModList**)': linuxspec.cpp:76:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut(">>> %s >>>\n", sopath); ^ linuxspec.cpp: In function 'int linuxModInfo(unsigned int, char*, tModList**)': linuxspec.cpp:148:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Request Info for %s\n", sopath); ^ linuxspec.cpp: In function 'int linuxModLoadDir(unsigned int, char*, tModList**)': linuxspec.cpp:248:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut(">>> %s loaded >>>\n", sopath); ^ linuxspec.cpp: In function 'int linuxModInfoDir(unsigned int, char*, int, tModList**)': linuxspec.cpp:358:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Request Info for %s\n", sopath); ^ linuxspec.cpp: In function 'int linuxModUnloadList(tModList**)': linuxspec.cpp:453:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("<<< %s unloaded <<<\n", curMod->sopath); ^ linuxspec.cpp:462:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GfOut("Call %s\n", dname); ^ x86_64-alt-linux-g++ main.o linuxspec.o -L/usr/src/RPM/BUILD/torcs-1.3.0/export/lib -L/usr/lib64 -lalut -L/usr/lib -lracescreens -lrobottools -lclient -lconfscreens -ltgf -ltgfclient -ltxml -lplibul -lraceengine -llearning -lplibssgaux -lplibssg -lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lexpat -lpng -lz -ldl -lopenal -lXrandr -lXrender -lXxf86vm -lXmu -lXi -lXt -lSM -lICE -lXext -lX11 -lm -o torcs-bin make[2]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/linux' make[2]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules' make[3]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu' make[4]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu/simuv2' make[5]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu/simuv2/SOLID-2.0' make[6]: Entering directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu/simuv2/SOLID-2.0/src' x86_64-alt-linux-gcc -E -M -D__DEPEND__ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated Transform.cpp Convex.cpp Box.cpp Cone.cpp Cylinder.cpp Sphere.cpp Simplex.cpp Polygon.cpp Polyhedron.cpp Complex.cpp BBoxTree.cpp Endpoint.cpp Object.cpp Response.cpp RespTable.cpp C-api.cpp > .depend x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated -c Transform.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/utility:68, from /usr/include/c++/5/algorithm:60, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Point.h:30, from Transform.h:38, from Transform.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated -c Convex.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/utility:68, from /usr/include/c++/5/algorithm:60, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Point.h:30, from Convex.h:34, from Convex.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated -c Box.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/utility:68, from /usr/include/c++/5/algorithm:60, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Point.h:30, from Convex.h:34, from Box.h:34, from Box.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated -c Cone.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/utility:68, from /usr/include/c++/5/algorithm:60, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Point.h:30, from Convex.h:34, from Cone.h:34, from Cone.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated -c Cylinder.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/utility:68, from /usr/include/c++/5/algorithm:60, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Point.h:30, from Convex.h:34, from Cylinder.h:34, from Cylinder.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated -c Sphere.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/utility:68, from /usr/include/c++/5/algorithm:60, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Point.h:30, from Convex.h:34, from Sphere.h:34, from Sphere.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated -c Simplex.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/utility:68, from /usr/include/c++/5/algorithm:60, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Point.h:30, from Convex.h:34, from Polytope.h:34, from Simplex.h:34, from Simplex.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated -c Polygon.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/utility:68, from /usr/include/c++/5/algorithm:60, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Point.h:30, from Convex.h:34, from Polytope.h:34, from Polygon.h:34, from Polygon.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated -c Polyhedron.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/utility:68, from /usr/include/c++/5/algorithm:60, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Point.h:30, from Convex.h:34, from Polytope.h:34, from Polyhedron.h:34, from Polyhedron.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated -c Complex.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/utility:68, from /usr/include/c++/5/algorithm:60, from Complex.h:34, from Complex.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated -c BBoxTree.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/utility:68, from /usr/include/c++/5/algorithm:60, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Point.h:30, from BBox.h:34, from BBoxTree.h:34, from BBoxTree.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated -c Endpoint.cpp In file included from /usr/include/math.h:26:0, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Basic.h:30, from Endpoint.h:34, from Endpoint.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated -c Object.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/utility:68, from /usr/include/c++/5/algorithm:60, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Point.h:30, from Transform.h:38, from Object.h:36, from Object.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated -c Response.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/utility:68, from /usr/include/c++/5/algorithm:60, from /usr/src/RPM/BUILD/torcs-1.3.0/export/include/3D/Point.h:30, from Response.h:36, from Response.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated -c RespTable.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/bits/stl_algobase.h:59, from /usr/include/c++/5/vector:60, from RespTable.cpp:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -DNDEBUG -Wno-deprecated -c C-api.cpp In file included from /usr/include/c++/5/x86_64-alt-linux/bits/os_defines.h:39:0, from /usr/include/c++/5/x86_64-alt-linux/bits/c++config.h:482, from /usr/include/c++/5/utility:68, from /usr/include/c++/5/algorithm:60, from C-api.cpp:33: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ ar ruv libsolid.a Transform.o Convex.o Box.o Cone.o Cylinder.o Sphere.o Simplex.o Polygon.o Polyhedron.o Complex.o BBoxTree.o Endpoint.o Object.o Response.o RespTable.o C-api.o ar: creating libsolid.a a - Transform.o a - Convex.o a - Box.o a - Cone.o a - Cylinder.o a - Sphere.o a - Simplex.o a - Polygon.o a - Polyhedron.o a - Complex.o a - BBoxTree.o a - Endpoint.o a - Object.o a - Response.o a - RespTable.o a - C-api.o ranlib libsolid.a Exporting libsolid.a to /usr/src/RPM/BUILD/torcs-1.3.0/export/lib/libsolid.a make[6]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu/simuv2/SOLID-2.0/src' make[5]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu/simuv2/SOLID-2.0' x86_64-alt-linux-gcc -E -M -D__DEPEND__ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H simu.cpp simuitf.cpp car.cpp aero.cpp engine.cpp axle.cpp steer.cpp susp.cpp brake.cpp wheel.cpp transmission.cpp differential.cpp collide.cpp categories.cpp > .depend x86_64-alt-linux-g++ -I/usr/src/RPM/BUILD/torcs-1.3.0/export/include -I/usr/src/RPM/BUILD/torcs-1.3.0 -fPIC -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c simu.cpp In file included from /usr/include/stdlib.h:24:0, from simu.cpp:20: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from simu.cpp:23:0: simu.cpp: In function 'void ctrlCheck(tCar*)': simu.cpp:64:9: error: non-floating-point argument in call to function '__builtin_isnan' if (isnan(car->ctrl->gear) || isinf(car->ctrl->gear)) car->ctrl->gear = 0; ^ simu.cpp:64:35: error: non-floating-point argument in call to function '__builtin_isinf_sign' if (isnan(car->ctrl->gear) || isinf(car->ctrl->gear)) car->ctrl->gear = 0; ^ make[4]: *** [simu.o] Error 1 make[4]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu/simuv2' make[3]: *** [subdirs] Error 1 make[3]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules/simu' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src/modules' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0/src' make: *** [subdirs] Error 1 make: Leaving directory `/usr/src/RPM/BUILD/torcs-1.3.0' error: Bad exit status from /usr/src/tmp/rpm-tmp.92854 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.92854 (%build) Command exited with non-zero status 1 21.42user 3.92system 0:47.97elapsed 52%CPU (0avgtext+0avgdata 79792maxresident)k 0inputs+0outputs (0major+1526817minor)pagefaults 0swaps hsh-rebuild: rebuild of `TORCS-1.3.0-alt6.2.src.rpm' failed. Command exited with non-zero status 1 38.35user 7.16system 1:17.96elapsed 58%CPU (0avgtext+0avgdata 125256maxresident)k 1248inputs+0outputs (0major+2014490minor)pagefaults 0swaps