Edgar -- can you have a look?

On Oct 24, 2014, at 12:04 PM, Ralph Castain <r...@open-mpi.org> wrote:

> I’m not sure who owns that framework, but I’m seeing this warning:
> 
> sharedfp_sm_file_open.c: In function 'mca_sharedfp_sm_file_open':
> sharedfp_sm_file_open.c:159:5: warning: 'sem_init' is deprecated (declared at 
> /usr/include/sys/semaphore.h:55) [-Wdeprecated-declarations]
>      if(sem_init(&sm_offset_ptr->mutex, 1, 1) != -1){
>      ^
> sharedfp_sm_file_open.c: In function 'mca_sharedfp_sm_file_close':
> sharedfp_sm_file_open.c:214:13: warning: 'sem_destroy' is deprecated 
> (declared at /usr/include/sys/semaphore.h:53) [-Wdeprecated-declarations]
>              sem_destroy(&file_data->sm_offset_ptr->mutex);
>              ^
> 
> 
> This is with gcc (MacPorts gcc49 4.9.1_0) 4.9.1
> Ralph
> 
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
> Link to this post: 
> http://www.open-mpi.org/community/lists/devel/2014/10/16088.php


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to