• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Code::Blocks] OTClient Warning Issues (Take a look)

manuloku

New Member
Joined
Nov 12, 2008
Messages
31
Reaction score
4
I get this warnings during the process:

Code:
||=== Build: all in otclient (compiler: GNU GCC Compiler) ===|
C:\OTClient\src\framework\stdext\time.cpp||In function 'void stdext::millisleep(std::size_t)':|
C:\OTClient\src\framework\stdext\time.cpp|52|warning: 'int usleep(useconds_t)' is deprecated (declared at c:\mingw\include\unistd.h:130) [-Wdeprecated-declarations]|
C:\OTClient\src\framework\stdext\time.cpp|52|warning: 'int usleep(useconds_t)' is deprecated (declared at c:\mingw\include\unistd.h:130) [-Wdeprecated-declarations]|
C:\OTClient\src\framework\stdext\time.cpp||In function 'void stdext::microsleep(std::size_t)':|
C:\OTClient\src\framework\stdext\time.cpp|61|warning: 'int usleep(useconds_t)' is deprecated (declared at c:\mingw\include\unistd.h:130) [-Wdeprecated-declarations]|
C:\OTClient\src\framework\stdext\time.cpp|61|warning: 'int usleep(useconds_t)' is deprecated (declared at c:\mingw\include\unistd.h:130) [-Wdeprecated-declarations]|

---

After it finish building, I get more a ton of warnings:

Code:
CMakeFiles\otclient.dir\objects.a(client.cpp.obj)||duplicate section `.rdata$_ZTSN5boost12noncopyable_11noncopyableE[__ZTSN5boost12noncopyable_11noncopyableE]' has different size|
CMakeFiles\otclient.dir\objects.a(client.cpp.obj)||duplicate section `.rdata$_ZTSN5boost16exception_detail10clone_baseE[__ZTSN5boost16exception_detail10clone_baseE]' has different size|
CMakeFiles\otclient.dir\objects.a(client.cpp.obj)||duplicate section `.rdata$_ZTSN5boost6detail15sp_counted_baseE[__ZTSN5boost6detail15sp_counted_baseE]' has different size|
CMakeFiles\otclient.dir\objects.a(client.cpp.obj)||duplicate section `.rdata$_ZTSN5boost16exception_detail10bad_alloc_E[__ZTSN5boost16exception_detail10bad_alloc_E]' has different size|
CMakeFiles\otclient.dir\objects.a(client.cpp.obj)||duplicate section `.rdata$_ZTSN5boost16exception_detail14bad_exception_E[__ZTSN5boost16exception_detail14bad_exception_E]' has different size|
CMakeFiles\otclient.dir\objects.a(client.cpp.obj)||duplicate section `.rdata$_ZTSN5boost4asio5error6detail13misc_categoryE[__ZTSN5boost4asio5error6detail13misc_categoryE]' has different size|
CMakeFiles\otclient.dir\objects.a(client.cpp.obj)||duplicate section `.rdata$_ZTSN5boost16exception_detail10clone_implINS0_10bad_alloc_EEE[__ZTSN5boost16exception_detail10clone_implINS0_10bad_alloc_EEE]' has different size|
...
||=== Build finished: 0 error(s), 1758 warning(s) (13 minute(s), 51 second(s)) ===|

I Followed a lot of tutos, this is the more approach i can get to compile the otc... Please give me some tips or help to solve this problem!

Thanks a lot!
 
Back
Top