Jump to content
×
×
  • Create New...
  • 0

Compiler le game team FE


FlavDark

Question

Bonsoir,

 

Après 4h d'upload interminable des sources serveur 2016 de la team FE, je tente une première compilation et je désespère complètement en voyant ça :

compile acce.cpp
compile BattleArena.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
compile arena.cpp
compile banword.cpp
compile battle.cpp
compile blend_item.cpp
compile block_country.cpp
compile buffer_manager.cpp
compile building.cpp
compile castle.cpp
compile char.cpp
compile char_affect.cpp
compile char_battle.cpp
In file included from desc.h:7,
                from char_battle.cpp:4:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
In file included from castle.cpp:21:
char.h:750: error: integer constant is too large for 'long' type
In file included from building.cpp:8:
char.h:750: error: integer constant is too large for 'long' type
In file included from desc.h:7,
                from building.cpp:12:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
In file included from BattleArena.cpp:6:
char.h:750: error: integer constant is too large for 'long' type
In file included from acce.cpp:7:
char.h:750: error: integer constant is too large for 'long' type
In file included from char.cpp:6:
char.h:750: error: integer constant is too large for 'long' type
In file included from desc.h:7,
                from desc_client.h:4,
                from char.cpp:12:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
char.cpp:7355: warning: this decimal constant is unsigned only in ISO C90
In 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 blend_item.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 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 buffer_manager.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 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 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 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 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 debug_allocator.h:5,
                from stdafx.h:7,
                from acce.cpp:2:
/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.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 OXEvent.cpp:9:
char.h:750: error: integer constant is too large for 'long' type
In file included from desc.h:7,
                from OXEvent.cpp:12:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
In 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 /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from char.h:4,
                from char.cpp:6:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of type
In file included from /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from char.h:4,
                from acce.cpp:7:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of type
In file included from desc.h:7,
                from desc_client.h:4,
                from char.cpp:12:
cipher.h: At global scope:
cipher.h:52: error: 'CryptoPP' has not been declared
In file included from /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from char.h:4,
                from castle.cpp:21:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of type
In file included from /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from char.h:4,
                from BattleArena.cpp:6:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of type
cipher.h:52: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:52: error: expected ';' before '*' token
cipher.h:53: error: 'CryptoPP' has not been declared
cipher.h:53: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:53: error: expected ';' before '*' token
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31: error: 'encoder_' was not declared in this scope
cipher.h:31: error: 'byte' was not declared in this scope
cipher.h:31: error: expected primary-expression before ')' token
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: expected primary-expression before 'const'
cipher.h:31: error: expected `)' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39: error: 'decoder_' was not declared in this scope
cipher.h:39: error: 'byte' was not declared in this scope
cipher.h:39: error: expected primary-expression before ')' token
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: expected primary-expression before 'const'
cipher.h:39: error: expected `)' before 'const'
In file included from battle.h:4,
                from char_battle.cpp:10:
char.h:750: error: integer constant is too large for 'long' type
In file included from /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from char.h:4,
                from building.cpp:8:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of type
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
In file included from /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from questmanager.h:4,
                from OXEvent.cpp:4:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of type
acce.cpp: In function 'void FN_remove_material(CItem**, DWORD, int, int)':
acce.cpp:87: warning: unused variable 'count'
acce.cpp: In function 'bool Acce_InformationInitialize()':
acce.cpp:943: warning: comparison between signed and unsigned integer expressions
In file included from desc.h:7,
                from char_battle.cpp:4:
cipher.h:52: error: 'CryptoPP' has not been declared
cipher.h:52: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:52: error: expected ';' before '*' token
cipher.h:53: error: 'CryptoPP' has not been declared
cipher.h:53: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:53: error: expected ';' before '*' token
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31: error: 'encoder_' was not declared in this scope
cipher.h:31: error: 'byte' was not declared in this scope
cipher.h:31: error: expected primary-expression before ')' token
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: expected primary-expression before 'const'
cipher.h:31: error: expected `)' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39: error: 'decoder_' was not declared in this scope
cipher.h:39: error: 'byte' was not declared in this scope
cipher.h:39: error: expected primary-expression before ')' token
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: expected primary-expression before 'const'
cipher.h:39: error: expected `)' before 'const'
In file included from /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from desc_manager.h:4,
                from char_battle.cpp:5:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of type
