Skip to content

Commit dfbaf23

Browse files
authored
Merge pull request #7210 from MaskRay/mpi_fortran_argv_null_
Fix Fortran st_size fields of mpi_fortran_argv_null_, mpi_fortran_weights_empty_, mpi_fortran_unweighted_, mpi_fortran_errcodes_ignore_, and mpi_fortran_argvs_null_
2 parents 48c04cd + 5609268 commit dfbaf23

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

ompi/mpi/fortran/base/gen-mpi-mangling.pl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Copyright (c) 2015 Research Organization for Information Science
44
# and Technology (RIST). All rights reserved.
5-
# Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
5+
# Copyright (c) 2015-2020 Cisco Systems, Inc. All rights reserved.
66
# $COPYRIGHT$
77
#
88
# Subroutine to generate a bunch of Fortran declarations and symbols
@@ -62,33 +62,33 @@
6262
f_name => "MPI_IN_PLACE",
6363
};
6464
$fortran->{unweighted} = {
65-
c_type => "int *",
65+
c_type => "int",
6666
c_name => "mpi_fortran_unweighted",
67-
f_type => "integer",
67+
f_type => "integer, dimension(1)",
6868
f_name => "MPI_UNWEIGHTED",
6969
};
7070
$fortran->{weights_empty} = {
71-
c_type => "int *",
71+
c_type => "int",
7272
c_name => "mpi_fortran_weights_empty",
73-
f_type => "integer",
73+
f_type => "integer, dimension(1)",
7474
f_name => "MPI_WEIGHTS_EMPTY",
7575
};
7676

7777
$fortran->{argv_null} = {
78-
c_type => "char *",
78+
c_type => "char",
7979
c_name => "mpi_fortran_argv_null",
8080
f_type => "character, dimension(1)",
8181
f_name => "MPI_ARGV_NULL",
8282
};
8383
$fortran->{argvs_null} = {
84-
c_type => "char *",
84+
c_type => "char",
8585
c_name => "mpi_fortran_argvs_null",
8686
f_type => "character, dimension(1, 1)",
8787
f_name => "MPI_ARGVS_NULL",
8888
};
8989

9090
$fortran->{errcodes_ignore} = {
91-
c_type => "int *",
91+
c_type => "int",
9292
c_name => "mpi_fortran_errcodes_ignore",
9393
f_type => "integer, dimension(1)",
9494
f_name => "MPI_ERRCODES_IGNORE",

0 commit comments

Comments
 (0)