You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/MemDiags.cpp calls malloc_stats(), which is a GNU extension and does not exist e.g. on NetBSD.
Please only use it on Linux, e.g. by wrapping it in #ifdef __linux__.
The text was updated successfully, but these errors were encountered:
Hi @0-wiz-0 ,
I'm guessing you're reporting this against the 0.2.2 tarball? Somebody else reported this a while back (#72), and that whole file has been removed since 0f2b1ca. Definitely see here if you're trying to get ucg working on a BSD; there were a large number of portability improvements made a while back to get ucg running on OSX and FreeBSD, so you'll definitely want to pick up the current master.
...And I guess I should change the "experimental support" to "is supported" on that page.
...And it's probably past time that I roll another release.
Yes, I filed that bug report against 0.2.2. I looked for malloc_stats in issues, but not for the file name. Good that this is already resolved.
And yes, I'd appreciate a release :-)
Thanks!
src/MemDiags.cpp calls malloc_stats(), which is a GNU extension and does not exist e.g. on NetBSD.
Please only use it on Linux, e.g. by wrapping it in
#ifdef __linux__
.The text was updated successfully, but these errors were encountered: