[PATCH 5/6] Add LSan annotation to ignore a memory leak

Werner Koch wk at gnupg.org
Thu Jul 23 14:35:47 CEST 2015


On Wed, 22 Jul 2015 21:40, peter at lekensteyn.nl said:

> LSan is also supported by the Clang compiler, how would adding __GNUC__
> make the definition more portable?

Although I do not like that but Clang also defined __GNUC__.  Thus
__GNUC__ is sufficient to enable the annotation for those tow while it
won't be enabled for other compilers.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gcrypt-devel mailing list