Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] hwloc and c89/c99
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2013-05-06 02:25:51

I think we removed C99 use (and configure check) from the code in 1.2
because some compilers didn't properly support it.

Le 06/05/2013 03:14, Pavan Balaji a écrit :
> Is hwloc supposed to support c89 only (no c99)? I remember having this
> discussion earlier and the hwloc developers said that hwloc assumes c99.
> At that point we ensured that there was a configure check for c99
> support and hwloc was disabled if c99 support was not found (by failing
> in HWLOC_SETUP_CORE). I don't see such a check in the current code.
> Was this accidentally dropped at some point?
> When we build mpich with c89 support, it is entering hwloc and failing
> to build. Before I go tracking this, I want to make sure I'm not
> missing something more straightforward.
> Thanks,
> -- Pavan