Skip to content

Compiling #22

@flocker

Description

@flocker

I get compiling erros on Ubuntu 10.04. Anyone a solution. Thanks
/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
In file included from Server/ServerConfiguration.h:24,
from routed.cpp:31:
Server/../Util/BaseConfiguration.h:76: error: wrong number of template arguments (1, should be 2)
/usr/include/boost/detail/container_fwd.hpp:80: error: provided for 'template<class T, class Allocator> struct std::vector'
Server/../Util/BaseConfiguration.h: In constructor 'BaseConfiguration::BaseConfiguration(const char_)':
Server/../Util/BaseConfiguration.h:45: error: wrong number of template arguments (1, should be 2)
/usr/include/boost/detail/container_fwd.hpp:80: error: provided for 'template<class T, class Allocator> struct std::vector'
Server/../Util/BaseConfiguration.h:45: error: invalid type in declaration before ';' token
Server/../Util/BaseConfiguration.h:47: error: request for member 'size' in 'tokens', which is of non-class type 'int'
Server/../Util/BaseConfiguration.h:48: error: invalid types 'int[int]' for array subscript
Server/../Util/BaseConfiguration.h:48: error: invalid types 'int[int]' for array subscript
Server/../Util/BaseConfiguration.h: In member function 'void BaseConfiguration::Tokenize(const std::string&, int&, const std::string&)':
Server/../Util/BaseConfiguration.h:84: error: request for member 'push_back' in 'tokens', which is of non-class type 'int'
scons: *_* [routed.o] Error 1
scons: building terminated because of errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions