Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unused function warning when compiling 6.2.1 in Xcode #77

Closed
notlion opened this issue Jun 26, 2014 · 1 comment
Closed

Unused function warning when compiling 6.2.1 in Xcode #77

notlion opened this issue Jun 26, 2014 · 1 comment

Comments

@notlion
Copy link
Contributor

notlion commented Jun 26, 2014

I recently checked out the Chipmunk-6.2.1 tag in order to use chipmunkpp.

When compiling, Xcode complains that EdgeNew is never used. It's not a huge deal, but it prevents compilation without commenting out the function, or using -Wno-unused-function.

Chipmunk2D/src/cpCollision.c:162:1: error: unused function 'EdgeNew' [-Werror,-Wunused-function]
EdgeNew(cpVect va, cpVect vb, cpHashValue ha, cpHashValue hb, cpFloat r)
^

This was also discussed in a forum a while ago:
https://chipmunk-physics.net/forum/viewtopic.php?f=3&t=3356

@notlion
Copy link
Contributor Author

notlion commented Sep 16, 2014

Using the latest version now, so I'm going to close this.

@notlion notlion closed this as completed Sep 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant