errorC2084.
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
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.
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.
"Find In files" for CBoundingBox::GetPlanes, and check if you don't have
class CBoundingBox{ void GetPlanes(CPlane* planes) {}};
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement