Closed notlion closed 10 years ago
I was getting an error about free being undefined, so included and used the function from <cstdlib>. It seems to be the same as the C function.
free
<cstdlib>
../deps/sol/sol/demangle.hpp:44:5: error: use of undeclared identifier 'free' free(unmangled); ^
My compiler version: Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Thanks for the pull request!
I was getting an error about
free
being undefined, so included and used the function from<cstdlib>
. It seems to be the same as the C function.My compiler version:
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)