Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] OpenBSD-4.6/i386 warns malloc.h is obsolete for 1.4.3rc1 and 1.5rc5
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2010-08-24 22:58:46


Building both of the new RCs on OpenBSD 4.6 for i386 is warning that
malloc.h is obsolete. The files/lines producing the warnings are nearly
the same, but I provide both lists below for completeness.

$ uname -a
OpenBSD obsd46-i386.my.domain 4.6 GENERIC#58 i386

$ gcc --version
gcc (GCC) 3.3.5 (propolice)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 From 1.4rc1 (configured with --disable-io-romio due to
http://www.open-mpi.org/community/lists/devel/2010/08/8338.php)

In file included from ../../../../ompi/mca/mpool/base/mpool_base_open.c:28:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete,
use <stdlib.h>"

--
In file included from 
../../../../ompi/mca/mpool/base/mpool_base_lookup.c:28:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, 
use <stdlib.h>"
--
In file included from 
../../../../../ompi/mca/mpool/fake/mpool_fake_component.c:32:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, 
use <stdlib.h>"
--
In file included from 
../../../../../ompi/mca/mpool/rdma/mpool_rdma_module.c:36:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, 
use <stdlib.h>"
--
In file included from 
../../../../../ompi/mca/mpool/rdma/mpool_rdma_component.c:33:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, 
use <stdlib.h>"
 From 1.5rc5:
In file included from ../../../../ompi/mca/mpool/base/mpool_base_open.c:28:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, 
use <stdlib.h>"
--
In file included from 
../../../../ompi/mca/mpool/base/mpool_base_lookup.c:28:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, 
use <stdlib.h>"
--
In file included from 
../../../../../../../../ompi/mca/io/romio/romio/adio/common/malloc.c:29:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, 
use <stdlib.h>"
--
In file included from 
../../../../../ompi/mca/mpool/fake/mpool_fake_component.c:30:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, 
use <stdlib.h>"
--
In file included from 
../../../../../ompi/mca/mpool/rdma/mpool_rdma_module.c:34:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, 
use <stdlib.h>"
--
In file included from 
../../../../../ompi/mca/mpool/rdma/mpool_rdma_component.c:31:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, 
use <stdlib.h>"
-Paul
-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900