[Scribus] widget error
bart at solozone.com
bart
Thu Oct 21 01:46:06 CEST 2004
Towards the end of an apparently successful compile is the ERROR
bart at solozone.com, THUS:
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libart-2.0 -I/usr/include/fre
etype2 -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REEN
TRANT -O2 -fno-exceptions -fno-check-new -MT movepage.o -MD -MP -MF ".deps/mov
epage.Tpo" \
-c -o movepage.o `test -f 'movepage.cpp' || echo './'`movepage.cpp; \
then mv -f ".deps/movepage.Tpo" ".deps/movepage.Po"; \
else rm -f ".deps/movepage.Tpo"; exit 1; \
fi
movepage.cpp:1: error: parse error before `/' token
movepage.cpp:1: error: parse error before `#' token
In file included from movepage.moc:11,
from movepage.cpp:2:
movepage.h:1: error: parse error before `#' token
In file included from /usr/lib/qt3/include/qobjectdefs.h:42,
from /usr/lib/qt3/include/qwindowdefs.h:43,
from /usr/lib/qt3/include/qwidget.h:42,
from /usr/lib/qt3/include/qdialog.h:42,
from movepage.h:4,
from movepage.moc:11,
from movepage.cpp:2:
/usr/lib/qt3/include/qglobal.h:614: error: syntax error before `*' token
In file included from /usr/lib/qt3/include/qstring.h:42,
from /usr/lib/qt3/include/qwindowdefs.h:44,
from /usr/lib/qt3/include/qwidget.h:42,
from /usr/lib/qt3/include/qdialog.h:42,
from movepage.h:4,
from movepage.moc:11,
from movepage.cpp:2:
/usr/lib/qt3/include/qcstring.h:120: error: parse error before `*' token
/usr/lib/qt3/include/qcstring.h:121: error: parse error before `*' token
/usr/lib/qt3/include/qcstring.h: In function `QByteArray qCompress(const
QByteArray&)':
/usr/lib/qt3/include/qcstring.h:123: error: parse error before `*' token
/usr/lib/qt3/include/qcstring.h: In function `QByteArray qUncompress(const
QByteArray&)':
/usr/lib/qt3/include/qcstring.h:125: error: parse error before `*' token
In file included from /usr/lib/qt3/include/qwindowdefs.h:44,
from /usr/lib/qt3/include/qwidget.h:42,
from /usr/lib/qt3/include/qdialog.h:42,
from movepage.h:4,
from movepage.moc:11,
from movepage.cpp:2:
/usr/lib/qt3/include/qstring.h: At global scope:
/usr/lib/qt3/include/qstring.h:77: error: parse error before `c'
/usr/lib/qt3/include/qstring.h:78: error: parse error before `c'
/usr/lib/qt3/include/qstring.h:217: error: parse error before `)' token
/usr/lib/qt3/include/qstring.h: In member function `char QChar::latin1() const
':
/usr/lib/qt3/include/qstring.h:194: error: `ucs' undeclared (first use this
function)
/usr/lib/qt3/include/qstring.h:194: error: (Each undeclared identifier is
reported only once for each function it appears in.)
/usr/lib/qt3/include/qstring.h: At global scope:
/usr/lib/qt3/include/qstring.h:218: error: ISO C++ forbids defining types
within return type
/usr/lib/qt3/include/qstring.h:218: error: syntax error before `(' token
/usr/lib/qt3/include/qstring.h:219: error: `uchar' was not declared in this
scope
/usr/lib/qt3/include/qstring.h:219: error: parse error before `)' token
/usr/lib/qt3/include/qstring.h: In function `void setCell(...)':
/usr/lib/qt3/include/qstring.h:219: error: `cell' undeclared (first use this
function)
/usr/lib/qt3/include/qstring.h: At global scope:
/usr/lib/qt3/include/qstring.h:220: error: `uchar' was not declared in this
scope
/usr/lib/qt3/include/qstring.h:220: error: parse error before `)' token
/usr/lib/qt3/include/qstring.h: In function `void setRow(...)':
/usr/lib/qt3/include/qstring.h:220: error: `row' undeclared (first use this
function)
/usr/lib/qt3/include/qstring.h: At global scope:
/usr/lib/qt3/include/qstring.h:229: error: friend declaration not in class
definition
/usr/lib/qt3/include/qstring.h:230: error: friend declaration not in class
definition
/usr/lib/qt3/include/qstring.h:231: error: friend declaration not in class
definition
/usr/lib/qt3/include/qstring.h:232: error: friend declaration not in class
definition
/usr/lib/qt3/include/qstring.h:233: error: friend declaration not in class
definition
/usr/lib/qt3/include/qstring.h:234: error: friend declaration not in class
definition
/usr/lib/qt3/include/qstring.h:235: error: friend declaration not in class
definition
/usr/lib/qt3/include/qstring.h:236: error: friend declaration not in class
definition
/usr/lib/qt3/include/qstring.h:237: error: friend declaration not in class
definition
/usr/lib/qt3/include/qstring.h:239: error: parse error before `private'
/usr/lib/qt3/include/qstring.h: In constructor `QChar::QChar()':
/usr/lib/qt3/include/qstring.h:246: error: class `QChar' does not have any
field named `ucs'
/usr/lib/qt3/include/qstring.h: In constructor `QChar::QChar(char)':
/usr/lib/qt3/include/qstring.h:252: error: class `QChar' does not have any
field named `ucs'
/usr/lib/qt3/include/qstring.h:252: error: `uchar' undeclared (first use this
function)
/usr/lib/qt3/include/qstring.h:252: error: parse error before `)' token
/usr/lib/qt3/include/qstring.h: At global scope:
/usr/lib/qt3/include/qstring.h:258: error: parse error before `c'
/usr/lib/qt3/include/qstring.h:264: error: parse error before `c'
/usr/lib/qt3/include/qstring.h: In copy constructor `QChar::QChar(const QChar&)
':
/usr/lib/qt3/include/qstring.h:270: error: class `QChar' does not have any
field named `ucs'
/usr/lib/qt3/include/qstring.h:270: error: 'const class QChar' has no member
named 'ucs'
/usr/lib/qt3/include/qstring.h: In constructor `QChar::QChar(short unsigned
int)':
/usr/lib/qt3/include/qstring.h:277: error: class `QChar' does not have any
field named `ucs'
/usr/lib/qt3/include/qstring.h: In constructor `QChar::QChar(short int)':
/usr/lib/qt3/include/qstring.h:283: error: class `QChar' does not have any
field named `ucs'
/usr/lib/qt3/include/qstring.h: In constructor `QChar::QChar(unsigned int)':
/usr/lib/qt3/include/qstring.h:289: error: class `QChar' does not have any
field named `ucs'
/usr/lib/qt3/include/qstring.h: In constructor `QChar::QChar(int)':
/usr/lib/qt3/include/qstring.h:295: error: class `QChar' does not have any
field named `ucs'
/usr/lib/qt3/include/qstring.h: In function `bool operator==(char, QChar)':
/usr/lib/qt3/include/qstring.h:304: error: parse error before `)' token
/usr/lib/qt3/include/qstring.h:304: error: 'class QChar' has no member named '
ucs'
/usr/lib/qt3/include/qstring.h: In function `bool operator==(QChar, char)':
/usr/lib/qt3/include/qstring.h:309: error: parse error before `)' token
/usr/lib/qt3/include/qstring.h:309: error: 'class QChar' has no member named '
ucs'
/usr/lib/qt3/include/qstring.h: In function `bool operator==(QChar, QChar)':
/usr/lib/qt3/include/qstring.h:314: error: 'class QChar' has no member named '
ucs'
/usr/lib/qt3/include/qstring.h:314: error: 'class QChar' has no member named '
ucs'
/usr/lib/qt3/include/qstring.h: In function `bool operator!=(QChar, QChar)':
/usr/lib/qt3/include/qstring.h:319: error: 'class QChar' has no member named '
ucs'
/usr/lib/qt3/include/qstring.h:319: error: 'class QChar' has no member named '
ucs'
/usr/lib/qt3/include/qstring.h: In function `bool operator!=(char, QChar)':
/usr/lib/qt3/include/qstring.h:324: error: parse error before `)' token
/usr/lib/qt3/include/qstring.h:324: error: 'class QChar' has no member named '
ucs'
/usr/lib/qt3/include/qstring.h: In function `bool operator!=(QChar, char)':
/usr/lib/qt3/include/qstring.h:329: error: parse error before `)' token
/usr/lib/qt3/include/qstring.h:329: error: 'class QChar' has no member named '
ucs'
/usr/lib/qt3/include/qstring.h: In function `bool operator<=(QChar, char)':
/usr/lib/qt3/include/qstring.h:334: error: 'class QChar' has no member named '
ucs'
/usr/lib/qt3/include/qstring.h:334: error: parse error before `)' token
/usr/lib/qt3/include/qstring.h: In function `bool operator<=(char, QChar)':
/usr/lib/qt3/include/qstring.h:339: error: parse error before `)' token
/usr/lib/qt3/include/qstring.h:339: error: 'class QChar' has no member named '
ucs'
/usr/lib/qt3/include/qstring.h: In function `bool operator<=(QChar, QChar)':
/usr/lib/qt3/include/qstring.h:344: error: 'class QChar' has no member named '
ucs'
/usr/lib/qt3/include/qstring.h:344: error: 'class QChar' has no member named '
ucs'
/usr/lib/qt3/include/qstring.h: At global scope:
/usr/lib/qt3/include/qstring.h:769: error: `uchar' was not declared in this
scope
/usr/lib/qt3/include/qstring.h:769: error: parse error before `)' token
/usr/lib/qt3/include/qstring.h:769: error: `QCharRef QCharRef::operator=(...)'
must take exactly one argument
/usr/lib/qt3/include/qstring.h:804: error: parse error before `)' token
/usr/lib/qt3/include/qstring.h: In member function `QCharRef
QCharRef::operator=(...)':
/usr/lib/qt3/include/qstring.h:769: error: `c' undeclared (first use this
function)
/usr/lib/qt3/include/qstring.h: At global scope:
/usr/lib/qt3/include/qstring.h:805: error: ISO C++ forbids defining types
within return type
/usr/lib/qt3/include/qstring.h:805: error: syntax error before `(' token
/usr/lib/qt3/include/qstring.h:809: error: semicolon missing after declaration
of `class QCharRef'
/usr/lib/qt3/include/qstring.h: In member function `int QString::at(QString*,
unsigned int)':
/usr/lib/qt3/include/qstring.h:809: error: cannot convert `QCharRef' to `int'
in return
/usr/lib/qt3/include/qstring.h: In member function `QCharRef
QString::operator[](int)':
/usr/lib/qt3/include/qstring.h:810: error: conversion from `QChar' to
non-scalar type `QCharRef' requested
In file included from /usr/lib/qt3/include/qtl.h:43,
from /usr/lib/qt3/include/qvaluelist.h:42,
from /usr/lib/qt3/include/qmap.h:46,
from /usr/lib/qt3/include/qmime.h:43,
from /usr/lib/qt3/include/qevent.h:45,
from /usr/lib/qt3/include/qobject.h:45,
from /usr/lib/qt3/include/qwidget.h:43,
from /usr/lib/qt3/include/qdialog.h:42,
from movepage.h:4,
from movepage.moc:11,
from movepage.cpp:2:
/usr/lib/qt3/include/qtextstream.h: At global scope:
/usr/lib/qt3/include/qtextstream.h:280: error: semicolon missing after
declaration of `class QChar'
In file included from /usr/lib/qt3/include/qobject.h:45,
from /usr/lib/qt3/include/qwidget.h:43,
from /usr/lib/qt3/include/qdialog.h:42,
from movepage.h:4,
from movepage.moc:11,
from movepage.cpp:2:
/usr/lib/qt3/include/qevent.h:295: error: 'uchar' is used as a type, but is not
defined as a type.
/usr/lib/qt3/include/qevent.h: In constructor `
QKeyEvent::QKeyEvent(QEvent::Type, int, int, int, const QString&, bool,
short unsigned int)':
/usr/lib/qt3/include/qevent.h:276: error: class `QKeyEvent' does not have any
field named `a'
/usr/lib/qt3/include/qevent.h:276: error: parse error before `;' token
/usr/lib/qt3/include/qevent.h: In member function `int QKeyEvent::ascii() const
':
/usr/lib/qt3/include/qevent.h:282: error: `a' undeclared (first use this
function)
In file included from /usr/lib/qt3/include/qpalette.h:43,
from /usr/lib/qt3/include/qwidget.h:45,
from /usr/lib/qt3/include/qdialog.h:42,
from movepage.h:4,
from movepage.moc:11,
from movepage.cpp:2:
/usr/lib/qt3/include/qcolor.h: At global scope:
/usr/lib/qt3/include/qcolor.h:161: error: 'uchar' is used as a type, but is not
defined as a type.
/usr/lib/qt3/include/qcolor.h:162: error: 'uchar' is used as a type, but is not
defined as a type.
/usr/lib/qt3/include/qcolor.h:163: error: 'uchar' is used as a type, but is not
defined as a type.
/usr/lib/qt3/include/qcolor.h:164: error: 'uchar' is used as a type, but is not
defined as a type.
/usr/lib/qt3/include/qcolor.h: In member function `bool QColor::isValid() const
':
/usr/lib/qt3/include/qcolor.h:201: error: 'const struct QColor::<anonymous
union>::D8' has no member named 'invalid'
In file included from /usr/lib/qt3/include/qwidget.h:49,
from /usr/lib/qt3/include/qdialog.h:42,
from movepage.h:4,
from movepage.moc:11,
from movepage.cpp:2:
/usr/lib/qt3/include/qsizepolicy.h: At global scope:
/usr/lib/qt3/include/qsizepolicy.h:74: error: type specifier omitted for
parameter `uchar'
/usr/lib/qt3/include/qsizepolicy.h:74: error: parse error before `,' token
/usr/lib/qt3/include/qsizepolicy.h:104: error: `uchar' was not declared in this
scope
/usr/lib/qt3/include/qsizepolicy.h:104: error: parse error before `)' token
/usr/lib/qt3/include/qsizepolicy.h:105: error: `uchar' was not declared in this
scope
/usr/lib/qt3/include/qsizepolicy.h:105: error: parse error before `)' token
/usr/lib/qt3/include/qsizepolicy.h: In member function `void
QSizePolicy::setHorStretch(...)':
/usr/lib/qt3/include/qsizepolicy.h:104: error: `sf' undeclared (first use this
function)
/usr/lib/qt3/include/qsizepolicy.h: At global scope:
/usr/lib/qt3/include/qsizepolicy.h:114: error: type specifier omitted for
parameter `uchar'
/usr/lib/qt3/include/qsizepolicy.h:114: error: parse error before `,' token
/usr/lib/qt3/include/qsizepolicy.h:117: error: `vers' was not declared in this
scope
/usr/lib/qt3/include/qsizepolicy.h:117: error: ISO C++ forbids declaration of `
setVerStretch' with no type
/usr/lib/qt3/include/qsizepolicy.h:117: error: `int QSizePolicy::setVerStretch'
is not a static member of `class QSizePolicy'
/usr/lib/qt3/include/qsizepolicy.h:118: error: parse error before `}' token
/usr/lib/qt3/include/qsizepolicy.h: In member function `void
QSizePolicy::transpose()':
/usr/lib/qt3/include/qsizepolicy.h:122: error: no matching function for call to
`QSizePolicy::QSizePolicy(QSizePolicy::SizeType, QSizePolicy::SizeType,
uint, uint, bool)'
/usr/lib/qt3/include/qsizepolicy.h:48: error: candidates are:
QSizePolicy::QSizePolicy(const QSizePolicy&)
/usr/lib/qt3/include/qsizepolicy.h:109: error:
QSizePolicy::QSizePolicy(int)
/usr/lib/qt3/include/qsizepolicy.h:73: error:
QSizePolicy::QSizePolicy(QSizePolicy::SizeType, QSizePolicy::SizeType, bool)
/usr/lib/qt3/include/qsizepolicy.h:70: error:
QSizePolicy::QSizePolicy()
In file included from /usr/lib/qt3/include/qdialog.h:42,
from movepage.h:4,
from movepage.moc:11,
from movepage.cpp:2:
/usr/lib/qt3/include/qwidget.h: In member function `virtual QMetaObject*
QSizePolicy::QWidget::metaObject() const':
/usr/lib/qt3/include/qwidget.h:62: error: parse error before `;' token
In file included from movepage.h:4,
from movepage.moc:11,
from movepage.cpp:2:
/usr/lib/qt3/include/qdialog.h: In member function `bool
QSizePolicy::QWidget::isInputMethodEnabled() const':
/usr/lib/qt3/include/qdialog.h:55: error: local class `class
QSizePolicy::QWidget::isInputMethodEnabled() const::QDialog' shall not have
static data member `QMetaObject*QSizePolicy::QWidget::isInputMethodEnabled()
const::QDialog::metaObj'
/usr/lib/qt3/include/qdialog.h:55: error: field `
QSizePolicy::QWidget::isInputMethodEnabled() const::QDialog::metaObj' in
local class cannot be static
/usr/lib/qt3/include/qdialog.h:135: confused by earlier errors, bailing out
make[3]: *** [movepage.o] Error 1
make[3]: Leaving directory `/home/bart/Scribus/scribus'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bart/Scribus/scribus'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bart/Scribus'
make: *** [all] Error 2
b
More information about the scribus
mailing list