Compile warnings

Torbjörn Granlund tg at gmplib.org
Sun Feb 7 09:06:36 UTC 2016


"Junges, Sebastian" <sebastian.junges at cs.rwth-aachen.de> writes:

  I’m fully aware that compilation time warnings are not the same as
  bugs, however, I still would like to draw your attention to the
  following three warnings I get during compilation of files including
  gmp.h.

Your examples look like expanded macros from some unknown location.  If
you think there is a bug in the GMP sources, please analyse it and
explain what you think it wrong, and *where* the problem is.

One warning is about semantically reduntant parenthesis.  Such things
happen in macro expansions.  It is quite silly of the compiler to warn
about that.

  They prevent simple usage of -Werror.
  
Pleasing LLVM wrt its warnings is a never ending task, as they invent
ever stranger warnings for each release.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list