Home Forums Free SciFi Gaming Projects Pioneer Buil dof current master branch on Centos 5.6

Viewing 3 posts - 1 through 3 (of 3 total)



A lot of scifi games are for sale on Humble Bundle, deals end on 8/19/2019


  • Author
    Posts
  • #58611
    Avatardwe
    Participant

    Hi,

    I`m hitting a roadblock here:

    Code:
    ./StringF.h:157: warning: ‘class FormatArgT’ has virtual functions but non-virtual destructor
    if 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; fi
    if 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; fi
    if 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; fi
    In file included from vector3.h:6,
    from libs.h:75,
    from utils.cpp:1:
    FloatComparison.h:129: warning: ignoring #pragma GCC diagnostic
    FloatComparison.h:137: warning: ignoring #pragma GCC diagnostic
    FloatComparison.h: In function ‘bool float_equal_exact(float, float)’:
    FloatComparison.h:131: warning: comparing floating point with == or != is unsafe
    FloatComparison.h: In function ‘bool float_equal_exact(double, double)’:
    FloatComparison.h:132: warning: comparing floating point with == or != is unsafe
    FloatComparison.h: In function ‘bool float_is_zero_exact(float)’:
    FloatComparison.h:134: warning: comparing floating point with == or != is unsafe
    FloatComparison.h: In function ‘bool float_is_zero_exact(double)’:
    FloatComparison.h:135: warning: comparing floating point with == or != is unsafe
    StringF.h: At global scope:
    StringF.h:145: warning: ‘class FormatArg’ has virtual functions but non-virtual destructor
    StringF.h: In instantiation of ‘FormatArgT’:
    StringF.h:182: instantiated from here
    StringF.h:157: warning: ‘class FormatArgT
    ’ has virtual functions but non-virtual destructor
    gui/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 type
    StringF.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 here
    StringF.h:157: warning: ‘class FormatArgT
    ’ has virtual functions but non-virtual destructor
    StringF.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 here
    StringF.h:157: warning: ‘class FormatArgT
    ’ has virtual functions but non-virtual destructor
    StringF.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 here
    StringF.h:157: warning: ‘class FormatArgT
    ’ has virtual functions but non-virtual destructor
    make[2]: *** [utils.o] Error 1
    make[2]: Leaving directory `/usr/src/redhat/DEVEL/pioneer/pioneer/src’
    make[1]: *** [all-recursive] Error 1
    make[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




    A lot of scifi games are for sale on Humble Bundle, deals end on 8/19/2019


    #83412
    Avatarrobn
    Participant

    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.

    #83413
    Avatardurandal
    Participant

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.