Fixes trac:2366: dragonboy noticed that the PGI compiler is picky about
#if directives -- had to change a pair of #if conditionals in opal/util/stacktrace.c to make the PGI compiler accept it. This commit was SVN r22923. The following Trac tickets were found above: Ticket 2366 --> https://svn.open-mpi.org/trac/ompi/ticket/2366
Этот коммит содержится в:
родитель
c57a8fba5a
Коммит
8a85c4617f
@ -266,8 +266,12 @@ static void show_stackframe (int signo, siginfo_t * info, void * p)
|
|||||||
case SI_KERNEL: si_code_str = "Kernel signal"; break;
|
case SI_KERNEL: si_code_str = "Kernel signal"; break;
|
||||||
#endif
|
#endif
|
||||||
/* Dragonfly defines SI_USER and SI_UNDEFINED both as zero: */
|
/* Dragonfly defines SI_USER and SI_UNDEFINED both as zero: */
|
||||||
#if defined(SI_UNDEFINED) && (SI_UNDEFINED != SI_USER)
|
/* For some reason, the PGI compiler will not let us combine these two
|
||||||
|
#if tests into a single statement. Sigh. */
|
||||||
|
#if defined(SI_UNDEFINED)
|
||||||
|
#if SI_UNDEFINED != SI_USER
|
||||||
case SI_UNDEFINED: si_code_str = "Undefined code"; break;
|
case SI_UNDEFINED: si_code_str = "Undefined code"; break;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user