Jump to content

WeXo

Inactive Member
  • Posts

    5
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by WeXo

  1. Please, how to fix a this error:

    In file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from buffer_manager.cpp:1:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameterIn file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from TrafficProfiler.cpp:10:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    In file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from blend_item.cpp:10:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameterIn file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from MarkImage.cpp:1:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    
    In file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from MarkManager.cpp:1:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameterIn file included from cipher.h:6,
                     from desc.h:7,
                     from char_battle.cpp:4:
    ../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type
    In file included from battle.h:4,
                     from char_battle.cpp:10:
    char.h:733: error: integer constant is too large for 'long' type
    In file included from char_battle.cpp:27:
    shop_manager.h:40:7: warning: no newline at end of file
    
    In file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from char_battle.cpp:1:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    In file included from cipher.h:6,
                     from desc.h:7,
                     from arena.cpp:5:
    ../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type
    In file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from MarkConvert.cpp:1:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    In file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from block_country.cpp:10:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    In file included from char_horse.cpp:3:
    char.h:733: error: integer constant is too large for 'long' type
    In file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from char_horse.cpp:1:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    In file included from cipher.h:6,
                     from desc.h:7,
                     from battle.cpp:4:
    ../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type
    gmake: *** [OBJDIR/buffer_manager.o] Error 1
    gmake: *** Waiting for unfinished jobs....
    In file included from char.cpp:6:
    char.h:733: error: integer constant is too large for 'long' typeIn file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from banword.cpp:1:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    
    gmake: *** [OBJDIR/TrafficProfiler.o] Error 1
    gmake: *** [OBJDIR/MarkImage.o] Error 1
    In file included from cipher.h:6,
                     from desc.h:7,
                     from desc_client.h:4,
                     from char.cpp:12:
    ../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' typeIn file included from castle.cpp:21:
    char.h:733: error: integer constant is too large for 'long' type
    
    In file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from castle.cpp:12:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    In file included from OXEvent.cpp:9:
    char.h:733: error: integer constant is too large for 'long' type
    In file included from char.cpp:25:
    shop_manager.h:40:7: warning: no newline at end of file
    gmake: *** [OBJDIR/MarkManager.o] Error 1
    In file included from cipher.h:6,
                     from desc.h:7,
                     from OXEvent.cpp:12:
    ../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type
    In file included from cipher.h:6,
                     from desc.h:7,
                     from char_battle.cpp:4:
    ../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned typeIn file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from OXEvent.cpp:1:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    
    In file included from char.cpp:62:
    PetSystem.h:163:31: warning: no newline at end of file
    char.cpp:7234: warning: this decimal constant is unsigned only in ISO C90
    char.cpp:7242:2: warning: no newline at end of file
    In file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from char.cpp:1:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    gmake: *** [OBJDIR/blend_item.o] Error 1
    gmake: *** [OBJDIR/MarkConvert.o] Error 1
    gmake: *** [OBJDIR/block_country.o] Error 1
    In file included from arena.cpp:9:
    char.h:733: error: integer constant is too large for 'long' type
    In file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from arena.cpp:1:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    In file included from building.cpp:8:
    char.h:733: error: integer constant is too large for 'long' type
    In file included from battle.cpp:5:
    char.h:733: error: integer constant is too large for 'long' type
    banword.cpp: In member function 'bool CBanwordManager::Initialize(TBanwordTable*, WORD)':
    banword.cpp:24: warning: format '%zu' expects type 'size_t', but argument 4 has type 'size_t'
    In file included from cipher.h:6,
                     from desc.h:7,
                     from building.cpp:12:
    ../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type
    In file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from battle.cpp:1:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    In file included from char_change_empire.cpp:4:
    char.h:733: error: integer constant is too large for 'long' typeIn file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from building.cpp:1:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    
    In file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from char_change_empire.cpp:2:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    gmake: *** [OBJDIR/banword.o] Error 1
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameterIn file included from BattleArena.cpp:6:
    char.h:733: error: integer constant is too large for 'long' type
    
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    In file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from BattleArena.cpp:1:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    In file included from char_affect.cpp:5:
    char.h:733: error: integer constant is too large for 'long' type
    In file included from cipher.h:6,
                     from desc.h:7,
                     from arena.cpp:5:
    ../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type
    In file included from cipher.h:6,
                     from desc.h:7,
                     from desc_client.h:4,
                     from char_affect.cpp:10:
    ../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type
    In file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from char_affect.cpp:2:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parametergmake: *** [OBJDIR/castle.o] Error 1
    
    In file included from cipher.h:6,
                     from desc.h:7,
                     from desc_client.h:4,
                     from char.cpp:12:
    ../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parametergmake: *** [OBJDIR/char_horse.o] Error 1
    In file included from cipher.h:6,
                     from desc.h:7,
                     from battle.cpp:4:
    ../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    
    In file included from ani.cpp:11:
    char.h:733: error: integer constant is too large for 'long' type
    In file included from debug_allocator.h:5,
                     from stdafx.h:7,
                     from ani.cpp:10:
    /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
    In file included from cipher.h:6,
                     from desc.h:7,
                     from OXEvent.cpp:12:
    ../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type
    OXEvent.cpp: In member function 'void COXEventManager::WarpToAudience()':
    OXEvent.cpp:375: warning: overflow in implicit constant conversion
    OXEvent.cpp:376: warning: overflow in implicit constant conversion
    OXEvent.cpp:377: warning: overflow in implicit constant conversion
    OXEvent.cpp:378: warning: overflow in implicit constant conversion
    OXEvent.cpp:379: warning: overflow in implicit constant conversion
    gmake: *** [OBJDIR/OXEvent.o] Error 1
    arena.cpp: In function 'long int ready_to_start_event(LPEVENT, long int)':
    arena.cpp:327: warning: overflow in implicit constant conversion
    arena.cpp:328: warning: overflow in implicit constant conversion
    gmake: *** [OBJDIR/arena.o] Error 1
    gmake: *** [OBJDIR/char_change_empire.o] Error 1
    In file included from cipher.h:6,
                     from desc.h:7,
                     from building.cpp:12:
    ../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type
    In file included from cipher.h:6,
                     from desc.h:7,
                     from desc_client.h:4,
                     from char_affect.cpp:10:
    ../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type
    gmake: *** [OBJDIR/ani.o] Error 1
    gmake: *** [OBJDIR/BattleArena.o] Error 1
    gmake: *** [OBJDIR/battle.o] Error 1
    gmake: *** [OBJDIR/char_affect.o] Error 1
    gmake: *** [OBJDIR/char_battle.o] Error 1
    char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
    char.cpp:3079: warning: comparison between signed and unsigned integer expressions
    char.cpp: In member function 'void<unnamed>::FuncCheckWarp::operator()(CEntity*)':
    char.cpp:6422: warning: overflow in implicit constant conversion
    gmake: *** [OBJDIR/building.o] Error 1
    gmake: *** [OBJDIR/char.o] Error 1
    

    Thanks

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.