Mailing List Archive

GCC warnings about enumerator lists in gcrypt.h
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@theory.informatik.uni-kassel.de>
Re: GCC warnings about enumerator lists in gcrypt.h [ In reply to ]
On Mon, 8 Nov 2004 21:35:31 +0100, Heiko Stamer said:

> 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

Thank. Fixed in CVS.

Werner