This warning has been bugging me in MTT nightly runs for forever: make
the char string ident in the C++ library be non-static so that other places can see it. This makes the C++ library version string analogous to all the other version strings. This commit was SVN r18679.
Этот коммит содержится в:
родитель
571f483c39
Коммит
a884eebdf1
@ -10,7 +10,7 @@
|
|||||||
// University of Stuttgart. All rights reserved.
|
// University of Stuttgart. All rights reserved.
|
||||||
// Copyright (c) 2004-2005 The Regents of the University of California.
|
// Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
|
// Copyright (c) 2007-2008 Cisco Systems, Inc. All rights reserved.
|
||||||
// Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
|
// Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
|
||||||
// $COPYRIGHT$
|
// $COPYRIGHT$
|
||||||
//
|
//
|
||||||
@ -32,9 +32,8 @@ static const int ompi_stdio_seek_end = SEEK_END;
|
|||||||
#pragma ident OMPI_IDENT_STRING
|
#pragma ident OMPI_IDENT_STRING
|
||||||
#elif OMPI_CXX_USE_IDENT
|
#elif OMPI_CXX_USE_IDENT
|
||||||
#ident OMPI_IDENT_STRING
|
#ident OMPI_IDENT_STRING
|
||||||
#else
|
|
||||||
static const char ident[] = OMPI_IDENT_STRING;
|
|
||||||
#endif
|
#endif
|
||||||
|
const char ompi_libcxx_version_string[] = OMPI_IDENT_STRING;
|
||||||
|
|
||||||
#include "ompi/errhandler/errhandler.h"
|
#include "ompi/errhandler/errhandler.h"
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user