Usogres - Compilation Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • gustavo-bartz@dextra.com.br

    Usogres - Compilation Error

    Hello gusy!!! I'm trying to compile the latest version of usogres that I downloaded from

    the link:



    But when I try to compile (see errors below). I even changed the gcc,
    but no sucess, same error.
    Well, I hope someone can help me, thanks!
    I'm using Red Hat 8.0, and gcc 3.2.2-5.

    Thanks!

    In file included from exception.cc:26 :
    exception.h:40: looser throw specifier for `virtual
    UsogresExceptio n::~UsogresExce ption()'
    /usr/include/c++/3.2.2/exception:54: overriding `virtual
    std::exception: :~exception() throw ()'
    exception.h:40: looser throw specifier for `virtual
    UsogresExceptio n::~UsogresExce ption()'
    /usr/include/c++/3.2.2/exception:54: overriding `virtual
    std::exception: :~exception() throw ()'
    exception.h:40: looser throw specifier for `virtual
    UsogresExceptio n::~UsogresExce ption()'
    /usr/include/c++/3.2.2/exception:54: overriding `virtual
    std::exception: :~exception() throw ()'
    exception.h:47: looser throw specifier for `virtual const char*
    ImcompletedValu eException::wha t() const'
    /usr/include/c++/3.2.2/exception:57: overriding `virtual const char*
    std::exception: :what() const throw ()'
    exception.h:47: looser throw specifier for `virtual const char*
    ImcompletedValu eException::wha t() const'
    /usr/include/c++/3.2.2/exception:57: overriding `virtual const char*
    std::exception: :what() const throw ()'
    exception.h:53: looser throw specifier for `virtual const char*
    MemoryException ::what() const'
    /usr/include/c++/3.2.2/exception:57: overriding `virtual const char*
    std::exception: :what() const throw ()'
    exception.h:53: looser throw specifier for `virtual const char*
    MemoryException ::what() const'
    /usr/include/c++/3.2.2/exception:57: overriding `virtual const char*
    std::exception: :what() const throw ()'
    exception.h:59: looser throw specifier for `virtual const char*
    FileException:: what() const'
    /usr/include/c++/3.2.2/exception:57: overriding `virtual const char*
    std::exception: :what() const throw ()'
    exception.h:59: looser throw specifier for `virtual const char*
    FileException:: what() const'
    /usr/include/c++/3.2.2/exception:57: overriding `virtual const char*
    std::exception: :what() const throw ()'
    exception.h:65: looser throw specifier for `virtual const char*
    EnvException::w hat() const'
    /usr/include/c++/3.2.2/exception:57: overriding `virtual const char*
    std::exception: :what() const throw ()'
    exception.h:65: looser throw specifier for `virtual const char*
    EnvException::w hat() const'
    /usr/include/c++/3.2.2/exception:57: overriding `virtual const char*
    std::exception: :what() const throw ()'
    exception.h:71: looser throw specifier for `virtual const char*
    FileFormatExcep tion::what() const'
    /usr/include/c++/3.2.2/exception:57: overriding `virtual const char*
    std::exception: :what() const throw ()'
    exception.h:71: looser throw specifier for `virtual const char*
    FileFormatExcep tion::what() const'
    /usr/include/c++/3.2.2/exception:57: overriding `virtual const char*
    std::exception: :what() const throw ()'
    exception.h:77: looser throw specifier for `virtual const char*
    TokenFormatExce ption::what() const'
    /usr/include/c++/3.2.2/exception:57: overriding `virtual const char*
    std::exception: :what() const throw ()'
    exception.h:77: looser throw specifier for `virtual const char*
    TokenFormatExce ption::what() const'
    /usr/include/c++/3.2.2/exception:57: overriding `virtual const char*
    std::exception: :what() const throw ()'
    exception.h:83: looser throw specifier for `virtual const char*
    LogicalExceptio n::what() const'
    /usr/include/c++/3.2.2/exception:57: overriding `virtual const char*
    std::exception: :what() const throw ()'
    exception.h:83: looser throw specifier for `virtual const char*
    LogicalExceptio n::what() const'
    /usr/include/c++/3.2.2/exception:57: overriding `virtual const char*
    std::exception: :what() const throw ()'
    exception.h:89: looser throw specifier for `virtual const char*
    InvalidProtocol Exception::what () const'
    /usr/include/c++/3.2.2/exception:57: overriding `virtual const char*
    std::exception: :what() const throw ()'
    exception.h:89: looser throw specifier for `virtual const char*
    InvalidProtocol Exception::what () const'
    /usr/include/c++/3.2.2/exception:57: overriding `virtual const char*
    std::exception: :what() const throw ()'
    make[2]: *** [exception.o] Error 1
    make[2]: Leaving directory `/var/all/gustavo/usogres-0.8.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/var/all/gustavo/usogres-0.8.1'
    make: *** [all-recursive-am] Error 2

    ---------------------------(end of broadcast)---------------------------
    TIP 6: Have you searched our list archives?



Working...