Re: [OMPI devel] BML/R2 error

2016-07-03 Thread Nathan Hjelm
Its correct as written. the && takes precidence over the || and the statement gets evaluated in the order i intended. i will add the parentheses to quiet the warning when i get a chance > On Jul 3, 2016, at 9:01 AM, Ralph Castain wrote: > > I agree with the compiler - I

[OMPI devel] BML/R2 error

2016-07-03 Thread Ralph Castain
I agree with the compiler - I can’t figure out exactly what was meant here either: bml_r2.c: In function ‘mca_bml_r2_endpoint_add_btl’: bml_r2.c:271:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if ((btl_in_use && (btl_flags & MCA_BTL_FLAGS_RDMA) ||