The output of the copy function is a logical, not an int. So we need
to use the appropriate macro for all the Fortran .TRUE. handling, or things get misinterpeted and, with some compilers, it will look like the attribute wasn't copied properly. This commit was SVN r9536.
Этот коммит содержится в:
родитель
0ba8851a47
Коммит
f6bbe033f0
@ -308,7 +308,7 @@
|
|||||||
} \
|
} \
|
||||||
out_attr->av_value = (void*) 0; \
|
out_attr->av_value = (void*) 0; \
|
||||||
*out_attr->av_integer_pointer = out; \
|
*out_attr->av_integer_pointer = out; \
|
||||||
flag = OMPI_FINT_2_INT(f_flag); \
|
flag = OMPI_LOGICAL_2_INT(f_flag); \
|
||||||
} \
|
} \
|
||||||
/* MPI-2 Fortran-style */ \
|
/* MPI-2 Fortran-style */ \
|
||||||
else { \
|
else { \
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user