Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] Compile warning
From: Pavan Balaji (balaji_at_[hidden])
Date: 2012-07-17 09:55:10


On 07/17/2012 08:35 AM, Brice Goglin wrote:
>> https://trac.mcs.anl.gov/projects/mpich2/changeset/10012
>
> What kind of warning is this?
> Does your pci_lookup_name() in pci/pci.h return a const char * instead
> of a char * ?

You are assigning it to "??" on line 468. You could alternatively just
typecast that one line, but this seems to be cleaner as you are not
really editing that string anywhere.

  -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji