Package: hercules Version: 3.06-1 User: debian-...@lists.debian.org 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 hercules_3.06-1 on em64t by sbuild/amd64 0.53 ... > gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./decNumber -O2 -W -Wall -O2 -MT > hsccmd.lo -MD -MP -MF .deps/hsccmd.Tpo -c hsccmd.c -fPIC -DPIC -o > .libs/hsccmd.o > hsccmd.c: In function 'test_thread': > hsccmd.c:326: warning: unused parameter 'parg' > hsccmd.c: In function 'automount_cmd': > hsccmd.c:1360: warning: unused variable 'was_empty' > hsccmd.c:1465: warning: unused variable 'was_empty' > hsccmd.c:1320: warning: unused parameter 'cmdline' > hsccmd.c:7679:23: error: #elif with no expression > make[3]: *** [hsccmd.lo] Error 1 > make[3]: Leaving directory `/build/tbm/hercules-3.06' > make[2]: *** [all-recursive] Error 1 --- hsccmd.c~ 2009-01-27 14:27:07.000000000 +0000 +++ hsccmd.c 2009-01-27 14:27:33.000000000 +0000 @@ -7676,7 +7676,7 @@ break; } } -#elif // OPTION_CMDTGT +#else // OPTION_CMDTGT #ifdef _FEATURE_SYSTEM_CONSOLE if ('.' == cmd[0] || '!' == cmd[0]) { -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org