Jump to content

[SRC] New function failed


Recommended Posts

  • Inactive Member

Hello!

I've made new functions in source.

In Visual Studio 2013 build succesful.

Freebsd make failed.

Spoiler
 

root@freebsd_9_3:/workspace/Server/game/src # gmake
compile dungeon.cpp
dungeon.cpp: In member function 'void CDungeon::IncPartyMember(CParty*, CHARACTER*)':
dungeon.cpp:362: error: expected initializer before 'it'
dungeon.cpp:363: error: 'it' was not declared in this scope
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = std::string]':
../../../Extern/include/cryptopp/cryptlib.h:277:   instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = int]':
../../../Extern/include/cryptopp/cryptlib.h:283:   instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
Makefile:131: recipe for target 'OBJDIR/dungeon.o' failed
gmake: *** [OBJDIR/dungeon.o] Error 1
root@freebsd_9_3:/workspace/Server/game/src #
 

 

root@freebsd_9_3:/workspace/Server/game/src # gmake
compile cmd_general.cpp
cmd_general.cpp: In function 'void do_channel_switch(CHARACTER*, const char*, int, int)':
cmd_general.cpp:96: error: 'to_string' is not a member of 'std'
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = std::string]':
../../../Extern/include/cryptopp/cryptlib.h:277:   instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = int]':
../../../Extern/include/cryptopp/cryptlib.h:283:   instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
Makefile:131: recipe for target 'OBJDIR/cmd_general.o' failed
gmake: *** [OBJDIR/cmd_general.o] Error 1
 

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

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