In file included from desc.h:7,
                from OXEvent.cpp:12:
cipher.h: At global scope:
cipher.h:52: error: 'CryptoPP' has not been declared
cipher.h:52: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:52: error: expected ';' before '*' token
cipher.h:53: error: 'CryptoPP' has not been declared
cipher.h:53: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:53: error: expected ';' before '*' token
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31: error: 'encoder_' was not declared in this scope
cipher.h:31: error: 'byte' was not declared in this scope
cipher.h:31: error: expected primary-expression before ')' token
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: expected primary-expression before 'const'
cipher.h:31: error: expected `)' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39: error: 'decoder_' was not declared in this scope
cipher.h:39: error: 'byte' was not declared in this scope
cipher.h:39: error: expected primary-expression before ')' token
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: expected primary-expression before 'const'
cipher.h:39: error: expected `)' before 'const'
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
In file included from desc.h:7,
                from building.cpp:12:
cipher.h: At global scope:
cipher.h:52: error: 'CryptoPP' has not been declared
cipher.h:52: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:52: error: expected ';' before '*' token
cipher.h:53: error: 'CryptoPP' has not been declared
cipher.h:53: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:53: error: expected ';' before '*' token
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31: error: 'encoder_' was not declared in this scope
cipher.h:31: error: 'byte' was not declared in this scope
cipher.h:31: error: expected primary-expression before ')' token
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: expected primary-expression before 'const'
cipher.h:31: error: expected `)' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39: error: 'decoder_' was not declared in this scope
cipher.h:39: error: 'byte' was not declared in this scope
cipher.h:39: error: expected primary-expression before ')' token
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: expected primary-expression before 'const'
cipher.h:39: error: expected `)' before 'const'
char.cpp: In member function 'void::FuncCheckWarp::operator()(CEntity*)':
char.cpp:6533: warning: overflow in implicit constant conversion
gmake: *** [Makefile:130: OBJDIR/castle.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [Makefile:130: OBJDIR/char_battle.o] Error 1
gmake: *** [Makefile:130: OBJDIR/char.o] Error 1
gmake: *** [Makefile:130: OBJDIR/building.o] Error 1
gmake: *** [Makefile:130: OBJDIR/buffer_manager.o] Error 1
gmake: *** [Makefile:130: OBJDIR/block_country.o] Error 1
gmake: *** [Makefile:130: OBJDIR/OXEvent.o] Error 1
gmake: *** [Makefile:130: OBJDIR/BattleArena.o] Error 1
gmake: *** [Makefile:130: OBJDIR/acce.o] Error 1
gmake: *** [Makefile:130: OBJDIR/MarkConvert.o] Error 1
In file included from desc.h:7,
                from battle.cpp:4:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
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
In 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
In file included from char_affect.cpp:5:
char.h:750: error: integer constant is too large for 'long' type
In file included from desc.h:7,
                from desc_client.h:4,
                from char_affect.cpp:10:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
In file included from desc.h:7,
                from arena.cpp:5:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
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 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: *** [Makefile:130: OBJDIR/MarkImage.o] Error 1
In file included from /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from char.h:4,
                from char_affect.cpp:5:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of type
In file included from desc.h:7,
                from desc_client.h:4,
                from char_affect.cpp:10:
cipher.h: At global scope:
cipher.h:52: error: 'CryptoPP' has not been declared
cipher.h:52: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:52: error: expected ';' before '*' token
cipher.h:53: error: 'CryptoPP' has not been declared
cipher.h:53: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:53: error: expected ';' before '*' token
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31: error: 'encoder_' was not declared in this scope
cipher.h:31: error: 'byte' was not declared in this scope
cipher.h:31: error: expected primary-expression before ')' token
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: expected primary-expression before 'const'
cipher.h:31: error: expected `)' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39: error: 'decoder_' was not declared in this scope
cipher.h:39: error: 'byte' was not declared in this scope
cipher.h:39: error: expected primary-expression before ')' token
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: expected primary-expression before 'const'
cipher.h:39: error: expected `)' before 'const'
In file included from battle.cpp:5:
char.h:750: 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 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
In file included from ani.cpp:11:
char.h:750: error: integer constant is too large for 'long' type
gmake: *** [Makefile:130: OBJDIR/char_affect.o] Error 1
In file included from /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from banword.h:5,
                from banword.cpp:3:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of 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 desc.h:7,
                from battle.cpp:4:
