[mpich-discuss] [PATCH] config: change PAC_FUNC_NEEDS_DECL to check by assignment

Pavan Balaji balaji at mcs.anl.gov
Sat May 18 15:25:31 CDT 2013


On 05/18/2013 03:23 PM US Central Time, Pavan Balaji wrote:
> 
> On 05/18/2013 01:32 PM US Central Time, Jed Brown wrote:
>> Pavan Balaji <balaji at mcs.anl.gov> writes:
>>
>>> Last time I tried it, it didn't work in some cases.  I'll need to go
>>> back and look.
>>
>> Okay, then maybe there is a reason to use my version:
>>
>>   void (*fptr)(void) = (void(*)(void))the_function_symbol;
>>
>> Let me know what you find out because our tests had the same issue and
>> I'd like to resolve it in the most robust way possible.
> 
> My testing so far seems to work fine with this patch.  I'm going to push
> this in for now.  This will anyway go through a more thorough round of
> testing before the next release.  If we find an issue at that point, we
> can come back to this discussion.

http://git.mpich.org/mpich.git/commitdiff/76b46a77

 -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji



More information about the discuss mailing list