Jump to content
  • 0

Compile warnings


rans

Question


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

Hello, not so sure if this is normal or error, as of (5/16/17 7:25pm) gmt+8 i've clone a fresh copy of rathena and try to compile it. and i was surprise too many warnings

i ddnt post it on github because i am not sure if this is normal or bug. 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

this might be the reason 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

42 minutes ago, Cyro said:

this might be the reason 

 

yum install gcc-c++ I've install this on my centos 6
Uhm i ddnt quite well understand your reply. do you mean this is normal to have too many warnings?
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

what I did to fix my compilation problem was to install the full gcc package. Hence,

yum install -y gcc*

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

3 hours ago, Ninja said:

what I did to fix my compilation problem was to install the full gcc package. Hence,


yum install -y gcc*

 

I don't have problem with ./configure  or error on compilation but 
i just get so many warnings regarding with

"shadows a global declaration" warning: shadowed declaration is here 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   76
  • Joined:  06/13/13
  • Last Seen:  

bump it

Same here i got this too, there is no answer here and in github regarding this, can anyone tell me how to fix this?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   8
  • Joined:  01/02/14
  • Last Seen:  

On 5/30/2017 at 2:54 AM, Litro Endemic said:

bump it

Same here i got this too, there is no answer here and in github regarding this, can anyone tell me how to fix this?

What is your compiler version? If you are using below 4.8 for gcc-c++, I must suggest you to upgrade your Centos to version 7 at least, since Centos 6.9 & below are only provide the gcc-c++ below version 4.8. 

You can't fix it since the rAthena devs are going to upgrade those codes using C++11 & they are preparing to migrate the C system into C++ based on what shows here.

And here as well ...

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...