cipher.h:52: error: 'CryptoPP' has not been declared
cipher.h:52: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:52: error: expected ';' before '*' token
cipher.h:53: error: 'CryptoPP' has not been declared
cipher.h:53: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:53: error: expected ';' before '*' token
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31: error: 'encoder_' was not declared in this scope
cipher.h:31: error: 'byte' was not declared in this scope
cipher.h:31: error: expected primary-expression before ')' token
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: expected primary-expression before 'const'
cipher.h:31: error: expected `)' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39: error: 'decoder_' was not declared in this scope
cipher.h:39: error: 'byte' was not declared in this scope
cipher.h:39: error: expected primary-expression before ')' token
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: expected primary-expression before 'const'
cipher.h:39: error: expected `)' before 'const'
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 arena.cpp:9:
char.h:750: error: integer constant is too large for 'long' type
In file included from /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from char.h:4,
                from ani.cpp:11:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of type
In file included from /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from char.h:4,
                from battle.cpp:5:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of type
gmake: *** [Makefile:130: OBJDIR/blend_item.o] Error 1
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
gmake: *** [Makefile:130: OBJDIR/TrafficProfiler.o] Error 1
In file included from desc.h:7,
                from arena.cpp:5:
cipher.h:52: error: 'CryptoPP' has not been declared
cipher.h:52: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:52: error: expected ';' before '*' token
cipher.h:53: error: 'CryptoPP' has not been declared
cipher.h:53: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:53: error: expected ';' before '*' token
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31: error: 'encoder_' was not declared in this scope
cipher.h:31: error: 'byte' was not declared in this scope
cipher.h:31: error: expected primary-expression before ')' token
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: expected primary-expression before 'const'
cipher.h:31: error: expected `)' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39: error: 'decoder_' was not declared in this scope
cipher.h:39: error: 'byte' was not declared in this scope
cipher.h:39: error: expected primary-expression before ')' token
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: expected primary-expression before 'const'
cipher.h:39: error: expected `)' before 'const'
gmake: *** [Makefile:130: OBJDIR/MarkManager.o] Error 1
In file included from /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from questmanager.h:4,
                from arena.cpp:8:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of type
