gnome-extra/evolution-data-server-1.12.3 contains two files with code that does not conform to ISO C. If CFLAGS includes ‘-pedantic’, the build breaks due to arrays being declared in the code without a length specifier, and later being initialized with a static initializer. I am going to attach a patch which fixes the problems.
Created attachment 158369 [details, diff] Patch to allow gnome-extra/evolution-data-server-1.12.3 to be compiled with ‘-pedantic’ in CFLAGS This patch fixes a problem in static code, and a script which auto-generates C code. Part of this patch applies to libical-0.24, which is present in the evolution-data-server tree; it is possible that the same problem also appears in stand-alone versions of libical. Perhaps this should be forwarded upstream as well. This patch seems to be rather large, but this is only due to moving big parts of the code around, in order to fix dependencies. In addition to moving the arrays, the patch adds function prototypes (the functions are referenced in the arrays). The code generation script and its input file are modified a bit to allow the code to be inserted somewhere in the middle of the file, and not only at the end.
I just had a very brief look at the source code for libical-0.31 <URL:http://easyinstall.citadel.org/libical-0.31.tar.gz>, and I’d say that the problem also applies to that library in that version. Perhaps you have some time to verify this, Michele? Thanks.
Seriously, "-pedantic" will break a *lot* of code. We can't possibly maintain such patches here. If you really need ISO C code (for what reason?), then you need to file a bug in upstream's BTS so that they can apply your patch there. http://bugzilla.gnome.org/ is where you should submit the patch. Thanks