Skip to content

PRRTE build failure with GCC 14.2.1 on Fedora 40 #12881

@dalcinl

Description

@dalcinl

This is with ompi@main

../../../../../ompi-main/3rd-party/prrte/src/prted/pmix/pmix_server_queries.c: In function '_query':
../../../../../ompi-main/3rd-party/prrte/src/prted/pmix/pmix_server_queries.c:837:71: error: passing argument 5 of 'PMIx_Get' from incompatible pointer type [-Wincompatible-pointer-types]
  837 |                 ret = PMIx_Get(&pproc, PMIX_MEM_ALLOC_KIND, &info, 1, (void**)&value);
      |                                                                       ^~~~~~~~~~~~~~
      |                                                                       |
      |                                                                       void **
In file included from /home/dalcinl/Devel/REPOS/ompi-main/3rd-party/openpmix/src/util/pmix_error.h:26,
                 from /home/dalcinl/Devel/REPOS/ompi-main/3rd-party/prrte/src/pmix/pmix-internal.h:32,
                 from ../../../../../ompi-main/3rd-party/prrte/src/prted/pmix/pmix_server_queries.c:40:
/home/dalcinl/Devel/REPOS/ompi-main/3rd-party/openpmix/include/pmix.h:208:51: note: expected 'pmix_value_t **' {aka 'struct pmix_value **'} but argument is of type 'void **'
  208 |                                    pmix_value_t **val);
      |                                    ~~~~~~~~~~~~~~~^~~

cc @rhc54

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions