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

Reply via email to