Package: wesnoth
Version: 1:1.4.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.

--- src/network_worker.cpp~     2008-11-16 18:36:35.000000000 +0000
+++ src/network_worker.cpp      2008-11-16 18:36:40.000000000 +0000
@@ -237,7 +237,7 @@
                                        retval = 
select(((_TCPsocket*)s)->channel + 1, &readfds, NULL, NULL, &tv);
                                } while(retval == -1 && errno == EINTR);
 
-#elif
+#else
                                SDL_Delay(5);
 #endif
                        } else {

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