gmake: *** [Makefile:130: OBJDIR/banword.o] Error 1
gmake: *** [Makefile:130: OBJDIR/ani.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: *** [Makefile:130: OBJDIR/arena.o] Error 1
gmake: *** [Makefile:130: OBJDIR/battle.o] Error 1

 

Quelqu'un peut m'aider ? 

 

Version FreeBSD : 9.3 64 bits.

Version des files : 2016 by FE.

 

Merci d'avance.

 

En postant ma demande d'aide, j'affirme avoir lu et accepté le règlement des demandes d'aides.

 

Edit :

Après avoir réinstallé les libs C++, je me retrouve avec beaucoup moins d'erreurs, mais je suis quand même un peu dépassé.. ^^

 compile acce.cpp
compile BattleArena.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
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 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
In 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
compile arena.cpp
In file included from acce.cpp:7:
char.h:750: error: integer constant is too large for 'long' type
In file included from debug_allocator.h:5,
                from stdafx.h:7,
                from acce.cpp:2:
/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 BattleArena.cpp:6:
char.h:750: error: integer constant is too large for 'long' type
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 OXEvent.cpp:9:
char.h:750: error: integer constant is too large for 'long' type
In file included from desc.h:7,
                from OXEvent.cpp:12:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
In 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 ani.cpp:11:
char.h:750: error: integer constant is too large for 'long' type
compile banword.cpp
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 desc.h:7,
                from arena.cpp:5:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
gmake: *** [Makefile:131: OBJDIR/MarkManager.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [Makefile:131: OBJDIR/MarkImage.o] Error 1
gmake: *** [Makefile:131: OBJDIR/MarkConvert.o] Error 1
gmake: *** [Makefile:131: OBJDIR/TrafficProfiler.o] Error 1
In file included from arena.cpp:9:
char.h:750: 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 /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from char.h:4,
                from acce.cpp:7:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of type
In file included from /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from char.h:4,
                from BattleArena.cpp:6:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of type
In file included from /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from questmanager.h:4,
                from OXEvent.cpp:4:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of type
In 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
In file included from /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from char.h:4,
                from ani.cpp:11:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of type
In file included from desc.h:7,
                from arena.cpp:5:
cipher.h:52: error: 'CryptoPP' has not been declared
cipher.h:52: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:52: error: expected ';' before '*' token
cipher.h:53: error: 'CryptoPP' has not been declared
cipher.h:53: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:53: error: expected ';' before '*' token
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31: error: 'encoder_' was not declared in this scope
cipher.h:31: error: 'byte' was not declared in this scope
cipher.h:31: error: expected primary-expression before ')' token
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: expected primary-expression before 'const'
cipher.h:31: error: expected `)' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39: error: 'decoder_' was not declared in this scope
cipher.h:39: error: 'byte' was not declared in this scope
cipher.h:39: error: expected primary-expression before ')' token
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: expected primary-expression before 'const'
cipher.h:39: error: expected `)' before 'const'
acce.cpp: In function 'void FN_remove_material(CItem**, DWORD, int, int)':
acce.cpp:87: warning: unused variable 'count'
acce.cpp: In function 'bool Acce_InformationInitialize()':
acce.cpp:943: warning: comparison between signed and unsigned integer expressions
In file included from /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from questmanager.h:4,
                from arena.cpp:8:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of type
gmake: *** [Makefile:131: OBJDIR/ani.o] Error 1
In file included from desc.h:7,
                from OXEvent.cpp:12:
cipher.h: At global scope:
cipher.h:52: error: 'CryptoPP' has not been declared
cipher.h:52: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:52: error: expected ';' before '*' token
cipher.h:53: error: 'CryptoPP' has not been declared
cipher.h:53: error: ISO C++ forbids declaration of 'SymmetricCipher' with no type
cipher.h:53: error: expected ';' before '*' token
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31: error: 'encoder_' was not declared in this scope
cipher.h:31: error: 'byte' was not declared in this scope
cipher.h:31: error: expected primary-expression before ')' token
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: expected primary-expression before 'const'
cipher.h:31: error: expected `)' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39: error: 'decoder_' was not declared in this scope
cipher.h:39: error: 'byte' was not declared in this scope
cipher.h:39: error: expected primary-expression before ')' token
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: expected primary-expression before 'const'
cipher.h:39: error: expected `)' before 'const'
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
In file included from /usr/local/include/boost/functional/hash.hpp:6,
                from /usr/local/include/boost/unordered/unordered_map.hpp:19,
                from /usr/local/include/boost/unordered_map.hpp:17,
                from banword.h:5,
                from banword.cpp:3:
