krb5 1.11.3: variadic-macros issue with NetBSD 5.1

Julien ÉLIE julien at trigofacile.com
Thu Aug 29 15:17:06 EDT 2013


Hi,

Building krb5 1.11.3 fails on NetBSD 5.1 with the following error:

/home/iulius/autobuild/bin/gcc-4.8.1/bin/gcc  -fPIC -DSHARED   -I../../../include -I../../../include -I. -I./../builtin -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE  -g -O2 -Wall -Wcast-align -Wshadow -Wmissing-prototypes -pedantic -Wno-format-zero-length -Woverflow -Wstrict-overflow -Wmissing-format-attribute -Wmissing-prototypes -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wunknown-pragmas -Wsign-compare -Werror=uninitialized -Werror=declaration-after-statement -Werror=variadic-macros -Werror-implicit-function-declaration -pthread -c aead.c -o aead.so.o && mv -f aead.so.o aead.so
In file included from ../../../include/k5-int.h:185:0,
                 from crypto_int.h:33,
                 from aead.c:27:
../../../include/k5-trace.h:93:20: error: anonymous variadic macros were introduced in C99 [-Werror=variadic-macros]
 #define TRACE(ctx, ...)                                        \
                    ^
cc1: some warnings being treated as errors
make[3]: *** [aead.so] Error 1



Would it be possible to fix the issue for the next krb5 release?
(Maybe by not using the gcc "-Werror=variadic-macros" flag?)

Thanks beforehand,

-- 
Julien ÉLIE

« Et puis, toi tu penses, moi je suis. » (Mot de passe)


More information about the Kerberos mailing list