Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] [OMPI svn] svn:open-mpi r22014
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-10-01 06:33:29

On Sep 30, 2009, at 7:46 PM, George Bosilca wrote:

> In other words, we can safely remove the _DECLSPEC for all debugging
> symbols and today this will work. However, if we want to avoid having
> issues with them in the future (when the compiler and linked will be
> much much much more smarter) I think it's wiser to keep them there.

Why? MPIR_Breakpoint, by not being static, *must* be visible outside
of that .o file so that it can be used elsewhere in libmpi (and
therefore that symbol cannot be optimized out). DECLSPEC just means
that it's *also* visible *outside* of libmpi.

Jeff Squyres