+1
looks good.

On Wed, Apr 16, 2014 at 4:35 PM, Åke Sandgren <ake.sandg...@hpc2n.umu.se>wrote:

> On 04/16/2014 02:25 PM, Åke Sandgren wrote:
>
>> Hi!
>>
>> Found this problem when building r31409 with Pathscale 5.0
>>
>> pshmem_barrier.c:81:6: error: redeclaration of 'pshmem_barrier_all' must
>> have the 'overloadable' attribute
>> void shmem_barrier_all(void)
>>       ^
>> ../../../../oshmem/shmem/c/profile/defines.h:193:37: note: expanded from
>> macro 'shmem_barrier_all'
>> #define shmem_barrier_all           pshmem_barrier_all
>>                                      ^
>> pshmem_barrier.c:78:14: note: previous overload of function is here
>> #pragma weak shmem_barrier_all = pshmem_barrier_all
>>               ^
>> ../../../../oshmem/shmem/c/profile/defines.h:193:37: note: expanded from
>> macro 'shmem_barrier_all'
>> #define shmem_barrier_all           pshmem_barrier_all
>>                                      ^
>> pragma weak and define clashing...
>>
>
>
> Suggested patch attached (actually there where two similar cases...)
>
>
>
> --
> Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
> Internet: a...@hpc2n.umu.se   Phone: +46 90 7866134 Fax: +46 90-580 14
> Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

Reply via email to