Today I have made an update/upgrade of my server of all the libraries etc. but when I re-compiled rAthena, I see this warning that I do not know how to solve:
make[1]: ingresso nella directory "/root/rAthena/src/char"
MKDIR obj
CXX char_clif.cpp
char_clif.cpp:In function ‘int chclif_parse_pincode_setnew(int, char_session_data*)’:
char_clif.cpp:293:11: warning:‘char* strncpy(char*,constchar*,size_t)’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
strncpy( sd->pincode, newpin, strlen( newpin ));~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CXX char_cnslif.cpp
etc... etc.. etc...
The rAthena version is updated a few days ago and the server runs with Debian 9... any suggestions?
Question
CyberDevil
Today I have made an update/upgrade of my server of all the libraries etc. but when I re-compiled rAthena, I see this warning that I do not know how to solve:
The rAthena version is updated a few days ago and the server runs with Debian 9... any suggestions?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.