/usr/local/include/boost/functional/hash/hash.hpp: In function 'void boost::hash_detail::hash_combine_impl(uint64_t&, uint64_t)':
/usr/local/include/boost/functional/hash/hash.hpp:239: warning: large integer implicitly truncated to unsigned type
/usr/local/include/boost/functional/hash/hash.hpp:243: warning: right shift count >= width of 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'
gmake: *** [Makefile:131: OBJDIR/BattleArena.o] Error 1
gmake: *** [Makefile:131: OBJDIR/acce.o] Error 1
gmake: *** [Makefile:131: OBJDIR/OXEvent.o] Error 1
gmake: *** [Makefile:131: OBJDIR/banword.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: *** [Makefile:131: OBJDIR/arena.o] Error 1

Link to comment
  • Answers 13
  • Created
  • Last Reply

Top Posters For This Question

13 answers to this question

Recommended Posts

  • 0

Bonjour, je ne sais pas si je peux faire ça mais tout comme l'auteur du sujet : je rencontre aussi des problèmes sur la compilation en faisant les mêmes commandes : 

 

[email protected]:/usr/src/Server/game/src # gmake -j20
compile acce.cpp
compile BattleArena.cpp
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile FSM.cpp
compile MarkConvert.cpp
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile MarkImage.cpp
compile MarkManager.cpp
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile arena.cpp
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile banword.cpp
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile battle.cpp
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile blend_item.cpp
compile block_country.cpp
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile buffer_manager.cpp
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile building.cpp
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile castle.cpp
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char.cpp
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_affect.cpp
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_battle.cpp
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gcc49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from FSM.cpp:4:0:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
gmake: *** [Makefile:131: OBJDIR/FSM.o] Error 1
gmake: *** Waiting for unfinished jobs....
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from block_country.cpp:10:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from TrafficProfiler.cpp:10:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from buffer_manager.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from blend_item.cpp:10:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from MarkManager.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from MarkConvert.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from MarkImage.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
gmake: *** [Makefile:131: OBJDIR/MarkConvert.o] Error 1
gmake: *** [Makefile:131: OBJDIR/TrafficProfiler.o] Error 1
gmake: *** [Makefile:131: OBJDIR/buffer_manager.o] Error 1
gmake: *** [Makefile:131: OBJDIR/block_country.o] Error 1
gmake: *** [Makefile:131: OBJDIR/MarkImage.o] Error 1
gmake: *** [Makefile:131: OBJDIR/blend_item.o] Error 1
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from acce.cpp:2:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from banword.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
gmake: *** [Makefile:131: OBJDIR/MarkManager.o] Error 1
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from battle.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from BattleArena.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from ani.cpp:10:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
char.cpp:7355:4: warning: this decimal constant is unsigned only in ISO C90
   return 2500000000;
   ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from char_affect.cpp:2:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from char_battle.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from char.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from arena.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from building.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from castle.cpp:12:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from OXEvent.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from banword.h:5,
                from banword.cpp:3:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from char.h:4,
                from ani.cpp:11:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from char.h:4,
                from BattleArena.cpp:6:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from char.h:4,
                from char_affect.cpp:5:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from char.h:4,
                from acce.cpp:7:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from char.h:4,
                from char.cpp:6:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from questmanager.h:4,
                from OXEvent.cpp:4:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from desc_manager.h:4,
                from char_battle.cpp:5:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from questmanager.h:4,
                from arena.cpp:8:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from char.h:4,
                from battle.cpp:5:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from char.h:4,
                from castle.cpp:21:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from char.h:4,
                from building.cpp:8:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
gmake: *** [Makefile:131: OBJDIR/banword.o] Error 1
gmake: *** [Makefile:131: OBJDIR/ani.o] Error 1
acce.cpp: In function 'void FN_remove_material(CItem**, DWORD, int, int)':
acce.cpp:87:7: warning: unused variable 'count' [-Wunused-variable]
 int  count = 0;
      ^
acce.cpp: In function 'bool Acce_InformationInitialize()':
acce.cpp:943:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 for (int i = 0; i < s_acce_proto.size(); ++i)
                   ^
gmake: *** [Makefile:131: OBJDIR/castle.o] Error 1
gmake: *** [Makefile:131: OBJDIR/char_affect.o] Error 1
gmake: *** [Makefile:131: OBJDIR/BattleArena.o] Error 1
gmake: *** [Makefile:131: OBJDIR/arena.o] Error 1
gmake: *** [Makefile:131: OBJDIR/battle.o] Error 1
gmake: *** [Makefile:131: OBJDIR/OXEvent.o] Error 1
gmake: *** [Makefile:131: OBJDIR/acce.o] Error 1
gmake: *** [Makefile:131: OBJDIR/building.o] Error 1
char_battle.cpp: In member function 'void CHARACTER::Reward(bool)':
char_battle.cpp:779:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
  if (GetLevel() - pkAttacker->GetLevel() >= -10)
     ^
char.cpp: In member function 'int CHARACTER::GetPolymorphPoint(BYTE) const':
char.cpp:2957:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if (GetJob() == JOB_SHAMAN || GetJob() == JOB_SURA && GetSkillGroup() == 2)
                                                        ^
char.cpp: In member function 'void CHARACTER::SetTarget(LPCHARACTER)':
char.cpp:5213:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (m_pkChrTarget->IsPC() && !m_pkChrTarget->IsPolymorphed() || m_pkChrTarget->GetMaxHP() <= 0)
                            ^
char.cpp: In member function 'bool CHARACTER::CanSummon(int)':
char.cpp:6412:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
 return (iLeaderShip >= 20 || iLeaderShip >= 12 && m_dwLastDeadTime + 180 > get_dword_time());
                                                ^
gmake: *** [Makefile:131: OBJDIR/char_battle.o] Error 1
char.cpp: In member function 'DWORD CHARACTER::PetGetNextExp() const':
char.cpp:7359:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
gmake: *** [Makefile:131: OBJDIR/char.o] Error 1

 

J'ai besoin de votre aide aussi, Merci à vous !

Link to comment
  • 0

Salut ! 

 

Alors j'ai remplacé comme tu m'a dit et en effet j'ai moins d'erreur il me reste ça : 

 

[email protected]:/usr/src/Server/game/src # gmake -j20
compile acce.cpp
compile BattleArena.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
compile arena.cpp
compile banword.cpp
compile battle.cpp
compile blend_item.cpp
compile block_country.cpp
compile building.cpp
compile buffer_manager.cpp
compile castle.cpp
In file included from FSM.cpp:4:0:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
compile char.cpp
compile char_affect.cpp
compile char_battle.cpp
gmake: *** [Makefile:131: OBJDIR/FSM.o] Error 1
gmake: *** Waiting for unfinished jobs....
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from MarkConvert.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from MarkManager.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from buffer_manager.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from MarkImage.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from TrafficProfiler.cpp:10:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from block_country.cpp:10:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from blend_item.cpp:10:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
gmake: *** [Makefile:131: OBJDIR/MarkConvert.o] Error 1
gmake: *** [Makefile:131: OBJDIR/buffer_manager.o] Error 1
gmake: *** [Makefile:131: OBJDIR/TrafficProfiler.o] Error 1
gmake: *** [Makefile:131: OBJDIR/MarkImage.o] Error 1
gmake: *** [Makefile:131: OBJDIR/block_country.o] Error 1
gmake: *** [Makefile:131: OBJDIR/blend_item.o] Error 1
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from BattleArena.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
gmake: *** [Makefile:131: OBJDIR/MarkManager.o] Error 1
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from OXEvent.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from battle.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
char.cpp:7355:4: warning: this decimal constant is unsigned only in ISO C90
   return 2500000000;
   ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from acce.cpp:2:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from char.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from building.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from ani.cpp:10:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from banword.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from char_affect.cpp:2:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from arena.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from char_battle.cpp:1:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from debug_allocator.h:4:0,
                from stdafx.h:7,
                from castle.cpp:12:
/usr/local/lib/gcc49/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
  inline __int128
         ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from questmanager.h:4,
                from OXEvent.cpp:4:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from char.h:4,
                from char.cpp:6:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from char.h:4,
                from char_affect.cpp:5:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from char.h:4,
                from ani.cpp:11:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from char.h:4,
                from BattleArena.cpp:6:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from char.h:4,
                from acce.cpp:7:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from banword.h:5,
                from banword.cpp:3:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from char.h:4,
                from battle.cpp:5:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from questmanager.h:4,
                from arena.cpp:8:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from desc_manager.h:4,
                from char_battle.cpp:5:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from char.h:4,
                from castle.cpp:21:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                from ../../../Extern/include/boost/functional/hash.hpp:6,
                from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                from ../../../Extern/include/boost/unordered_map.hpp:16,
                from char.h:4,
                from building.cpp:8:
/usr/local/lib/gcc49/include/c++/limits:1405:35: error: template argument 1 is invalid
    struct numeric_limits<__int128>
                                  ^
/usr/local/lib/gcc49/include/c++/limits:1479:44: error: template argument 1 is invalid
    struct numeric_limits
                                           ^
gmake: *** [Makefile:131: OBJDIR/banword.o] Error 1
gmake: *** [Makefile:131: OBJDIR/ani.o] Error 1
acce.cpp: In function 'void FN_remove_material(CItem**, DWORD, int, int)':
acce.cpp:87:7: warning: unused variable 'count' [-Wunused-variable]
 int  count = 0;
      ^
gmake: *** [Makefile:131: OBJDIR/castle.o] Error 1
acce.cpp: In function 'bool Acce_InformationInitialize()':
acce.cpp:943:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 for (int i = 0; i < s_acce_proto.size(); ++i)
                   ^
gmake: *** [Makefile:131: OBJDIR/char_affect.o] Error 1
gmake: *** [Makefile:131: OBJDIR/BattleArena.o] Error 1
gmake: *** [Makefile:131: OBJDIR/OXEvent.o] Error 1
gmake: *** [Makefile:131: OBJDIR/battle.o] Error 1
gmake: *** [Makefile:131: OBJDIR/arena.o] Error 1
gmake: *** [Makefile:131: OBJDIR/acce.o] Error 1
gmake: *** [Makefile:131: OBJDIR/building.o] Error 1
char_battle.cpp: In member function 'void CHARACTER::Reward(bool)':
char_battle.cpp:779:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
  if (GetLevel() - pkAttacker->GetLevel() >= -10)
     ^
char.cpp: In member function 'int CHARACTER::GetPolymorphPoint(BYTE) const':
char.cpp:2957:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if (GetJob() == JOB_SHAMAN || GetJob() == JOB_SURA && GetSkillGroup() == 2)
                                                        ^
char.cpp: In member function 'void CHARACTER::SetTarget(LPCHARACTER)':
char.cpp:5213:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (m_pkChrTarget->IsPC() && !m_pkChrTarget->IsPolymorphed() || m_pkChrTarget->GetMaxHP() <= 0)
                            ^
char.cpp: In member function 'bool CHARACTER::CanSummon(int)':
char.cpp:6412:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
 return (iLeaderShip >= 20 || iLeaderShip >= 12 && m_dwLastDeadTime + 180 > get_dword_time());
                                                ^
gmake: *** [Makefile:131: OBJDIR/char_battle.o] Error 1
char.cpp: In member function 'DWORD CHARACTER::PetGetNextExp() const':
char.cpp:7359:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
gmake: *** [Makefile:131: OBJDIR/char.o] Error 1

 

En ce qui concerne la préparation à la compilation j'ai suivi le tutorie de Galet : J'ai installer makedepend, gmake, subversion, devil et g++ (gcc49).

 

Merci pour vos réponses.

Link to comment
Guest
This topic is now closed to further replies.


  • Flux d'Activité

    1. 2

      Site internet (CMS) compatible avec tous les emulateurs 1.29 (Azuriom)

    2. 2

      Site internet (CMS) compatible avec tous les emulateurs 1.29 (Azuriom)

    3. 84

      Granny

    4. 32

      Rodnia.net | PVM | International | The Great Conqueror |

    5. 16

      Map The OpenWorld Metin2

    6. 0
    7. 6

      [V2]Gurgarath Resurgence

  • Recently Browsing

    • No registered users viewing this page.

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.