Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: amd64/-current doesn't compile with clang



On Sat, Nov 30, 2013 at 11:15:35AM +1100, Matthew Green wrote:
> 
> 
> > --- toom53_mul.o ---
> > /archive/foreign/src/external/lgpl3/gmp/lib/libgmp/../../dist/mpn/generic/toom53_mul.c:102:52:
> >  error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
> >   flags = (enum toom7_flags) (flags | toom7_w1_neg & mpn_toom_eval_pm2 
> > (as2, asm2, 4, ap, n, s, gp));
> >                                     ~ 
> > ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > /archive/foreign/src/external/lgpl3/gmp/lib/libgmp/../../dist/mpn/generic/toom53_mul.c:102:52:
> >  note: place parentheses around the '&' expression to silence this warning
> 
> off hand, these warnings look like real bugs but i don't really
> know the answer for sure.  can you ask upstream about them?

Ok, done.
 Thomas


Home | Main Index | Thread Index | Old Index