QCAD - 2D CAD System.
Please search for existing tasks (also closed ones) before opening a new task.
Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help - Check for Updates)
FS#875 - malloc.h is deprecated
Opened by Tamas TEVESZ (kazmer) - Friday, 09 August 2013, 21:32 GMT+2
Last edited by Andrew (andrew) - Friday, 09 August 2013, 23:57 GMT+2
This concerns the third-party openNURBS project and should probably be reported there, but I failed to find a bug tracker or anything of the sort, so here it goes.
malloc.h is deprecated (it has not been required since at least SUSv2, ratified in 1997). Apparently FreeBSD takes a more explicit stance against the use of it than other systems. The attached patch does away with it in openNURBS (conservatively leaving it in on Linux, but that should not really be neccessary either).
This makes the openNURBS component buildable on FreeBSD (9).
Friday, 09 August 2013, 23:57 GMT+2
Reason for closing: Fixed
Additional comments about closing: https://github.com/qcad/qcad/commit/c26b 6cc550b7f11469bc407d9a5da828ece9042d