Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] Warnings in hwloc-1.4.1
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2012-03-31 02:48:25


Le 31/03/2012 04:06, Pavan Balaji a écrit :
> Hi all,
>
> The hwloc code seems to shadow some previously defined variables.
> These warnings show up when configured with CFLAGS=-Wshadow with gcc.
> Here's a patch to fix these warnings:
>
> https://trac.mcs.anl.gov/projects/mpich2/changeset/9656
>
> -- Pavan
>

I even get more of these in utils/ because of the "index" gcc builtin.
We should remember to test this cflags periodically.
Thanks
Brice