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
jsquy...@cisco.com

Reply via email to