crash with transform tool - ramifications

Michael Thaler michael.thaler at ph.tum.de
Fri Jul 1 17:37:24 CEST 2005


On Friday 01 July 2005 15:54, Casper Boemann wrote:
> Hi
>
> The fix for no progress display I just commited crashes the transform tool.

I cannot compile Krita anymore. I get lots and lots of errors. Can you fix 
this?

Greetings,
Michael

kis_transform_visitor.cc:19: error: syntax error before `<<' token
In file included from /usr/share/qt3/include/qobjectdefs.h:42,
                 from /usr/share/qt3/include/qwindowdefs.h:43,
                 from /usr/share/qt3/include/qwmatrix.h:42,
                 from kis_transform_visitor.cc:20:
/usr/share/qt3/include/qglobal.h:612: error: syntax error before `*' token
In file included from /usr/share/qt3/include/qstring.h:42,
                 from /usr/share/qt3/include/qwindowdefs.h:44,
                 from /usr/share/qt3/include/qwmatrix.h:42,
                 from kis_transform_visitor.cc:20:
/usr/share/qt3/include/qcstring.h:120: error: syntax error before `*' token
/usr/share/qt3/include/qcstring.h:121: error: syntax error before `*' token
/usr/share/qt3/include/qcstring.h: In function `QByteArray qCompress(const
   QByteArray&)':
/usr/share/qt3/include/qcstring.h:123: error: syntax error before `*' token
/usr/share/qt3/include/qcstring.h:123: warning: no return statement in 
function
   returning non-void
/usr/share/qt3/include/qcstring.h: In function `QByteArray qUncompress(const
   QByteArray&)':
/usr/share/qt3/include/qcstring.h:125: error: syntax error before `*' token
/usr/share/qt3/include/qcstring.h:125: warning: no return statement in 
function
   returning non-void
In file included from /usr/share/qt3/include/qwindowdefs.h:44,
                 from /usr/share/qt3/include/qwmatrix.h:42,
                 from kis_transform_visitor.cc:20:
/usr/share/qt3/include/qstring.h: At global scope:
/usr/share/qt3/include/qstring.h:77: error: syntax error before `c'
/usr/share/qt3/include/qstring.h:78: error: syntax error before `c'
/usr/share/qt3/include/qstring.h:217: error: syntax error before `)' token
/usr/share/qt3/include/qstring.h: In member function `char QChar::latin1()
   const':
/usr/share/qt3/include/qstring.h:194: error: `ucs' undeclared (first use this
   function)
/usr/share/qt3/include/qstring.h:194: error: (Each undeclared identifier is
   reported only once for each function it appears in.)
/usr/share/qt3/include/qstring.h: At global scope:
/usr/share/qt3/include/qstring.h:218: error: ISO C++ forbids defining types
   within return type
/usr/share/qt3/include/qstring.h:218: error: syntax error before `(' token
/usr/share/qt3/include/qstring.h:219: error: `uchar' was not declared in this
   scope
/usr/share/qt3/include/qstring.h:219: error: syntax error before `)' token
/usr/share/qt3/include/qstring.h: In function `void setCell(...)':
/usr/share/qt3/include/qstring.h:219: error: `cell' undeclared (first use this
   function)
/usr/share/qt3/include/qstring.h: At global scope:
/usr/share/qt3/include/qstring.h:220: error: `uchar' was not declared in this
   scope
/usr/share/qt3/include/qstring.h:220: error: syntax error before `)' token
/usr/share/qt3/include/qstring.h: In function `void setRow(...)':
/usr/share/qt3/include/qstring.h:220: error: `row' undeclared (first use this
   function)
/usr/share/qt3/include/qstring.h: At global scope:
/usr/share/qt3/include/qstring.h:229: error: friend declaration not in class
   definition
/usr/share/qt3/include/qstring.h:230: error: friend declaration not in class
   definition
/usr/share/qt3/include/qstring.h:231: error: friend declaration not in class
   definition
/usr/share/qt3/include/qstring.h:232: error: friend declaration not in class
   definition
/usr/share/qt3/include/qstring.h:233: error: friend declaration not in class
   definition
/usr/share/qt3/include/qstring.h:234: error: friend declaration not in class
   definition
/usr/share/qt3/include/qstring.h:235: error: friend declaration not in class
   definition
