Package: reiser4progs
Version: 1.0.6-1
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 reiser4progs_1.0.6-1 on em64t by sbuild/amd64 0.53
...
>  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include 
> -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DENABLE_SYMLINKS -DENABLE_SPECIAL 
> -DENABLE_R5_HASH -DENABLE_FNV1_HASH -DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH 
> -DENABLE_DEG_HASH -DENABLE_LARGE_KEYS -DENABLE_SHORT_KEYS 
> -DENABLE_DOT_O_FIBRE -DENABLE_EXT_1_FIBRE -DENABLE_EXT_3_FIBRE 
> -DENABLE_LEXIC_FIBRE -O3 -Wall -g -O2 -W -Wall -Wuninitialized 
> -Wno-unused-parameter -Wredundant-decls -MT libnode40_static_la-node40.lo -MD 
> -MP -MF .deps/libnode40_static_la-node40.Tpo -c node40.c -o 
> libnode40_static_la-node40.o
> node40.c:999:6: error: #elif with no expression
> make[5]: *** [libnode40_static_la-node40.lo] Error 1
> make[5]: Leaving directory `/build/tbm/reiser4progs-1.0.6/plugin/node/node40'
> make[4]: *** [all-recursive] Error 1

--- plugin/node/node40/node40.c~        2008-11-07 16:00:45.000000000 +0000
+++ plugin/node/node40/node40.c 2008-11-07 16:00:49.000000000 +0000
@@ -996,7 +996,7 @@
        func = cb_comp_key3;
 #elif defined(ENABLE_LARGE_KEYS)
        func = cb_comp_key4;
-#elif
+#else
        func = NULL;
 #endif
        

-- 
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