Re: [OMPI users] [OMPI devel] Error message improvement

2009-09-09 Thread George Bosilca
__func__ is what you should use. We take care of having it defined in _all_ cases. If the compiler doesn't support it we define it manually (to __FUNCTION__ or to __FILE__ in the worst case), so it is always available (even if it doesn't contain what one might expect such in the case of __F

Re: [OMPI users] [OMPI devel] Error message improvement

2009-09-09 Thread Lenny Verkhovsky
Hi All, does C99 complient compiler is something unusual or is there a policy among OMPI developers/users that prevent me f rom using __func__ instead of hardcoded strings in the code ? Thanks. Lenny. On Wed, Sep 9, 2009 at 1:48 PM, Nysal Jan wrote: > __FUNCTION__ is not portable. > __func__ is