/usr/share/qt3/include/qstring.h:236: error: friend declaration not in class
   definition
/usr/share/qt3/include/qstring.h:237: error: friend declaration not in class
   definition
/usr/share/qt3/include/qstring.h:239: error: syntax error before `private'
/usr/share/qt3/include/qstring.h: In constructor `QChar::QChar()':
/usr/share/qt3/include/qstring.h:246: error: class `QChar' does not have any
   field named `ucs'
/usr/share/qt3/include/qstring.h: In constructor `QChar::QChar(char)':
/usr/share/qt3/include/qstring.h:252: error: class `QChar' does not have any
   field named `ucs'
/usr/share/qt3/include/qstring.h:252: error: `uchar' undeclared (first use 
this
   function)
/usr/share/qt3/include/qstring.h:252: error: syntax error before `)' token
/usr/share/qt3/include/qstring.h: At global scope:
/usr/share/qt3/include/qstring.h:258: error: syntax error before `c'
/usr/share/qt3/include/qstring.h:264: error: syntax error before `c'
/usr/share/qt3/include/qstring.h: In copy constructor `QChar::QChar(const
   QChar&)':
/usr/share/qt3/include/qstring.h:270: error: class `QChar' does not have any
   field named `ucs'
/usr/share/qt3/include/qstring.h:270: error: 'const class QChar' has no member
   named 'ucs'
/usr/share/qt3/include/qstring.h: In constructor `QChar::QChar(short unsigned
   int)':
/usr/share/qt3/include/qstring.h:277: error: class `QChar' does not have any
   field named `ucs'
/usr/share/qt3/include/qstring.h: In constructor `QChar::QChar(short int)':
/usr/share/qt3/include/qstring.h:283: error: class `QChar' does not have any
   field named `ucs'
/usr/share/qt3/include/qstring.h: In constructor `QChar::QChar(unsigned int)':
/usr/share/qt3/include/qstring.h:289: error: class `QChar' does not have any
   field named `ucs'
/usr/share/qt3/include/qstring.h: In constructor `QChar::QChar(int)':
/usr/share/qt3/include/qstring.h:295: error: class `QChar' does not have any
   field named `ucs'
/usr/share/qt3/include/qstring.h: In function `bool operator==(char, QChar)':
/usr/share/qt3/include/qstring.h:304: error: syntax error before `)' token
/usr/share/qt3/include/qstring.h:304: error: 'class QChar' has no member named
   'ucs'
/usr/share/qt3/include/qstring.h: In function `bool operator==(QChar, char)':
/usr/share/qt3/include/qstring.h:309: error: syntax error before `)' token
/usr/share/qt3/include/qstring.h:309: error: 'class QChar' has no member named
   'ucs'
/usr/share/qt3/include/qstring.h: In function `bool operator==(QChar, QChar)':
/usr/share/qt3/include/qstring.h:314: error: 'class QChar' has no member named
   'ucs'
/usr/share/qt3/include/qstring.h:314: error: 'class QChar' has no member named
   'ucs'
/usr/share/qt3/include/qstring.h: In function `bool operator!=(QChar, QChar)':
/usr/share/qt3/include/qstring.h:319: error: 'class QChar' has no member named
   'ucs'
/usr/share/qt3/include/qstring.h:319: error: 'class QChar' has no member named
   'ucs'
/usr/share/qt3/include/qstring.h: In function `bool operator!=(char, QChar)':
/usr/share/qt3/include/qstring.h:324: error: syntax error before `)' token
/usr/share/qt3/include/qstring.h:324: error: 'class QChar' has no member named
   'ucs'
/usr/share/qt3/include/qstring.h: In function `bool operator!=(QChar, char)':
/usr/share/qt3/include/qstring.h:329: error: syntax error before `)' token
/usr/share/qt3/include/qstring.h:329: error: 'class QChar' has no member named
   'ucs'
/usr/share/qt3/include/qstring.h: In function `bool operator<=(QChar, char)':
/usr/share/qt3/include/qstring.h:334: error: 'class QChar' has no member named
   'ucs'
/usr/share/qt3/include/qstring.h:334: error: syntax error before `)' token
/usr/share/qt3/include/qstring.h: In function `bool operator<=(char, QChar)':
/usr/share/qt3/include/qstring.h:339: error: syntax error before `)' token
/usr/share/qt3/include/qstring.h:339: error: 'class QChar' has no member named
   'ucs'
