Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Warnings from pgcc-13.10
From: Paul Hargrove (phhargrove_at_[hidden])
Date: 2014-01-17 14:28:12


Ralph,

You are probably right that the string literals are a likely cause (type
char[] ? ).
I will poke at this a bit by adding (char *) casts to see which argument(s)
are actually the cause and get back to you.

-Paul

On Fri, Jan 17, 2014 at 8:56 AM, Ralph Castain <rhc_at_[hidden]> wrote:

> Hi Paul
>
> Looking at these, I'm a tad puzzled. It would appear that PGI is
> complaining about the fixed string being passed in the last three cases as
> there is no (const char*)foo being used in those areas. Yet we use that
> same logic elsewhere and your report isn't showing those as warnings.
>
> Do you think it is the fixed string that is the issue - or is it the
> (const char*) variable we need to recast?
>
>
> On Jan 16, 2014, at 11:24 PM, Paul Hargrove <phhargrove_at_[hidden]> wrote:
>
> My builds of the trunk with pgcc-13.10 turned up the following warnings:
>
> PGC-W-0095-Type cast required for this conversion
> (/scratch/scratchdirs/hargrove/OMPI/openmpi-trunk-linux-x86_64-pgi-13.10/openmpi-1.9a1r30302/opal/mca/db/hash/db_hash.c:
> 354)
> PGC-W-0095-Type cast required for this conversion
> (/scratch/scratchdirs/hargrove/OMPI/openmpi-trunk-linux-x86_64-pgi-13.10/openmpi-1.9a1r30302/opal/mca/db/hash/db_hash.c:
> 376)
> PGC-W-0095-Type cast required for this conversion
> (/scratch/scratchdirs/hargrove/OMPI/openmpi-trunk-linux-x86_64-pgi-13.10/openmpi-1.9a1r30302/opal/mca/db/hash/db_hash.c:
> 452)
> PGC-W-0095-Type cast required for this conversion
> (/scratch/scratchdirs/hargrove/OMPI/openmpi-trunk-linux-x86_64-pgi-13.10/openmpi-1.9a1r30302/opal/mca/db/hash/db_hash.c:
> 534)
>
> PGC-W-0095-Type cast required for this conversion
> (/scratch/scratchdirs/hargrove/OMPI/openmpi-trunk-linux-x86_64-pgi-13.10/openmpi-1.9a1r30302/orte/mca/state/base/state_base_fns.c:
> 766)
>
> PGC-W-0095-Type cast required for this conversion
> (/scratch/scratchdirs/hargrove/OMPI/openmpi-trunk-linux-x86_64-pgi-13.10/openmpi-1.9a1r30302/orte/mca/plm/rsh/plm_rsh_component.c:
> 368)
>
> PGC-W-0095-Type cast required for this conversion
> (/scratch/scratchdirs/hargrove/OMPI/openmpi-trunk-linux-x86_64-pgi-13.10/openmpi-1.9a1r30302/orte/mca/plm/rsh/plm_rsh_module.c:
> 1337)
>
> I believe all of these are related to passing a (const char *) to
> OPAL_OUTPUT_VERBOSE().
>
> -Paul
>
>
> --
> Paul H. Hargrove PHHargrove_at_[hidden]
> Future Technologies Group
> Computer and Data Sciences Department Tel: +1-510-495-2352
> Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>
>
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>

-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
Computer and Data Sciences Department     Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900