yet another strange message from LLVM/Clang on FreeBSD 13 i686

Torbjörn Granlund tg at
Mon Aug 24 08:46:29 UTC 2020

Hans Åberg <haberg-1 at> writes:

  Clang has a pedagogical approach, intended to make it easy for newbies
  which have not bothered learning C/C++, and breaks the rule to not
  issue diagnostics for perfectly legal code unless called for.

  - - -

  For your case, you might add
  #pragma clang diagnostic ignored "-Wkeyword-macro"

Modifying the code of a non-trivial project in order to placate clang is
a wild goose chase; with every release, the subset of the language C
clang accepts gets smaller.

Please encrypt, key id 0xC8601622

More information about the gmp-discuss mailing list