On Apr 6, 2015, at 3:07 PM, Ralph Castain <r...@open-mpi.org> wrote: > >> - Don't use inline functions with Clang compiler >> >> Without motivation/explanation that sounds like a bad thing. > > Some versions of clang (at least >= 3.5 -- perhaps older versions, too?) will > warn about -finline-functions, but still allow it. This is very annoying, so > check for that warning, too.
I know I'm (super) late to this thread, but just to clarify, this NEWS bullet got changed to: - Fix warnings about -finline-functions when compiling with clang. The issue is that clang would warn about using the -finline-functions options, but it wouldn't error out, so our initial configure tests would think that the compiler allowed it. What we did was actually tighten up the configure test to be able to detect that clang doesn't allow this switch. This doesn't prevent clang from using inline functions; it just stops us from using a command line switch that clang doesn't like (and therefore prevents clang from warning about it for *every* *single* *file* that it compiles when building OMPI). Hope that helps explain... -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/