Package: flamerobin
Version: 0.9.0-2
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 flamerobin_0.9.0-2 on em64t by sbuild/amd64 0.53
...
> /build/tbm/flamerobin-0.9.0/bk-deps x86_64-linux-gnu-g++ -c -o
> flamerobin_PreferencesDialog.o -I.pch/flamerobin -DHAVE_FRCONFIG_H
> -DIBPP_LINUX -I. -I./src -I./src/ibpp -I./res
> -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -DWX_PRECOMP -g
> -O2 ./src/gui/PreferencesDialog.cpp
> ./src/gui/PreferencesDialog.cpp:88:6: error: #elif with no expression
> make[1]: *** [flamerobin_PreferencesDialog.o] Error 1
> make[1]: Leaving directory `/build/tbm/flamerobin-0.9.0'
> make: *** [build-stamp] Error 2
--- src/gui/PreferencesDialog.cpp~ 2008-11-07 16:12:29.000000000 +0000
+++ src/gui/PreferencesDialog.cpp 2008-11-07 16:12:33.000000000 +0000
@@ -85,7 +85,7 @@
return wxT("mac");
#elif defined(__UNIX__)
return wxT("unix");
-#elif
+#else
return wxT("undefined");
#endif
}
(flamerobin doesn't compile for me for other reasons, so I cannot
check if this patch is complete.)
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]