Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] PATCH: Wrong event_type value passed in to show_help when getting xrc async events
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-07-15 08:21:24


On Jul 15, 2010, at 8:22 AM, nadia.derbey wrote:

> So the solution is:
> 1. leave the intermediate event_type declared as an int.
> 2. then:
> . either cast it to ibv_event_type when calling
> openib_event_to_str()
> . or declare openib_event_to_str as accepting an int instead of an
> ibv_event_type.

Shouldn't we be keeping everything the same / native type as much as possible?

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/