- Value pointed to is not modified (file-name / FILE-macro),
getting rid of compiler-warning when compiled with trunk of g++: when doing --enable-debug: ../../../../orte/class/orte_pointer_array.h:128: warning: deprecated conversion from string constant to 'char*' This commit was SVN r16656.
Этот коммит содержится в:
родитель
005652c9d4
Коммит
9045c5a6f1
@ -60,7 +60,7 @@ struct opal_mutex_t {
|
||||
|
||||
#if !OMPI_HAVE_THREAD_SUPPORT && OMPI_ENABLE_DEBUG
|
||||
int m_lock_debug;
|
||||
char *m_lock_file;
|
||||
const char *m_lock_file;
|
||||
int m_lock_line;
|
||||
#endif
|
||||
|
||||
|
@ -42,7 +42,7 @@ struct opal_mutex_t {
|
||||
|
||||
#if !OMPI_HAVE_THREAD_SUPPORT && OMPI_ENABLE_DEBUG
|
||||
int m_lock_debug;
|
||||
char *m_lock_file;
|
||||
const char *m_lock_file;
|
||||
int m_lock_line;
|
||||
#endif
|
||||
};
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user