- Ewww, r20817 messed up PGI on Jaguar big time!
Now, while #include "ompi_config.h" is good and fine in order to have OMPI_DECLSPEC, here it led to stdint.h (with the uint8_t) being included early but INSIDE a namespace "MPI" {}. Of course it was included anymore (thinkg #define _STDINT_H), when it was required in opal/class/opal_hash_list.h NOT good. - opal/class/opal_object.h: Yeah, one can have nested extern "C" {} but it's not necessary. Instead just have the outer *_C_DECLS. This commit was SVN r20837. The following SVN revision numbers were found above: r20817 --> open-mpi/ompi@6f808d9b05
Этот коммит содержится в:
родитель
353e489be8
Коммит
a3c3babe01
@ -18,8 +18,6 @@
|
||||
// $HEADER$
|
||||
//
|
||||
|
||||
#include "ompi_config.h"
|
||||
|
||||
// return codes
|
||||
static const int SUCCESS = MPI_SUCCESS;
|
||||
static const int ERR_BUFFER = MPI_ERR_BUFFER;
|
||||
|
@ -378,8 +378,6 @@ do { \
|
||||
} while (0)
|
||||
#endif
|
||||
|
||||
BEGIN_C_DECLS
|
||||
|
||||
OPAL_DECLSPEC OBJ_CLASS_DECLARATION(opal_object_t);
|
||||
|
||||
/* declarations *******************************************************/
|
||||
@ -405,7 +403,6 @@ OPAL_DECLSPEC void opal_class_initialize(opal_class_t *);
|
||||
*/
|
||||
OPAL_DECLSPEC int opal_class_finalize(void);
|
||||
|
||||
END_C_DECLS
|
||||
/**
|
||||
* Run the hierarchy of class constructors for this object, in a
|
||||
* parent-first order.
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user