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 07:21:44


On Jul 15, 2010, at 2:14 AM, nadia.derbey wrote:

> The only warning I'm getting in the part of the code impacted by the
> patch is:
> ---------------------
> ../../../../../ompi/mca/btl/openib/btl_openib_async.c(322): warning
> #188: enumerated type mixed with another type
> event_type ^= IBV_XRC_QP_EVENT_FLAG;
> ---------------------

Ya, that's the one.

Is there any way to get rid of that @!#@#$ warning? I'm not sure what it's complaining about -- event_type and IBV_XRC_QP_EVENT_FLAG are the same type, no?

Specifically: I think your patch is good. But it would be good to not introduce yet another / fix all these intel compiler warnings about mixing ints and enums.

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