Ralph,

I don't see these warnings on my fedora box with gcc 5.1.1.
I will try to fix it, but it would be helpful to understand how to reproduce 
these warnings.

Thanks,
Pavel (Pasha) Shamis
---
Computer Science Research Group
Computer Science and Math Division
Oak Ridge National Laboratory

On Sep 6, 2015, at 7:20 PM, Ralph Castain 
<r...@open-mpi.org<mailto:r...@open-mpi.org>> wrote:

Just saw these this afternoon:

coll_ml_hier_algorithms.c: In function 'ml_coll_schedule_setup':
coll_ml_hier_algorithms.c:180:13: warning: passing argument 13 of 
'opal_free_list_init' from incompatible pointer type [enabled by default]
             );
             ^
In file included from ../../../../ompi/request/request.h:35:0,
                 from ../../../../ompi/mca/coll/coll.h:72,
                 from ../../../../ompi/mca/coll/ml/coll_ml.h:27,
                 from coll_ml_hier_algorithms.c:15:
../../../../opal/class/opal_free_list.h:127:19: note: expected 
'opal_free_list_item_init_fn_t' but argument is of type 'void (*)(struct 
opal_free_list_item_t *, void *)'
 OPAL_DECLSPEC int opal_free_list_init (opal_free_list_t *free_list,
                   ^
coll_ml_module.c: In function 'init_lists':
coll_ml_module.c:2622:31: warning: passing argument 13 of 'opal_free_list_init' 
from incompatible pointer type [enabled by default]
                               init_ml_message_desc, ml_module);
                               ^
In file included from ../../../../ompi/communicator/comm_request.h:16:0,
                 from ../../../../ompi/communicator/communicator.h:35,
                 from coll_ml_module.c:32:
../../../../opal/class/opal_free_list.h:127:19: note: expected 
'opal_free_list_item_init_fn_t' but argument is of type 'void (*)(struct 
opal_free_list_item_t *, void *)'
 OPAL_DECLSPEC int opal_free_list_init (opal_free_list_t *free_list,
                   ^
coll_ml_module.c:2640:32: warning: passing argument 13 of 'opal_free_list_init' 
from incompatible pointer type [enabled by default]
                                init_ml_fragment_desc, ml_module);
                                ^
In file included from ../../../../ompi/communicator/comm_request.h:16:0,
                 from ../../../../ompi/communicator/communicator.h:35,
                 from coll_ml_module.c:32:
../../../../opal/class/opal_free_list.h:127:19: note: expected 
'opal_free_list_item_init_fn_t' but argument is of type 'void (*)(struct 
opal_free_list_item_t *, void *)'
 OPAL_DECLSPEC int opal_free_list_init (opal_free_list_t *free_list,



_______________________________________________
devel mailing list
de...@open-mpi.org<mailto: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/2015/09/17977.php

Reply via email to