In gcrypt.h from version 1.4.0 of libgcrypt, the gcry_ac_em_t and
gcry_ac_scheme_t enumerations have a comma at the end of their enumeration lists.
In the FreeBSD 5.5 system version of gcc, this prints a warning (or an error,
with g++) if the -pedantic flag is passed:
$ gcc -pedantic -I /usr/local/include -c foo.c
In file included from foo.c:1:
/usr/local/include/gcrypt.h:1238: warning: comma at end of enumerator list
/usr/local/include/gcrypt.h:1246: warning: comma at end of enumerator list
$ g++ -pedantic -I /usr/local/include -c foo.c
In file included from foo.c:1:
/usr/local/include/gcrypt.h:1238: error: comma at end of enumerator list
/usr/local/include/gcrypt.h:1246: error: comma at end of enumerator list
This breaks the build of the ccrtp package, which is written in C++, uses
libgcrypt, and builds with -ansi -pedantic by default.