/usr/share/qt3/include/qstring.h: In function `bool operator<=(QChar, QChar)':
/usr/share/qt3/include/qstring.h:344: error: 'class QChar' has no member named
   'ucs'
/usr/share/qt3/include/qstring.h:344: error: 'class QChar' has no member named
   'ucs'
/usr/share/qt3/include/qstring.h: At global scope:
/usr/share/qt3/include/qstring.h:769: error: `uchar' was not declared in this
   scope
/usr/share/qt3/include/qstring.h:769: error: syntax error before `)' token
/usr/share/qt3/include/qstring.h:769: error: `QCharRef 
QCharRef::operator=(...)
   ' must take exactly one argument
/usr/share/qt3/include/qstring.h:804: error: syntax error before `)' token
/usr/share/qt3/include/qstring.h: In member function `QCharRef
   QCharRef::operator=(...)':
/usr/share/qt3/include/qstring.h:769: error: `c' undeclared (first use this
   function)
/usr/share/qt3/include/qstring.h: At global scope:
/usr/share/qt3/include/qstring.h:805: error: ISO C++ forbids defining types
   within return type
/usr/share/qt3/include/qstring.h:805: error: syntax error before `(' token
/usr/share/qt3/include/qstring.h:809: error: semicolon missing after
   declaration of `class QCharRef'
/usr/share/qt3/include/qstring.h: In member function `int 
QString::at(QString*,
   unsigned int)':
/usr/share/qt3/include/qstring.h:809: error: cannot convert `QCharRef' to 
`int'
   in return
/usr/share/qt3/include/qstring.h: In member function `QCharRef
   QString::operator[](int)':
/usr/share/qt3/include/qstring.h:810: error: conversion from `QChar' to
   non-scalar type `QCharRef' requested
kis_transform_visitor.cc: At global scope:
kis_transform_visitor.cc:23: error: syntax error before `==' token
In file included from /usr/share/qt3/include/qtl.h:43,
                 from /usr/share/qt3/include/qvaluelist.h:42,
                 from /usr/share/qt3/include/qstringlist.h:42,
                 from /usr/share/qt3/include/qcolor.h:43,
                 from kis_paint_device.h:21,
                 from kis_transform_visitor.cc:28:
/usr/share/qt3/include/qtextstream.h:280: error: semicolon missing after
   declaration of `class QChar'
In file included from kis_paint_device.h:21,
                 from kis_transform_visitor.cc:28:
/usr/share/qt3/include/qcolor.h:161: error: 'uchar' is used as a type, but is
   not defined as a type.
/usr/share/qt3/include/qcolor.h:162: error: 'uchar' is used as a type, but is
   not defined as a type.
/usr/share/qt3/include/qcolor.h:163: error: 'uchar' is used as a type, but is
   not defined as a type.
/usr/share/qt3/include/qcolor.h:164: error: 'uchar' is used as a type, but is
   not defined as a type.
/usr/share/qt3/include/qcolor.h: In member function `bool QColor::isValid()
   const':
/usr/share/qt3/include/qcolor.h:201: error: 'const struct QColor::<anonymous
   union>::D8' has no member named 'invalid'
In file included from /usr/share/qt3/include/qobject.h:45,
                 from kis_paint_device.h:22,
                 from kis_transform_visitor.cc:28:
/usr/share/qt3/include/qevent.h: At global scope:
/usr/share/qt3/include/qevent.h:295: error: 'uchar' is used as a type, but is
   not defined as a type.
/usr/share/qt3/include/qevent.h: In constructor `
   QKeyEvent::QKeyEvent(QEvent::Type, int, int, int, const QString&, bool,
   short unsigned int)':
/usr/share/qt3/include/qevent.h:276: error: class `QKeyEvent' does not have 
any
   field named `a'
/usr/share/qt3/include/qevent.h:276: error: syntax error before `;' token
/usr/share/qt3/include/qevent.h: In member function `int QKeyEvent::ascii()
   const':
/usr/share/qt3/include/qevent.h:282: error: `a' undeclared (first use this
   function)
