Hi,
I was having a look at libgcrypt source code. I found what could be a
bug, or maybe something meant to. I'd just like to report it:
#if _GCRY_GCC_VERSION >= 300200
#define _GCRY_GCC_ATTR_MALLOC __attribute__ ((__malloc__))
#endif
since _GCRY_GCC_VERSION is computed using:
#define _GCRY_GCC_VERSION (__GNUC__ * 10000 \
+ __GNUC_MINOR__ * 100 \
+ __GNUC_PATCHLEVEL__)
It will never be greater than 300200, maybe you meant 30200, or maybe
the code is there but attribute __malloc__ is not used yet?
Bye!
_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
I was having a look at libgcrypt source code. I found what could be a
bug, or maybe something meant to. I'd just like to report it:
#if _GCRY_GCC_VERSION >= 300200
#define _GCRY_GCC_ATTR_MALLOC __attribute__ ((__malloc__))
#endif
since _GCRY_GCC_VERSION is computed using:
#define _GCRY_GCC_VERSION (__GNUC__ * 10000 \
+ __GNUC_MINOR__ * 100 \
+ __GNUC_PATCHLEVEL__)
It will never be greater than 300200, maybe you meant 30200, or maybe
the code is there but attribute __malloc__ is not used yet?
Bye!
_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel