A minor change to ROMIO's configure script: make it use exactly the
same "restrict" check as the top-level OMPI configure.ac script so that it will guarantee to always get the same result. Therefore, the #define for restrict will always have the same value in both opal_config.h and romioconf.h, and we get 7 less warnings (6 in the IO ROMIO component, 1 in ROMIO itself) when compiling with icc on Linux (because PAC_C_RESTRICT and AC_C_RESTRICT would get different values for the "restrict" #define in this case). This commit was SVN r14387.
Этот коммит содержится в:
родитель
e3178fd39f
Коммит
82caceda08
@ -1987,7 +1987,12 @@ else
|
||||
F77MPIOINC="include 'mpiof.h'"
|
||||
fi
|
||||
|
||||
PAC_C_RESTRICT
|
||||
# Open MPI: use the exact same restrict test that we use in the
|
||||
# upper-level Open MPI configure script so that we always get the same
|
||||
# #define for "restrict" (there are a small number of files that will
|
||||
# end up including both ROMIO's romioconf.h and opal_config.h, so we
|
||||
# need to #defines to agree).
|
||||
AC_C_RESTRICT
|
||||
PAC_C_GNU_ATTRIBUTE
|
||||
#
|
||||
dnl CFLAGS="$CFLAGS $DEFS"
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user