Buil dof current master branch on Centos 5.6

Pioneer is an open-ended space adventure game. Explore the galaxy, make your fortune trading between systems, or work for the various factions fighting for power, freedom or self-determination.
Homepage: http://pioneerspacesim.net/
IRC: http://pioneerspacesim.net/irc
Downloads: https://pioneerspacesim.net/page/download/
Post Reply
dwe
Posts: 1
Joined: Wed Sep 14, 2011 3:19 pm

Buil dof current master branch on Centos 5.6

Post by dwe »

Hi,I`m hitting a roadblock here:
Code:
./StringF.h:157: warning: ‘class FormatArgT’ has virtual functions but non-virtual destructorif g++ -DPACKAGE_NAME=\"pioneer\" -DPACKAGE_TARNAME=\"pioneer\" -DPACKAGE_VERSION=\"alpha-15-dev\" -DPACKAGE_STRING=\"pioneer\ alpha-15-dev\" -DPACKAGE_BUGREPORT=\"pioneer-dev@pioneerspacesim.net\" -DPACKAGE=\"pioneer\" -DVERSION=\"alpha-15-dev\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBSDL_IMAGE=1 -I. -I. -I../contrib -I../contrib/lua -DPIONEER_DATA_DIR=\"data\" -I/usr/include/freetype2 -I/usr/include/GL -DLUA_USE_POSIX -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -Wall -Wformat -Wformat-security -Wstrict-aliasing=2 -Wmissing-format-attribute -Wmissing-noreturn -Wdisabled-optimization -Wfloat-equal -Wshadow -Wcast-qual -Wcast-align -Wstrict-null-sentinel -Wold-style-cast -Wsign-promo -g -O2 -MT mtrand.o -MD -MP -MF ".deps/mtrand.Tpo" -c -o mtrand.o mtrand.cpp; \ then mv -f ".deps/mtrand.Tpo" ".deps/mtrand.Po"; else rm -f ".deps/mtrand.Tpo"; exit 1; fiif g++ -DPACKAGE_NAME=\"pioneer\" -DPACKAGE_TARNAME=\"pioneer\" -DPACKAGE_VERSION=\"alpha-15-dev\" -DPACKAGE_STRING=\"pioneer\ alpha-15-dev\" -DPACKAGE_BUGREPORT=\"pioneer-dev@pioneerspacesim.net\" -DPACKAGE=\"pioneer\" -DVERSION=\"alpha-15-dev\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBSDL_IMAGE=1 -I. -I. -I../contrib -I../contrib/lua -DPIONEER_DATA_DIR=\"data\" -I/usr/include/freetype2 -I/usr/include/GL -DLUA_USE_POSIX -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -Wall -Wformat -Wformat-security -Wstrict-aliasing=2 -Wmissing-format-attribute -Wmissing-noreturn -Wdisabled-optimization -Wfloat-equal -Wshadow -Wcast-qual -Wcast-align -Wstrict-null-sentinel -Wold-style-cast -Wsign-promo -g -O2 -MT perlin.o -MD -MP -MF ".deps/perlin.Tpo" -c -o perlin.o perlin.cpp; \ then mv -f ".deps/perlin.Tpo" ".deps/perlin.Po"; else rm -f ".deps/perlin.Tpo"; exit 1; fiif g++ -DPACKAGE_NAME=\"pioneer\" -DPACKAGE_TARNAME=\"pioneer\" -DPACKAGE_VERSION=\"alpha-15-dev\" -DPACKAGE_STRING=\"pioneer\ alpha-15-dev\" -DPACKAGE_BUGREPORT=\"pioneer-dev@pioneerspacesim.net\" -DPACKAGE=\"pioneer\" -DVERSION=\"alpha-15-dev\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBSDL_IMAGE=1 -I. -I. -I../contrib -I../contrib/lua -DPIONEER_DATA_DIR=\"data\" -I/usr/include/freetype2 -I/usr/include/GL -DLUA_USE_POSIX -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -Wall -Wformat -Wformat-security -Wstrict-aliasing=2 -Wmissing-format-attribute -Wmissing-noreturn -Wdisabled-optimization -Wfloat-equal -Wshadow -Wcast-qual -Wcast-align -Wstrict-null-sentinel -Wold-style-cast -Wsign-promo -g -O2 -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o utils.cpp; \ then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fiIn file included from vector3.h:6, from libs.h:75, from utils.cpp:1:FloatComparison.h:129: warning: ignoring #pragma GCC diagnosticFloatComparison.h:137: warning: ignoring #pragma GCC diagnosticFloatComparison.h: In function ‘bool float_equal_exact(float, float)’:FloatComparison.h:131: warning: comparing floating point with == or != is unsafeFloatComparison.h: In function ‘bool float_equal_exact(double, double)’:FloatComparison.h:132: warning: comparing floating point with == or != is unsafeFloatComparison.h: In function ‘bool float_is_zero_exact(float)’:FloatComparison.h:134: warning: comparing floating point with == or != is unsafeFloatComparison.h: In function ‘bool float_is_zero_exact(double)’:FloatComparison.h:135: warning: comparing floating point with == or != is unsafeStringF.h: At global scope:StringF.h:145: warning: ‘class FormatArg’ has virtual functions but non-virtual destructorStringF.h: In instantiation of ‘FormatArgT’:StringF.h:182: instantiated from hereStringF.h:157: warning: ‘class FormatArgT’ has virtual functions but non-virtual destructorgui/GuiISelectable.h:5: warning: ‘class Gui::ISelectable’ has virtual functions but non-virtual destructor/usr/include/pngconf.h:336: error: expected constructor, destructor, or type conversion before ‘.’ token/usr/include/pngconf.h:337: error: ‘__dont__’ does not name a typeStringF.h: In instantiation of ‘FormatArgT’:StringF.h:228: instantiated from ‘std::string stringf(const char*, const T0&) [with T0 = int]’./IniConfig.h:15: instantiated from hereStringF.h:157: warning: ‘class FormatArgT’ has virtual functions but non-virtual destructorStringF.h: In instantiation of ‘FormatArgT’:StringF.h:228: instantiated from ‘std::string stringf(const char*, const T0&) [with T0 = float]’./IniConfig.h:18: instantiated from hereStringF.h:157: warning: ‘class FormatArgT’ has virtual functions but non-virtual destructorStringF.h: In instantiation of ‘FormatArgT’:StringF.h:228: instantiated from ‘std::string stringf(const char*, const T0&) [with T0 = double]’utils.cpp:257: instantiated from hereStringF.h:157: warning: ‘class FormatArgT’ has virtual functions but non-virtual destructormake[2]: *** [utils.o] Error 1make[2]: Leaving directory `/usr/src/redhat/DEVEL/pioneer/pioneer/src'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/usr/src/redhat/DEVEL/pioneer/pioneer/src'make: *** [all-recursive] Error 1
Could somebody shed some light on what`s wrong? many thanks and best regards,dwe
robn
Private
Posts: 1035
Joined: Mon Jan 31, 2011 10:29 pm

RE: Buil dof current master branch on Centos 5.6

Post by robn »

What version of gcc do you have there? I personally know it builds fine on 4.5 and 4.6, and I think people are building with success on 4.4. This looks like some kind of language support thing.
durandal
Private
Posts: 44
Joined: Tue Jun 14, 2011 9:01 pm

RE: Buil dof current master branch on Centos 5.6

Post by durandal »

It also builds fine with gcc 4.2.2 and FreeBSD clang version 3.0 (trunk 135360) 20110717
Post Reply

Return to “Pioneer”