[CoinUtils-tickets] [COIN-OR Common Utilities] #22: Use of <malloc.h> is not portable

COIN-OR Common Utilities coin-trac at coin-or.org
Sun Mar 4 08:59:35 EST 2007


#22: Use of <malloc.h> is not portable
------------------------+---------------------------------------------------
 Reporter:  tautschn    |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  blocker     |   Milestone:          
Component:  component1  |     Version:          
 Keywords:              |  
------------------------+---------------------------------------------------
 In Bonmin/CoinUtils/src/CoinIndexedVector.hpp, line 447 malloc.h is
 included as follows:

 #include <malloc.h>

 However, on Mac OS X this file is only available as sys/malloc.h. There
 must either be some #if construct or, preferably, a portable header be
 included, such as cstdlib.

 Thanks,
 Michael

 PS.: Priority set to blocker as it causes an imminent build failure.

-- 
Ticket URL: <https://projects.coin-or.org/CoinUtils/ticket/22>
COIN-OR Common Utilities <http://projects.coin-or.org/CoinUtils>
Common data structures and linear algebra functions for COIN-OR projects



More information about the CoinUtils-tickets mailing list