Package: paketto
Version: 1.10-7
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

GCC 4.4 will introduce better checks in the preprocessor.  The problem
is pretty obvious: you're using a #elif without any condition when
you really want a #else.

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of paketto_1.10-7 on em64t by sbuild/amd64 0.53
...
> bits.c:141: warning: 'ID_TAG' defined but not used
> gcc -O6 -Wall -Wsign-compare -c -I./ -I./zlib/ -funroll-loops 
> -fomit-frame-pointer   -c -o yarrow.o yarrow.c
> yarrow.c:37:6: error: #elif with no expression
> make[1]: *** [yarrow.o] Error 1

--- libtomcrypt/yarrow.c~       2008-11-07 15:40:07.000000000 +0000
+++ libtomcrypt/yarrow.c        2008-11-07 15:40:12.000000000 +0000
@@ -34,7 +34,7 @@
    prng->yarrow.cipher = register_cipher(&rc2_desc);
 #elif defined(DES)
    prng->yarrow.cipher = register_cipher(&des3_desc);
-#elif
+#else
    #error YARROW needs at least one CIPHER
 #endif
    if (prng_is_valid(prng->yarrow.cipher) == CRYPT_ERROR) {

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to