-
Notifications
You must be signed in to change notification settings - Fork 929
Closed
Labels
Description
When I compile OMPI master with icc 19.04, I get the following warning on nearly every file:
CC opal_datatype_resize.lo
In file included from ../../../opal/include/opal/sys/atomic.h(64),
from ../../../opal/mca/threads/thread_usage.h(32),
from ../../../opal/class/opal_object.h(126),
from ../../../opal/datatype/opal_datatype.h(44),
from ../../../opal/datatype/opal_convertor.h(35),
from ../../../opal/datatype/opal_convertor_internal.h(21),
from ../../../opal/datatype/opal_datatype_pack.c(28):
../../../opal/include/opal/sys/atomic_stdc.h(119): warning #2330: argument of type "opal_atomic_int32_t={_Atomic(int32_t={int})} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
OPAL_ATOMIC_STDC_DEFINE_FETCH_OP(add, 32, int32_t, +)
^
The atomic code is a bit dense to try to figure out -- can someone who is knowledgeable about the atomic code dig into this?