QCAD

QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

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)

Tasklist

FS#875 - malloc.h is deprecated

Attached to Project: QCAD
Opened by Tamas TEVESZ (kazmer) - Friday, 09 August 2013, 21:32 GMT+1
Last edited by Andrew (andrew) - Friday, 09 August 2013, 23:57 GMT+1
Task Type Bug Report
Category Main
Status Closed
Assigned To Andrew (andrew)
Operating System Linux (All / Other)
Severity Medium
Priority Normal
Reported Version 3.2.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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).

This task depends upon

Closed by  Andrew (andrew)
Friday, 09 August 2013, 23:57 GMT+1
Reason for closing:  Fixed
Additional comments about closing:  https://github.com/qcad/qcad/commit/c26b 6cc550b7f11469bc407d9a5da828ece9042d
Comment by Andrew (andrew) - Friday, 09 August 2013, 23:56 GMT+1

Thanks. I've removed the malloc.h include entirely which seems to work fine on all other platforms supported by QCAD (Linux, Mac, Windows).

Loading...