Skip to content

Compiling with external hwloc results in many warnings #5524

Closed
@jsquyres

Description

@jsquyres

After #5395 and #5466, if you compile with an external hwloc, there are many warnings:

/home/jsquyres/bogus/include/hwloc/autogen/config.h:214:1: warning: "HWLOC_SYM_TRANSFORM" redefined
In file included from error.c:26:
../../opal/include/opal_config.h:1394:1: warning: this is the location of the previous definition
In file included from /home/jsquyres/bogus/include/hwloc.h:56,
                 from ../../opal/mca/hwloc/external/external.h:24,
                 from ../../opal/mca/hwloc/hwloc-internal.h:131,
                 from ../../opal/util/proc.h:22,
                 from error.c:36:
/home/jsquyres/bogus/include/hwloc/autogen/config.h:217:1: warning: "HWLOC_SYM_PREFIX" redefined
In file included from error.c:26:
../../opal/include/opal_config.h:1388:1: warning: this is the location of the previous definition
In file included from /home/jsquyres/bogus/include/hwloc.h:56,
                 from ../../opal/mca/hwloc/external/external.h:24,
                 from ../../opal/mca/hwloc/hwloc-internal.h:131,
                 from ../../opal/util/proc.h:22,
                 from error.c:36:
/home/jsquyres/bogus/include/hwloc/autogen/config.h:220:1: warning: "HWLOC_SYM_PREFIX_CAPS" redefined
In file included from error.c:26:
../../opal/include/opal_config.h:1391:1: warning: this is the location of the previous definition
  CC       info.lo
In file included from /home/jsquyres/bogus/include/hwloc.h:56,
                 from ../../opal/mca/hwloc/external/external.h:24,
                 from ../../opal/mca/hwloc/hwloc-internal.h:131,
                 from proc.h:22,
                 from proc.c:19:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions