Package: netdiag Version: 1.0-11 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 netdiag_1.0-11 on em64t by sbuild/amd64 0.53 ... > gcc -Wall -g -O2 -Wall -I. -DHAVE_CONFIG_H -pthread -c events.c > gcc -Wall -g -O2 -Wall -I. -DHAVE_CONFIG_H -pthread -c session.c > session.c:43:6: error: #elif with no expression > make[1]: *** [session.o] Error 1 > make[1]: Leaving directory `/build/tbm/netdiag-1.0/trafshow-5.2.3' --- trafshow-5.2.3/session.c~ 2008-11-07 15:49:42.000000000 +0000 +++ trafshow-5.2.3/session.c 2008-11-07 15:49:48.000000000 +0000 @@ -40,7 +40,7 @@ #define ASYNC_MODE FNDELAY #elif O_ASYNC #define ASYNC_MODE O_ASYNC -#elif +#else #error the fcntl argument to turn ON/OFF non-blocking I/O is unknown #endif -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

