Package: vym
Version: 1.8.1-3
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).

Apologies for filing yet another bug.  I thought the header clean-ups
were done but then some more changes happened.  I hope it's really
over now.

You can reproduce this problem with gcc-snapshot (20070422-1 or higher)
from unstable. (Currently not available for i386, but for amd64 and
and ia64.  I hope to have i386 binaries in the archive in the near
future.)

> Automatic build of vym_1.8.1-3 on em64t by sbuild/amd64 0.53
...
> xml.cpp: In member function 'virtual bool 
> mapBuilderHandler::startElement(const QString&, const QString&, const 
> QString&, const QXmlAttributes&)':
> xml.cpp:140: error: must #include <typeinfo> before using typeid
> xml.cpp:140: error: must #include <typeinfo> before using typeid
> xml.cpp:141: error: must #include <typeinfo> before using typeid
> xml.cpp:141: error: must #include <typeinfo> before using typeid
> xml.cpp:192: error: must #include <typeinfo> before using typeid
> xml.cpp:192: error: must #include <typeinfo> before using typeid
> xml.cpp:193: error: must #include <typeinfo> before using typeid
> xml.cpp:193: error: must #include <typeinfo> before using typeid
> xml.cpp: In member function 'bool mapBuilderHandler::readXLinkAttr(const 
> QXmlAttributes&)':
> xml.cpp:630: error: must #include <typeinfo> before using typeid
> xml.cpp:630: error: must #include <typeinfo> before using typeid
> xml.cpp:634: error: must #include <typeinfo> before using typeid
> xml.cpp:634: error: must #include <typeinfo> before using typeid
> make[1]: *** [xml.o] Error 1
> make[1]: Leaving directory `/build/tbm/vym-1.8.1'

--- xml.cpp~    2007-04-26 17:00:10.000000000 +0000
+++ xml.cpp     2007-04-26 17:00:18.000000000 +0000
@@ -4,6 +4,7 @@
 #include <qcolor.h>
 #include <qstylesheet.h>
 #include <iostream>
+#include <typeinfo>
 
 #include "misc.h"
 #include "settings.h"
--- editxlinkdialog.ui.h~       2007-04-26 17:01:04.000000000 +0000
+++ editxlinkdialog.ui.h        2007-04-26 17:01:12.000000000 +0000
@@ -6,6 +6,9 @@
 ** init() function in place of a constructor, and a destroy() function in
 ** place of a destructor.
 *****************************************************************************/
+
+#include <typeinfo>
+
 void EditXLinkDialog::init()
 {
        delink=false;

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