Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] 1.5rc5 warnings from gcc on OpenSolaris
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2010-08-24 21:00:50


A build of 1.5rc5 with gcc on OpenSolaris/x86 agrees with my Sun C build
(http://www.open-mpi.org/community/lists/devel/2010/08/8323.php) about
type sloppiness in common_sm_mmap.c.

$ uname -a
SunOS osol-x64 5.11 snv_111b i86pc i386 i86pc

$ gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802)
Copyright (C) 2004 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.

$ [path_to]/openmpi-1.5rc5/configure
[...]

$ make
[...]
../../../../../openmpi-1.5rc5/ompi/mca/common/sm/common_sm_mmap.c:201:
warning: assignment from incompatible pointer type
../../../../../openmpi-1.5rc5/ompi/mca/common/sm/common_sm_mmap.c:207:
warning: assignment from incompatible pointer type
../../../../../openmpi-1.5rc5/ompi/mca/common/sm/common_sm_mmap.c:280:
warning: passing arg 1 of `munmap' from incompatible pointer type
[...]

Those are the only warnings generated by this build.

-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