GCC warnings about enumerator lists in gcrypt.h

Heiko Stamer stamer at flower.theory.informatik.uni-kassel.de
Mon Nov 8 21:35:31 CET 2004


Hello libgrypt-team,

during portage of a software (which uses libgcrypt-1.2) to Darwin 7.5.0/powerpc
the following warnings of 'gcc 3.3 (Apple Computer, Inc. build 1666)' occured:

        gcrypt.h:729 comma at end of enumerator list
        gcrypt.h:947 comma at end of enumerator list
        gcrypt.h:955 comma at end of enumerator list

The following patch fixes the above inaccuracies.

728c728
<     GCRY_CIPHER_RFC2268_128 = 308,  /* Ron's Cipher 2 (128 bit). */
---
>     GCRY_CIPHER_RFC2268_128 = 308   /* Ron's Cipher 2 (128 bit). */
946c946
<     GCRY_AC_ELG_E = 16,
--- 
>     GCRY_AC_ELG_E = 16
954c954
<     GCRY_AC_KEY_PUBLIC,
---
>     GCRY_AC_KEY_PUBLIC

Hope this helps,
Best regards.
-- 
Heiko Stamer <stamer at theory.informatik.uni-kassel.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: not available
Url : /pipermail/attachments/20041108/1748b4a8/attachment.bin


More information about the Gcrypt-devel mailing list