Thanks for the report. It's been fixed in svn and will appear in next release. Cheers, Zhang Le
On 26/04/07, Martin Michlmayr <[EMAIL PROTECTED]> wrote: > Package: zhcon > Version: 1:0.2.6-4.1 > Usertags: ftbfs-gcc-4.3 > Tags: patch > > Your package fails to build with GCC 4.3. Version 4.3 has not been > released yet but I'm building with a snapshot in order to find errors > and give people an advance warning. In GCC 4.3, the C++ header > dependencies have been cleaned up. The advantage of this is that > programs will compile faster. The downside is that you actually > need to directly #include everything you use (but you really should > do this anyway, otherwise your program won't work with any compiler > other than GCC). Some background of this can be found at > http://gcc.gnu.org/PR28080 > > You can reproduce this problem with gcc-snapshot (20070326-1 or higher) > from unstable. (Currently not available for i386, but for amd64, powerpc > and ia64. I hope to have i386 binaries in the archive in the near > future.) > > > Automatic build of zhcon_1:0.2.6-4.1 on coconut0 by sbuild/ia64 0.49 > ... > > if g++ -DHAVE_CONFIG_H -I. -I. -I.. -funsigned-char -O2 -DNDEBUG -Wall > > -MT overspotclient.o -MD -MP -MF ".deps/overspotclient.Tpo" -c -o > > overspotclient.o overspotclient.cpp; \ > > then mv -f ".deps/overspotclient.Tpo" ".deps/overspotclient.Po"; else > > rm -f ".deps/overspotclient.Tpo"; exit 1; fi > > In file included from zhcon.h:43, > > from overspotclient.cpp:25: > > inputmanager.h:92: error: 'fd_set' does not name a type > > make[4]: *** [overspotclient.o] Error 1 > > --- src/inputmanager.h~ 2007-04-26 06:42:37.000000000 +0000 > +++ src/inputmanager.h 2007-04-26 06:42:46.000000000 +0000 > @@ -26,6 +26,7 @@ > using namespace std; > #include <cassert> > #include <vector> > +#include <sys/types.h> > > #include "mouse.h" > #if defined(__FreeBSD__) > --- src/inputclient.cpp~ 2007-04-26 06:43:12.000000000 +0000 > +++ src/inputclient.cpp 2007-04-26 06:43:28.000000000 +0000 > @@ -16,6 +16,8 @@ > * * > ***************************************************************************/ > > +#include <cstdlib> > + > #include "inputclient.h" > > Console* InputClient::mpCon = NULL; > > -- > Martin Michlmayr > http://www.cyrius.com/ > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]