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

Missing "free" reference #3

Closed
beoboo opened this issue Feb 19, 2015 · 1 comment
Closed

Missing "free" reference #3

beoboo opened this issue Feb 19, 2015 · 1 comment

Comments

@beoboo
Copy link

beoboo commented Feb 19, 2015

Using a brand new MAC OS environment, there is a compilation error:

/works/cpp/fruit/src/demangle_type_name.cpp:32:5: error: use of undeclared identifier 'free'
free(demangled_name);

that can be fixed by adding:

#include <cstdlib> 

in the same file.

poletti-marco added a commit that referenced this issue Feb 21, 2015
@poletti-marco
Copy link
Contributor

Thanks for the report!
FIxed in 4250ef6
Let me know if there are any further issues on OS X, I don't have a Mac so can't test myself, but happy to fix any issues you might find.

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

2 participants