------ Build started: Project: shared, Configuration: Debug Win32 ------
Compiling...
Database.cpp
Sha1.cpp
BigNumber.cpp
AuthCrypt.cpp
mempool.cpp
dotconfpp.cpp
..\..\src\shared\Config\dotconfpp\dotconfpp.cpp(94) : error C2039: '_strdup' : is not a member of 'AsyncDNSMemPool' - Look at Section One
c:\users\martin\desktop\mangos\src\shared\config\dotconfpp\mempool.h(12) : see declaration of 'AsyncDNSMemPool' - Look at section 2
..\..\src\shared\Config\dotconfpp\dotconfpp.cpp(130) : error C2039: '_strdup' : is not a member of 'AsyncDNSMemPool'
c:\users\martin\desktop\mangos\src\shared\config\dotconfpp\mempool.h(12) : see declaration of 'AsyncDNSMemPool'
..\..\src\shared\Config\dotconfpp\dotconfpp.cpp(152) : error C2039: '_strdup' : is not a member of 'AsyncDNSMemPool'
c:\users\martin\desktop\mangos\src\shared\config\dotconfpp\mempool.h(12) : see declaration of 'AsyncDNSMemPool'
..\..\src\shared\Config\dotconfpp\dotconfpp.cpp(480) : error C2039: '_strdup' : is not a member of 'AsyncDNSMemPool'
c:\users\martin\desktop\mangos\src\shared\config\dotconfpp\mempool.h(12) : see declaration of 'AsyncDNSMemPool'
..\..\src\shared\Config\dotconfpp\dotconfpp.cpp(488) : error C2039: '_strdup' : is not a member of 'AsyncDNSMemPool'
c:\users\martin\desktop\mangos\src\shared\config\dotconfpp\mempool.h(12) : see declaration of 'AsyncDNSMemPool'
..\..\src\shared\Config\dotconfpp\dotconfpp.cpp(495) : error C2039: '_strdup' : is not a member of 'AsyncDNSMemPool'
c:\users\martin\desktop\mangos\src\shared\config\dotconfpp\mempool.h(12) : see declaration of 'AsyncDNSMemPool'
Config.cpp
Util.cpp
Build log was saved at "file://c:\Users\martin\Desktop\mangos\win\VC80\shared___Win32_Debug\BuildLog.htm"
shared - 6 error(s), 0 warning(s)
Section 1
class AsyncDNSMemPool{
private:
struct PoolChunk {
void * pool;
size_t pos;
size_t size;
PoolChunk(size_t _size);
~PoolChunk();
};
PoolChunk ** chunks;
size_t chunksCount;
size_t defaultSize;
size_t poolUsage;
size_t poolUsageCounter;
void addNewChunk(size_t size);
Section 2
if(concat){
word = (char*)mempool->alloc(strlen(words.back())+strlen(start)+1);
strcpy(word, words.back());
strcat(word, start);
words.pop_back();
concat = false;
} else {
word = mempool->strdup(start);
}