Jump to content
  • Advertisement
Sign in to follow this  
i NEED help

errorC2084.

This topic is 4218 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Error that I currently have come across. The error states that my function's body has already been declined. If someone could help that would be great. here is the screenshot. http://img246.imageshack.us/my.php?image=questionxd2.png

Share this post


Link to post
Share on other sites
Advertisement
The compiler sees two bodies for the same function in a given translation unit. There are two possibilities:

1° You actually wrote two bodies. Find out if you did, and if so, eliminate the incorrect one;

2° You only wrote one body, but included the file twice in the same translation unit. Ask yourself why a file containing a non-inline, non-template method definition was included, and then add inclusion guards to prevent this.

Share this post


Link to post
Share on other sites
"Find In files" for CBoundingBox::GetPlanes, and check if you don't have


class CBoundingBox
{
void GetPlanes(CPlane* planes) {}
};




Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!