- revert commit 11632
- Real fix for pgi compilers and missing asprintf declaration. The problem was that C++ headers has been included before "ompi_config.h". This lead to the problem that "stdio.h" has been source without _GNU_SOURCE. This commit was SVN r11649.
Этот коммит содержится в:
родитель
a8e9fa09da
Коммит
09e0d9d0d9
@ -16,12 +16,12 @@
|
||||
// $HEADER$
|
||||
//
|
||||
|
||||
#include "ompi_config.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
#include "ompi_config.h"
|
||||
|
||||
#if HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
@ -158,7 +158,7 @@ void ompi_info::show_mca_params(const string& type, const string& component,
|
||||
}
|
||||
} else {
|
||||
mca_base_param_lookup_int(p->mbpp_index, &value_int);
|
||||
opal_asprintf(&value_string, "%d", value_int);
|
||||
asprintf(&value_string, "%d", value_int);
|
||||
}
|
||||
content = value_string;
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user