[PATCH 4/5] Deal with c99 inline semantics.

Thomas Klausner tk at giga.or.at
Mon Nov 5 17:29:11 CET 2012


On Mon, Nov 05, 2012 at 08:30:18AM +0100, Werner Koch wrote:
> On Sat, 27 Oct 2012 19:56, tk at giga.or.at said:
> 
> > Needed for compilation with recent LLVM/Clang.
> 
> That might be anotherr clang bug; see
> http://rem.eifzilla.de/archives/2012/08/10/identify-theft-by-clang (IPv6
> only) for more comments.  If that is not the case, please explain why
> code working for more than a decade on dozens of OSes and compilers
> stops working with clang.

The difference between gcc and clang here is that clang by default
defines -std=gnu99. You probably will see the same problem when
compiling the code with GCC and that setting (see also
__GNUC_STDC_INLINE__).
 Thomas



More information about the Gnupg-devel mailing list