What is it? What repository?
понедельник, 18 июля 2016 г. пользователь Ralph Castain написал:
> In file included from
> *../../../../oshmem/shmem/fortran/prototypes_shmem.h:14:0*,
> from *../../../../oshmem/shmem/fortran/bindings.h:15*,
> from *pshmem_put_f.c:13*:
> *pshmem_put_f.c:* In function ‘*shmem_put_f*’:
> *../../../../oshmem/shmem/fortran/shmem_fortran_pointer.h:15:28:* *warning:
> *passing argument 2 of ‘*mca_spml.spml_put*’ makes integer from pointer
> without a cast [*-Wint-conversion*]
> #define FPTR_2_VOID_PTR(a) *(*(void *)(a))
> *^*
> *../../../../oshmem/mca/spml/spml.h:329:44:* *note: *in expansion of
> macro ‘*FPTR_2_VOID_PTR*’
> #define MCA_SPML_CALL(a) mca_spml.spml_ ## *a*
> *^*
> *pshmem_put_f.c:36:5:* *note: *in expansion of macro ‘*MCA_SPML_CALL*’
> *MCA_SPML_CALL*(put(FPTR_2_VOID_PTR(target),
> *^~~~~~~~~~~~~*
> *../../../../oshmem/shmem/fortran/shmem_fortran_pointer.h:15:28:* *note:
> *expected
> ‘*size_t {aka long unsigned int}*’ but argument is of type ‘*void **’
> #define FPTR_2_VOID_PTR(a) *(*(void *)(a))
> *^*
> *../../../../oshmem/mca/spml/spml.h:329:44:* *note: *in expansion of
> macro ‘*FPTR_2_VOID_PTR*’
> #define MCA_SPML_CALL(a) mca_spml.spml_ ## *a*
> *^*
> *pshmem_put_f.c:36:5:* *note: *in expansion of macro ‘*MCA_SPML_CALL*’
> *MCA_SPML_CALL*(put(FPTR_2_VOID_PTR(target),
> *^~~~~~~~~~~~~*
> In file included from *../../../../oshmem/shmem/fortran/bindings.h:16:0*,
> from *pshmem_put_f.c:13*:
> *pshmem_put_f.c:38:25:* *warning: *passing argument 3 of ‘
> *mca_spml.spml_put*’ makes pointer from integer without a cast [
> *-Wint-conversion*]
> OMPI_FINT_2_INT(***length),
> *^*
> *../../../../ompi/mpi/fortran/base/fint_2_int.h:41:30:* *note: *in
> definition of macro ‘*OMPI_FINT_2_INT*’
> #define OMPI_FINT_2_INT(a) *a*
> *^*
> *pshmem_put_f.c:36:5:* *note: *in expansion of macro ‘*MCA_SPML_CALL*’
> *MCA_SPML_CALL*(put(FPTR_2_VOID_PTR(target),
> *^~~~~~~~~~~~~*
> *pshmem_put_f.c:38:25:* *note: *expected ‘*void **’ but argument is of
> type ‘*int*’
> OMPI_FINT_2_INT(***length),
> *^*
> *../../../../ompi/mpi/fortran/base/fint_2_int.h:41:30:* *note: *in
> definition of macro ‘*OMPI_FINT_2_INT*’
> #define OMPI_FINT_2_INT(a) *a*
> *^*
> *pshmem_put_f.c:36:5:* *note: *in expansion of macro ‘*MCA_SPML_CALL*’
> *MCA_SPML_CALL*(put(FPTR_2_VOID_PTR(target),
>
>
>
>
--
-----
Best regards, Artem Polyakov
(Mobile mail)