In file included from kis_paint_device.h:23,
                 from kis_transform_visitor.cc:28:
/usr/share/qt3/include/qpixmap.h: At global scope:
/usr/share/qt3/include/qpixmap.h:126: error: syntax error before `*' token
/usr/share/qt3/include/qpixmap.h:129: error: syntax error before `*' token
/usr/share/qt3/include/qpixmap.h:131: error: `bool QPixmap::loadFromData(...)'
   and `bool QPixmap::loadFromData(...)' cannot be overloaded
/usr/share/qt3/include/qpixmap.h:180: error: syntax error before `*' token
/usr/share/qt3/include/qpixmap.h:344: error: type specifier omitted for
   parameter `uchar'
/usr/share/qt3/include/qpixmap.h:344: error: syntax error before `*' token
In file included from /usr/share/qt3/include/qwidget.h:49,
                 from ../ui/kis_guide.h:28,
                 from kis_image.h:31,
                 from kis_paint_device.h:31,
                 from kis_transform_visitor.cc:28:
/usr/share/qt3/include/qsizepolicy.h:74: error: type specifier omitted for
   parameter `uchar'
/usr/share/qt3/include/qsizepolicy.h:74: error: syntax error before `,' token
/usr/share/qt3/include/qsizepolicy.h:104: error: `uchar' was not declared in
   this scope
/usr/share/qt3/include/qsizepolicy.h:104: error: syntax error before `)' token
/usr/share/qt3/include/qsizepolicy.h:105: error: `uchar' was not declared in
   this scope
/usr/share/qt3/include/qsizepolicy.h:105: error: syntax error before `)' token
/usr/share/qt3/include/qsizepolicy.h: In member function `void
   QSizePolicy::setHorStretch(...)':
/usr/share/qt3/include/qsizepolicy.h:104: error: `sf' undeclared (first use
   this function)
/usr/share/qt3/include/qsizepolicy.h: At global scope:
/usr/share/qt3/include/qsizepolicy.h:114: error: type specifier omitted for
   parameter `uchar'
/usr/share/qt3/include/qsizepolicy.h:114: error: syntax error before `,' token
/usr/share/qt3/include/qsizepolicy.h:117: error: `vers' was not declared in
   this scope
/usr/share/qt3/include/qsizepolicy.h:117: error: ISO C++ forbids declaration 
of
   `setVerStretch' with no type
/usr/share/qt3/include/qsizepolicy.h:117: error: `int
   QSizePolicy::setVerStretch' is not a static member of `class QSizePolicy'
/usr/share/qt3/include/qsizepolicy.h:118: error: syntax error before `}' token
/usr/share/qt3/include/qsizepolicy.h: In member function `void
   QSizePolicy::transpose()':
/usr/share/qt3/include/qsizepolicy.h:122: error: no matching function for call
   to `QSizePolicy::QSizePolicy(QSizePolicy::SizeType, QSizePolicy::SizeType,
   uint, uint, bool)'
/usr/share/qt3/include/qsizepolicy.h:48: error: candidates are:
   QSizePolicy::QSizePolicy(const QSizePolicy&)
/usr/share/qt3/include/qsizepolicy.h:109: error:
   QSizePolicy::QSizePolicy(int)
/usr/share/qt3/include/qsizepolicy.h:73: error:
   QSizePolicy::QSizePolicy(QSizePolicy::SizeType, QSizePolicy::SizeType, 
bool)
/usr/share/qt3/include/qsizepolicy.h:70: error:
   QSizePolicy::QSizePolicy()
In file included from ../ui/kis_guide.h:28,
                 from kis_image.h:31,
                 from kis_paint_device.h:31,
                 from kis_transform_visitor.cc:28:
/usr/share/qt3/include/qwidget.h: In member function `virtual QMetaObject*
   QSizePolicy::QWidget::metaObject() const':
/usr/share/qt3/include/qwidget.h:62: error: syntax error before `;' token
../ui/kis_guide.h:46: confused by earlier errors, bailing out
make[4]: *** [kis_transform_visitor.lo] Fehler 1
make[4]: Leaving directory `/usr/local/src/kde/koffice/krita/core'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/usr/local/src/kde/koffice/krita/core'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/local/src/kde/koffice/krita'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/local/src/kde/koffice'


More information about the kimageshop mailing list