Your message with subj: Bug#33002: Cannot compile lib/formulacursor.cc, unknown problem On Vendredi 28 Septembre 2001 00:04, Aaron Williams wrote: > I found the problem. It looks like in my trying to work around the > problem I inadvertantly deleted #include . I think this was > from grabbing the latest CVS snapshot of the file. I think the root > cause of my original problem was a bad CPLUS_INCLUDE_PATH. It is now > compiling. I believe the bug can be closed. I'm sorry if I wasted your > time. Thanks for your help. Closing. -- David FAURE, david@mandrakesoft.com, faure@kde.org http://perso.mandrakesoft.com/~david/ , http://www.konqueror.org/ KDE, Making The Future of Computing Available Today has caused the attached bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I'm talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Stephan Kulow (administrator, KDE bugs database) Received: (at submit) by bugs.kde.org; 27 Sep 2001 02:58:34 +0000 Received: (qmail 6303 invoked by uid 33); 27 Sep 2001 02:58:34 -0000 Date: 27 Sep 2001 02:58:34 -0000 Message-ID: <20010927025834.6302.qmail@master.kde.org> To: submit@bugs.kde.org Subject: Cannot compile lib/formulacursor.cc, unknown problem From: aaronw@net.com Package: koffice Version: KDE 2.2.1 Severity: normal Installed from: Compiled From Sources Compiler: gcc 2.95.3 OS: Solaris OS/Compiler notes: Sun Ultrasparc, Solaris 2.7 Here is the output when attempting to compile: Note that I have successfully compiled KDE 2.2.1 for Solaris with the same setup. c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/kofficeui -I../../lib/kofficeui -I../../lib/kofficecore -I../../lib/kofficecore -I../../lib/store -I../../lib/store -I../../lib/kwmf -I../../lib/kwmf -I/tools/kde/2.2/Solaris7/include -I/tools/qt/qt-2.3.1/include -I/tools/qt/share/include -fno-builtin -Wnon-virtual-dtor -Wno-long-long -g -O2 -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -c formulacursor.cc -fPIC -DPIC -o .libs/formulacursor.o In file included from /home/aaronw/gnu/include/g++/iostream.h:31, from /home/aaronw/gnu/include/g++/iostream:6, from elementindex.h:24, from indexelement.h:26, from formulacursor.cc:25: /home/aaronw/gnu/include/g++/streambuf.h: In method `ios::~ios()': /home/aaronw/gnu/include/g++/streambuf.h:485: warning: `void *' is not a pointer-to-object type In file included from indexelement.h:26, from formulacursor.cc:25: elementindex.h: At top level: elementindex.h:32: syntax error before `;' elementindex.h:49: `FormulaCursor' was not declared in this scope elementindex.h:49: parse error before `,' elementindex.h:56: `FormulaCursor' was not declared in this scope elementindex.h:56: parse error before `)' elementindex.h:66: warning: ANSI C++ forbids declaration `BasicElement' with no type elementindex.h:66: `BasicElement' declared as a `virtual' field elementindex.h:66: parse error before `*' In file included from formulacursor.cc:25: indexelement.h:35: parse error before `{' indexelement.h:42: `BasicElement' was not declared in this scope indexelement.h:42: `parent' was not declared in this scope indexelement.h:42: warning: ANSI C++ forbids declaration `IndexElement' with no type indexelement.h:43: destructors must be member functions indexelement.h:42: previous non-function declaration `int KFormula::IndexElement' indexelement.h:43: conflicts with function declaration `void KFormula::IndexElement()' indexelement.h:51: syntax error before `*' indexelement.h:65: parse error before `&' indexelement.h:65: virtual outside class declaration indexelement.h:73: parse error before `&' indexelement.h:76: virtual outside class declaration indexelement.h:92: `FormulaCursor' was not declared in this scope indexelement.h:92: `cursor' was not declared in this scope indexelement.h:92: `BasicElement' was not declared in this scope indexelement.h:92: `from' was not declared in this scope indexelement.h:92: virtual outside class declaration indexelement.h:92: variable or field `moveLeft' declared void indexelement.h:92: warning: initializer list being treated as compound expression indexelement.h:99: `FormulaCursor' was not declared in this scope indexelement.h:99: `cursor' was not declared in this scope indexelement.h:99: `BasicElement' was not declared in this scope indexelement.h:99: `from' was not declared in this scope indexelement.h:99: virtual outside class declaration indexelement.h:99: variable or field `moveRight' declared void indexelement.h:99: warning: initializer list being treated as compound expression indexelement.h:106: `FormulaCursor' was not declared in this scope indexelement.h:106: `cursor' was not declared in this scope indexelement.h:106: `BasicElement' was not declared in this scope indexelement.h:106: `from' was not declared in this scope indexelement.h:106: virtual outside class declaration indexelement.h:106: variable or field `moveUp' declared void indexelement.h:106: warning: initializer list being treated as compound expression indexelement.h:113: `FormulaCursor' was not declared in this scope indexelement.h:113: `cursor' was not declared in this scope indexelement.h:113: `BasicElement' was not declared in this scope indexelement.h:113: `from' was not declared in this scope indexelement.h:113: virtual outside class declaration indexelement.h:113: variable or field `moveDown' declared void indexelement.h:113: warning: initializer list being treated as compound expression indexelement.h:131: syntax error before `*' indexelement.h:144: `FormulaCursor' was not declared in this scope indexelement.h:144: parse error before `,' indexelement.h:144: virtual outside class declaration indexelement.h:157: `FormulaCursor' was not declared in this scope indexelement.h:157: parse error before `,' indexelement.h:157: virtual outside class declaration indexelement.h:163: `FormulaCursor' was not declared in this scope indexelement.h:163: parse error before `,' indexelement.h:163: virtual outside class declaration indexelement.h:168: syntax error before `*' indexelement.h:174: `FormulaCursor' was not declared in this scope indexelement.h:174: `cursor' was not declared in this scope indexelement.h:174: `BasicElement' was not declared in this scope indexelement.h:174: `child' was not declared in this scope indexelement.h:174: virtual outside class declaration indexelement.h:174: variable or field `selectChild' declared void indexelement.h:174: warning: initializer list being treated as compound expression indexelement.h:187: virtual outside class declaration indexelement.h:190: non-member function `hasUpperLeft()' cannot have `const' method qualifier indexelement.h: In function `bool hasUpperLeft()': indexelement.h:190: `upperLeft' undeclared (first use this function) indexelement.h:190: (Each undeclared identifier is reported only once indexelement.h:190: for each function it appears in.) indexelement.h:190: warning: control reaches end of non-void function `hasUpperLeft()' indexelement.h: At top level: indexelement.h:191: non-member function `hasUpperMiddle()' cannot have `const' method qualifier indexelement.h: In function `bool hasUpperMiddle()': indexelement.h:191: `upperMiddle' undeclared (first use this function) indexelement.h:191: warning: control reaches end of non-void function `hasUpperMiddle()' indexelement.h: At top level: indexelement.h:192: non-member function `hasUpperRight()' cannot have `const' method qualifier indexelement.h: In function `bool hasUpperRight()': indexelement.h:192: `upperRight' undeclared (first use this function) indexelement.h:192: warning: control reaches end of non-void function `hasUpperRight()' indexelement.h: At top level: indexelement.h:193: non-member function `hasLowerLeft()' cannot have `const' method qualifier indexelement.h: In function `bool hasLowerLeft()': indexelement.h:193: `lowerLeft' undeclared (first use this function) indexelement.h:193: warning: control reaches end of non-void function `hasLowerLeft()' indexelement.h: At top level: indexelement.h:194: non-member function `hasLowerMiddle()' cannot have `const' method qualifier indexelement.h: In function `bool hasLowerMiddle()': indexelement.h:194: `lowerMiddle' undeclared (first use this function) indexelement.h:194: warning: control reaches end of non-void function `hasLowerMiddle()' indexelement.h: At top level: indexelement.h:195: non-member function `hasLowerRight()' cannot have `const' method qualifier indexelement.h: In function `bool hasLowerRight()': indexelement.h:195: `lowerRight' undeclared (first use this function) indexelement.h:195: warning: control reaches end of non-void function `hasLowerRight()' indexelement.h: At top level: indexelement.h:199: `FormulaCursor' was not declared in this scope indexelement.h:199: `cursor' was not declared in this scope indexelement.h:199: variable or field `setToUpperLeft' declared void indexelement.h:200: `FormulaCursor' was not declared in this scope indexelement.h:200: `cursor' was not declared in this scope indexelement.h:200: variable or field `setToUpperMiddle' declared void indexelement.h:201: `FormulaCursor' was not declared in this scope indexelement.h:201: `cursor' was not declared in this scope indexelement.h:201: variable or field `setToUpperRight' declared void indexelement.h:202: `FormulaCursor' was not declared in this scope indexelement.h:202: `cursor' was not declared in this scope indexelement.h:202: variable or field `setToLowerLeft' declared void indexelement.h:203: `FormulaCursor' was not declared in this scope indexelement.h:203: `cursor' was not declared in this scope indexelement.h:203: variable or field `setToLowerMiddle' declared void indexelement.h:204: `FormulaCursor' was not declared in this scope indexelement.h:204: `cursor' was not declared in this scope indexelement.h:204: variable or field `setToLowerRight' declared void indexelement.h:208: `FormulaCursor' was not declared in this scope indexelement.h:208: `cursor' was not declared in this scope indexelement.h:208: `Direction' was not declared in this scope indexelement.h:208: parse error before `)' indexelement.h:209: `FormulaCursor' was not declared in this scope indexelement.h:209: `cursor' was not declared in this scope indexelement.h:209: `Direction' was not declared in this scope indexelement.h:209: parse error before `)' indexelement.h:210: `FormulaCursor' was not declared in this scope indexelement.h:210: `cursor' was not declared in this scope indexelement.h:210: `Direction' was not declared in this scope indexelement.h:210: parse error before `)' indexelement.h:211: `FormulaCursor' was not declared in this scope indexelement.h:211: `cursor' was not declared in this scope indexelement.h:211: `Direction' was not declared in this scope indexelement.h:211: parse error before `)' indexelement.h:212: `FormulaCursor' was not declared in this scope indexelement.h:212: `cursor' was not declared in this scope indexelement.h:212: `Direction' was not declared in this scope indexelement.h:212: parse error before `)' indexelement.h:213: `FormulaCursor' was not declared in this scope indexelement.h:213: `cursor' was not declared in this scope indexelement.h:213: `Direction' was not declared in this scope indexelement.h:213: parse error before `)' indexelement.h:217: syntax error before `(' indexelement.h:218: syntax error before `(' indexelement.h:219: syntax error before `(' indexelement.h:220: syntax error before `(' indexelement.h:221: syntax error before `(' indexelement.h:222: syntax error before `(' indexelement.h:227: syntax error before `(' indexelement.h:233: virtual outside class declaration indexelement.h:235: parse error before `protected' indexelement.h:247: virtual outside class declaration indexelement.h:253: virtual outside class declaration indexelement.h:260: virtual outside class declaration indexelement.h:262: parse error before `private' indexelement.h:270: syntax error before `*' indexelement.h:277: parse error before `{' indexelement.h:280: `FormulaCursor' was not declared in this scope indexelement.h:280: `cursor' was not declared in this scope indexelement.h:280: `Direction' was not declared in this scope indexelement.h:280: parse error before `)' indexelement.h:281: virtual outside class declaration indexelement.h: In function `void moveToIndex(...)': indexelement.h:281: `parent' undeclared (first use this function) indexelement.h:281: `cursor' undeclared (first use this function) indexelement.h:281: `direction' undeclared (first use this function) indexelement.h: At top level: indexelement.h:282: `FormulaCursor' was not declared in this scope indexelement.h:283: virtual outside class declaration indexelement.h:283: variable or field `setToIndex' declared void indexelement.h:283: syntax error before `{' indexelement.h:285: virtual outside class declaration indexelement.h:285: non-member function `hasIndex()' cannot have `const' method qualifier indexelement.h: In function `bool hasIndex()': indexelement.h:285: warning: control reaches end of non-void function `hasIndex()' indexelement.h: At top level: indexelement.h:286: parse error before `}' indexelement.h:288: parse error before `{' indexelement.h:291: `FormulaCursor' was not declared in this scope indexelement.h:291: parse error before `)' indexelement.h:292: virtual outside class declaration indexelement.h: In function `void moveToIndex(...)': indexelement.h:292: redefinition of `void moveToIndex(...)' indexelement.h:281: `void moveToIndex(...)' previously defined here indexelement.h: At top level: indexelement.h:293: `FormulaCursor' was not declared in this scope indexelement.h:294: virtual outside class declaration indexelement.h:294: variable or field `setToIndex' declared void indexelement.h:294: redefinition of `int setToIndex' indexelement.h:283: `int setToIndex' previously defined here indexelement.h:294: syntax error before `{' indexelement.h:296: virtual outside class declaration indexelement.h:296: non-member function `hasIndex()' cannot have `const' method qualifier indexelement.h: In function `bool hasIndex()': indexelement.h:296: redefinition of `bool hasIndex()' indexelement.h:285: `bool hasIndex()' previously defined here indexelement.h: In function `bool hasIndex()': indexelement.h:296: warning: control reaches end of non-void function `hasIndex()' indexelement.h: At top level: indexelement.h:297: parse error before `}' indexelement.h:299: parse error before `{' indexelement.h:302: `FormulaCursor' was not declared in this scope indexelement.h:302: parse error before `)' indexelement.h:303: virtual outside class declaration indexelement.h: In function `void moveToIndex(...)': indexelement.h:303: redefinition of `void moveToIndex(...)' indexelement.h:292: `void moveToIndex(...)' previously defined here indexelement.h: At top level: indexelement.h:304: `FormulaCursor' was not declared in this scope indexelement.h:305: virtual outside class declaration indexelement.h:305: variable or field `setToIndex' declared void indexelement.h:305: redefinition of `int setToIndex' indexelement.h:294: `int setToIndex' previously defined here indexelement.h:305: syntax error before `{' indexelement.h:307: virtual outside class declaration indexelement.h:307: non-member function `hasIndex()' cannot have `const' method qualifier indexelement.h: In function `bool hasIndex()': indexelement.h:307: redefinition of `bool hasIndex()' indexelement.h:296: `bool hasIndex()' previously defined here indexelement.h: In function `bool hasIndex()': indexelement.h:307: warning: control reaches end of non-void function `hasIndex()' indexelement.h: At top level: indexelement.h:308: parse error before `}' indexelement.h:310: parse error before `{' indexelement.h:313: `FormulaCursor' was not declared in this scope indexelement.h:313: parse error before `)' indexelement.h:314: virtual outside class declaration indexelement.h: In function `void moveToIndex(...)': indexelement.h:314: redefinition of `void moveToIndex(...)' indexelement.h:303: `void moveToIndex(...)' previously defined here indexelement.h: At top level: indexelement.h:315: `FormulaCursor' was not declared in this scope indexelement.h:316: virtual outside class declaration indexelement.h:316: variable or field `setToIndex' declared void indexelement.h:316: redefinition of `int setToIndex' indexelement.h:305: `int setToIndex' previously defined here indexelement.h:316: syntax error before `{' indexelement.h:318: virtual outside class declaration indexelement.h:318: non-member function `hasIndex()' cannot have `const' method qualifier indexelement.h: In function `bool hasIndex()': indexelement.h:318: redefinition of `bool hasIndex()' indexelement.h:307: `bool hasIndex()' previously defined here indexelement.h: In function `bool hasIndex()': indexelement.h:318: warning: control reaches end of non-void function `hasIndex()' indexelement.h: At top level: indexelement.h:319: parse error before `}' indexelement.h:321: parse error before `{' indexelement.h:324: `FormulaCursor' was not declared in this scope indexelement.h:324: parse error before `)' indexelement.h:325: virtual outside class declaration indexelement.h: In function `void moveToIndex(...)': indexelement.h:325: redefinition of `void moveToIndex(...)' indexelement.h:314: `void moveToIndex(...)' previously defined here indexelement.h: At top level: indexelement.h:326: `FormulaCursor' was not declared in this scope indexelement.h:327: virtual outside class declaration indexelement.h:327: variable or field `setToIndex' declared void indexelement.h:327: redefinition of `int setToIndex' indexelement.h:316: `int setToIndex' previously defined here indexelement.h:327: syntax error before `{' indexelement.h:329: virtual outside class declaration indexelement.h:329: non-member function `hasIndex()' cannot have `const' method qualifier indexelement.h: In function `bool hasIndex()': indexelement.h:329: redefinition of `bool hasIndex()' indexelement.h:318: `bool hasIndex()' previously defined here indexelement.h: In function `bool hasIndex()': indexelement.h:329: warning: control reaches end of non-void function `hasIndex()' indexelement.h: At top level: indexelement.h:330: parse error before `}' indexelement.h:332: parse error before `{' indexelement.h:335: `FormulaCursor' was not declared in this scope indexelement.h:335: parse error before `)' indexelement.h:336: virtual outside class declaration indexelement.h: In function `void moveToIndex(...)': indexelement.h:336: redefinition of `void moveToIndex(...)' indexelement.h:325: `void moveToIndex(...)' previously defined here indexelement.h: At top level: indexelement.h:337: `FormulaCursor' was not declared in this scope indexelement.h:338: virtual outside class declaration indexelement.h:338: variable or field `setToIndex' declared void indexelement.h:338: redefinition of `int setToIndex' indexelement.h:327: `int setToIndex' previously defined here indexelement.h:338: syntax error before `{' indexelement.h:340: virtual outside class declaration indexelement.h:340: non-member function `hasIndex()' cannot have `const' method qualifier indexelement.h: In function `bool hasIndex()': indexelement.h:340: redefinition of `bool hasIndex()' indexelement.h:329: `bool hasIndex()' previously defined here indexelement.h: In function `bool hasIndex()': indexelement.h:340: warning: control reaches end of non-void function `hasIndex()' indexelement.h: At top level: indexelement.h:341: parse error before `}' indexelement.h:352: `BasicElement' was not declared in this scope indexelement.h:352: `from' was not declared in this scope indexelement.h:360: `FormulaCursor' was not declared in this scope indexelement.h:360: variable or field `setToContent' declared void indexelement.h:365: syntax error before `*' indexelement.h:372: syntax error before `*' indexelement.h:373: syntax error before `*' indexelement.h:374: syntax error before `*' indexelement.h:375: syntax error before `*' indexelement.h:376: syntax error before `*' indexelement.h:377: syntax error before `*' In file included from formulacursor.cc:26: rootelement.h:36: parse error before `{' rootelement.h:41: `BasicElement' was not declared in this scope rootelement.h:41: warning: ANSI C++ forbids declaration `RootElement' with no type rootelement.h:42: destructors must be member functions rootelement.h:41: previous non-function declaration `int KFormula::RootElement' rootelement.h:42: conflicts with function declaration `void KFormula::RootElement()' rootelement.h:50: syntax error before `*' rootelement.h:57: parse error before `&' rootelement.h:57: virtual outside class declaration rootelement.h:65: parse error before `&' rootelement.h:68: virtual outside class declaration rootelement.h:75: `FormulaCursor' was not declared in this scope rootelement.h:75: `BasicElement' was not declared in this scope rootelement.h:75: `from' was not declared in this scope rootelement.h:75: virtual outside class declaration rootelement.h:75: variable or field `moveLeft' declared void rootelement.h:75: redefinition of `int KFormula::moveLeft' indexelement.h:92: `int KFormula::moveLeft' previously defined here rootelement.h:75: warning: initializer list being treated as compound expressionrootelement.h:82: `FormulaCursor' was not declared in this scope rootelement.h:82: `BasicElement' was not declared in this scope rootelement.h:82: `from' was not declared in this scope rootelement.h:82: virtual outside class declaration rootelement.h:82: variable or field `moveRight' declared void rootelement.h:82: redefinition of `int KFormula::moveRight' indexelement.h:99: `int KFormula::moveRight' previously defined here rootelement.h:82: warning: initializer list being treated as compound expressionrootelement.h:89: `FormulaCursor' was not declared in this scope rootelement.h:89: `BasicElement' was not declared in this scope rootelement.h:89: `from' was not declared in this scope rootelement.h:89: virtual outside class declaration rootelement.h:89: variable or field `moveUp' declared void rootelement.h:89: redefinition of `int KFormula::moveUp' indexelement.h:106: `int KFormula::moveUp' previously defined here rootelement.h:89: warning: initializer list being treated as compound expressionrootelement.h:96: `FormulaCursor' was not declared in this scope rootelement.h:96: `BasicElement' was not declared in this scope rootelement.h:96: `from' was not declared in this scope rootelement.h:96: virtual outside class declaration rootelement.h:96: variable or field `moveDown' declared void rootelement.h:96: redefinition of `int KFormula::moveDown' indexelement.h:113: `int KFormula::moveDown' previously defined here rootelement.h:96: warning: initializer list being treated as compound expressionrootelement.h:101: `FormulaCursor' was not declared in this scope rootelement.h:101: parse error before `,' rootelement.h:101: virtual outside class declaration rootelement.h:112: `FormulaCursor' was not declared in this scope rootelement.h:112: parse error before `,' rootelement.h:112: virtual outside class declaration rootelement.h:118: `FormulaCursor' was not declared in this scope rootelement.h:118: parse error before `,' rootelement.h:118: virtual outside class declaration rootelement.h:124: syntax error before `*' rootelement.h:131: `FormulaCursor' was not declared in this scope rootelement.h:131: `BasicElement' was not declared in this scope rootelement.h:131: `child' was not declared in this scope rootelement.h:131: virtual outside class declaration rootelement.h:131: variable or field `selectChild' declared void rootelement.h:131: warning: initializer list being treated as compound expression rootelement.h:140: `FormulaCursor' was not declared in this scope rootelement.h:140: parse error before `,' rootelement.h:145: `FormulaCursor' was not declared in this scope rootelement.h:145: parse error before `)' rootelement.h:147: non-member function `KFormula::hasIndex()' cannot have `const' method qualifier rootelement.h: In function `bool KFormula::hasIndex()': rootelement.h:147: `index' undeclared (first use this function) rootelement.h:147: warning: control reaches end of non-void function `KFormula::hasIndex()' rootelement.h: At top level: rootelement.h:149: syntax error before `(' rootelement.h:159: virtual outside class declaration rootelement.h:161: parse error before `protected' rootelement.h:173: virtual outside class declaration rootelement.h:179: virtual outside class declaration rootelement.h:186: virtual outside class declaration rootelement.h:188: parse error before `private' rootelement.h:193: `FormulaCursor' was not declared in this scope rootelement.h:193: parse error before `)' rootelement.h:194: virtual outside class declaration rootelement.h: In function `void moveToIndex(...)': rootelement.h:194: redefinition of `void moveToIndex(...)' indexelement.h:336: `void moveToIndex(...)' previously defined here rootelement.h: At top level: rootelement.h:195: `FormulaCursor' was not declared in this scope rootelement.h:196: virtual outside class declaration rootelement.h:196: variable or field `setToIndex' declared void rootelement.h:196: redefinition of `int setToIndex' indexelement.h:338: `int setToIndex' previously defined here rootelement.h:196: syntax error before `{' rootelement.h:198: virtual outside class declaration rootelement.h:198: non-member function `hasIndex()' cannot have `const' method qualifier rootelement.h: In function `bool hasIndex()': rootelement.h:198: redefinition of `bool hasIndex()' indexelement.h:340: `bool hasIndex()' previously defined here rootelement.h: In function `bool hasIndex()': rootelement.h:198: warning: control reaches end of non-void function `hasIndex()' rootelement.h: At top level: rootelement.h:199: syntax error before `*' rootelement.h:208: syntax error before `*' rootelement.h:213: syntax error before `*' rootelement.h:219: parse error before `}' In file included from symbolelement.h:24, from formulacursor.cc:28: artwork.h:40: parse error before `type' artwork.h:43: parse error before `&' artwork.h:44: parse error before `&' artwork.h:44: `KFormula::Artwork::calcSizes(...)' has already been declared in `KFormula::Artwork' artwork.h:45: parse error before `&' artwork.h:47: parse error before `&' artwork.h:48: `KFormula::Artwork::draw(...)' has already been declared in `KFormula::Artwork' artwork.h:65: syntax error before `(' artwork.h:66: semicolon missing after declaration of `KFormula::Artwork' artwork.h: In method `int KFormula::Artwork::getWidth() const': artwork.h:50: `size' undeclared (first use this function) artwork.h:50: warning: control reaches end of non-void function `KFormula::Artwork::getWidth() const' artwork.h: In method `int KFormula::Artwork::getHeight() const': artwork.h:51: `size' undeclared (first use this function) artwork.h:51: warning: control reaches end of non-void function `KFormula::Artwork::getHeight() const' artwork.h: In method `void KFormula::Artwork::setWidth(int)': artwork.h:53: `size' undeclared (first use this function) artwork.h: In method `void KFormula::Artwork::setHeight(int)': artwork.h:54: `size' undeclared (first use this function) artwork.h: In method `int KFormula::Artwork::getBaseline() const': artwork.h:56: `baseline' undeclared (first use this function) artwork.h:56: warning: control reaches end of non-void function `KFormula::Artwork::getBaseline() const' artwork.h: In method `void KFormula::Artwork::setBaseline(int)': artwork.h:57: `baseline' undeclared (first use this function) artwork.h: In method `double KFormula::Artwork::getX() const': artwork.h:59: `point' undeclared (first use this function) artwork.h:59: warning: control reaches end of non-void function `KFormula::Artwork::getX() const' artwork.h: In method `double KFormula::Artwork::getY() const': artwork.h:60: `point' undeclared (first use this function) artwork.h:60: warning: control reaches end of non-void function `KFormula::Artwork::getY() const' artwork.h: In method `void KFormula::Artwork::setX(double)': artwork.h:62: `point' undeclared (first use this function) artwork.h: In method `void KFormula::Artwork::setY(double)': artwork.h:63: `point' undeclared (first use this function) artwork.h: At top level: artwork.h:66: `SymbolType' was not declared in this scope artwork.h:66: parse error before `)' artwork.h:66: two or more data types in declaration of `setType' artwork.h:66: semicolon missing after declaration of `class KFormula::Artwork' artwork.h: In function `int KFormula::setType(...)': artwork.h:66: `type' undeclared (first use this function) artwork.h:66: `t' undeclared (first use this function) artwork.h:66: warning: control reaches end of non-void function `KFormula::setType(...)' artwork.h: At top level: artwork.h:68: parse error before `private' artwork.h:72: parse error before `&' artwork.h:73: parse error before `&' artwork.h:74: parse error before `&' artwork.h:76: parse error before `&' artwork.h:78: parse error before `&' artwork.h:79: parse error before `&' artwork.h:80: parse error before `&' artwork.h:82: parse error before `&' artwork.h:83: parse error before `&' artwork.h:85: parse error before `&' artwork.h:86: parse error before `&' artwork.h:88: parse error before `&' artwork.h:89: parse error before `&' artwork.h:91: parse error before `&' artwork.h:92: parse error before `&' artwork.h:93: parse error before `&' artwork.h:94: parse error before `&' artwork.h:96: `class QSize KFormula::size' used prior to declaration artwork.h:97: `class KoPoint KFormula::point' used prior to declaration artwork.h:103: `int KFormula::baseline' used prior to declaration artwork.h:105: syntax error before `;' artwork.h:107: uninitialized const `KFormula::leftRoundBracket' artwork.h:107: array size missing in `KFormula::leftRoundBracket' artwork.h:108: uninitialized const `KFormula::leftSquareBracket' artwork.h:108: array size missing in `KFormula::leftSquareBracket' artwork.h:109: uninitialized const `KFormula::leftCurlyBracket' artwork.h:109: array size missing in `KFormula::leftCurlyBracket' artwork.h:111: uninitialized const `KFormula::rightRoundBracket' artwork.h:111: array size missing in `KFormula::rightRoundBracket' artwork.h:112: uninitialized const `KFormula::rightSquareBracket' artwork.h:112: array size missing in `KFormula::rightSquareBracket' artwork.h:113: uninitialized const `KFormula::rightCurlyBracket' artwork.h:113: array size missing in `KFormula::rightCurlyBracket' artwork.h:116: parse error before `}' In file included from formulacursor.cc:28: symbolelement.h:34: parse error before `{' symbolelement.h:39: `SymbolType' was not declared in this scope symbolelement.h:39: parse error before `=' symbolelement.h:39: warning: ANSI C++ forbids declaration `SymbolElement' with no type symbolelement.h:40: destructors must be member functions symbolelement.h:48: syntax error before `*' symbolelement.h:62: parse error before `&' symbolelement.h:62: virtual outside class declaration symbolelement.h:70: parse error before `&' symbolelement.h:73: virtual outside class declaration symbolelement.h:89: `FormulaCursor' was not declared in this scope symbolelement.h:89: `BasicElement' was not declared in this scope symbolelement.h:89: `from' was not declared in this scope symbolelement.h:89: virtual outside class declaration symbolelement.h:89: variable or field `moveLeft' declared void symbolelement.h:89: redefinition of `int KFormula::moveLeft' rootelement.h:75: `int KFormula::moveLeft' previously defined here symbolelement.h:89: warning: initializer list being treated as compound expression symbolelement.h:96: `FormulaCursor' was not declared in this scope symbolelement.h:96: `BasicElement' was not declared in this scope symbolelement.h:96: `from' was not declared in this scope symbolelement.h:96: virtual outside class declaration symbolelement.h:96: variable or field `moveRight' declared void symbolelement.h:96: redefinition of `int KFormula::moveRight' rootelement.h:82: `int KFormula::moveRight' previously defined here symbolelement.h:96: warning: initializer list being treated as compound expression symbolelement.h:103: `FormulaCursor' was not declared in this scope symbolelement.h:103: `BasicElement' was not declared in this scope symbolelement.h:103: `from' was not declared in this scope symbolelement.h:103: virtual outside class declaration symbolelement.h:103: variable or field `moveUp' declared void symbolelement.h:103: redefinition of `int KFormula::moveUp' rootelement.h:89: `int KFormula::moveUp' previously defined here symbolelement.h:103: warning: initializer list being treated as compound expression symbolelement.h:110: `FormulaCursor' was not declared in this scope symbolelement.h:110: `BasicElement' was not declared in this scope symbolelement.h:110: `from' was not declared in this scope symbolelement.h:110: virtual outside class declaration symbolelement.h:110: variable or field `moveDown' declared void symbolelement.h:110: redefinition of `int KFormula::moveDown' rootelement.h:96: `int KFormula::moveDown' previously defined here symbolelement.h:110: warning: initializer list being treated as compound expression symbolelement.h:128: syntax error before `*' symbolelement.h:142: `FormulaCursor' was not declared in this scope symbolelement.h:142: parse error before `,' symbolelement.h:142: virtual outside class declaration symbolelement.h:155: `FormulaCursor' was not declared in this scope symbolelement.h:155: parse error before `,' symbolelement.h:155: virtual outside class declaration symbolelement.h:161: `FormulaCursor' was not declared in this scope symbolelement.h:161: parse error before `,' symbolelement.h:161: virtual outside class declaration symbolelement.h:166: syntax error before `*' symbolelement.h:172: `FormulaCursor' was not declared in this scope symbolelement.h:172: `BasicElement' was not declared in this scope symbolelement.h:172: `child' was not declared in this scope symbolelement.h:172: virtual outside class declaration symbolelement.h:172: variable or field `selectChild' declared void symbolelement.h:172: redefinition of `int selectChild' indexelement.h:174: `int selectChild' previously defined here symbolelement.h:172: warning: initializer list being treated as compound expression symbolelement.h:180: non-member function `hasUpper()' cannot have `const' method qualifier symbolelement.h: In function `bool hasUpper()': symbolelement.h:180: `upper' undeclared (first use this function) symbolelement.h:180: warning: control reaches end of non-void function `hasUpper()' symbolelement.h: At top level: symbolelement.h:181: non-member function `hasLower()' cannot have `const' method qualifier symbolelement.h: In function `bool hasLower()': symbolelement.h:181: `lower' undeclared (first use this function) symbolelement.h:181: warning: control reaches end of non-void function `hasLower()' symbolelement.h: At top level: symbolelement.h:185: `FormulaCursor' was not declared in this scope symbolelement.h:185: variable or field `setToUpper' declared void symbolelement.h:186: `FormulaCursor' was not declared in this scope symbolelement.h:186: variable or field `setToLower' declared void symbolelement.h:189: `FormulaCursor' was not declared in this scope symbolelement.h:189: parse error before `,' symbolelement.h:190: `FormulaCursor' was not declared in this scope symbolelement.h:190: parse error before `,' symbolelement.h:194: syntax error before `(' symbolelement.h:195: syntax error before `(' symbolelement.h:205: virtual outside class declaration symbolelement.h:207: parse error before `protected' symbolelement.h:219: virtual outside class declaration symbolelement.h:225: virtual outside class declaration symbolelement.h:232: virtual outside class declaration symbolelement.h:234: parse error before `private' symbolelement.h:242: syntax error before `*' symbolelement.h:249: parse error before `{' symbolelement.h:252: `FormulaCursor' was not declared in this scope symbolelement.h:252: parse error before `)' symbolelement.h:253: virtual outside class declaration symbolelement.h: In function `void moveToIndex(...)': symbolelement.h:253: redefinition of `void moveToIndex(...)' rootelement.h:194: `void moveToIndex(...)' previously defined here symbolelement.h: At top level: symbolelement.h:254: `FormulaCursor' was not declared in this scope symbolelement.h:255: virtual outside class declaration symbolelement.h:255: variable or field `setToIndex' declared void symbolelement.h:255: redefinition of `int setToIndex' rootelement.h:196: `int setToIndex' previously defined here symbolelement.h:255: syntax error before `{' symbolelement.h:257: virtual outside class declaration symbolelement.h:257: non-member function `hasIndex()' cannot have `const' method qualifier symbolelement.h: In function `bool hasIndex()': symbolelement.h:257: redefinition of `bool hasIndex()' rootelement.h:198: `bool hasIndex()' previously defined here symbolelement.h: In function `bool hasIndex()': symbolelement.h:257: warning: control reaches end of non-void function `hasIndex()' symbolelement.h: At top level: symbolelement.h:258: parse error before `}' symbolelement.h:260: parse error before `{' symbolelement.h:263: `FormulaCursor' was not declared in this scope symbolelement.h:263: parse error before `)' symbolelement.h:264: virtual outside class declaration symbolelement.h: In function `void moveToIndex(...)': symbolelement.h:264: redefinition of `void moveToIndex(...)' symbolelement.h:253: `void moveToIndex(...)' previously defined here symbolelement.h: At top level: symbolelement.h:265: `FormulaCursor' was not declared in this scope symbolelement.h:266: virtual outside class declaration symbolelement.h:266: variable or field `setToIndex' declared void symbolelement.h:266: redefinition of `int setToIndex' symbolelement.h:255: `int setToIndex' previously defined here symbolelement.h:266: syntax error before `{' symbolelement.h:268: virtual outside class declaration symbolelement.h:268: non-member function `hasIndex()' cannot have `const' method qualifier symbolelement.h: In function `bool hasIndex()': symbolelement.h:268: redefinition of `bool hasIndex()' symbolelement.h:257: `bool hasIndex()' previously defined here symbolelement.h: In function `bool hasIndex()': symbolelement.h:268: warning: control reaches end of non-void function `hasIndex()' symbolelement.h: At top level: symbolelement.h:269: parse error before `}' symbolelement.h:272: `FormulaCursor' was not declared in this scope symbolelement.h:272: variable or field `setToContent' declared void symbolelement.h:272: redefinition of `int setToContent' indexelement.h:360: `int setToContent' previously defined here symbolelement.h:274: syntax error before `*' symbolelement.h:275: syntax error before `*' symbolelement.h:276: syntax error before `*' symbolelement.h:281: syntax error before `;' In file included from formulacursor.cc:29: textelement.h:37: parse error before `{' textelement.h:47: syntax error before `(' textelement.h:52: virtual outside class declaration textelement.h:52: non-member function `KFormula::isInvisible()' cannot have `const' method qualifier textelement.h:58: virtual outside class declaration textelement.h:58: non-member function `KFormula::getCharacter()' cannot have `const' method qualifier textelement.h: In function `class QChar KFormula::getCharacter()': textelement.h:58: `character' undeclared (first use this function) textelement.h:58: warning: control reaches end of non-void function `KFormula::getCharacter()' textelement.h: At top level: textelement.h:71: parse error before `&' textelement.h:71: virtual outside class declaration textelement.h:79: parse error before `&' textelement.h:82: virtual outside class declaration textelement.h:93: non-member function `KFormula::isSymbol()' cannot have `const' method qualifier textelement.h: In function `bool KFormula::isSymbol()': textelement.h:93: `symbol' undeclared (first use this function) textelement.h:93: warning: control reaches end of non-void function `KFormula::isSymbol()' textelement.h: At top level: textelement.h:99: virtual outside class declaration textelement.h:101: parse error before `protected' textelement.h:113: virtual outside class declaration textelement.h:119: virtual outside class declaration textelement.h:126: virtual outside class declaration textelement.h:136: parse error before `&' textelement.h:141: parse error before `&' textelement.h:143: non-member function `getSymbolTable()' cannot have `const' method qualifier textelement.h:145: parse error before `private' textelement.h:156: parse error before `}' formulacursor.cc:33: syntax error before `::' formulacursor.cc:40: syntax error before `::' formulacursor.cc:43: warning: ANSI C++ forbids declaration `current' with no type formulacursor.cc:43: `element' was not declared in this scope formulacursor.cc:44: warning: ANSI C++ forbids declaration `cursorPos' with no type formulacursor.cc:45: parse error before `if' formulacursor.cc:51: warning: ANSI C++ forbids declaration `markPos' with no type formulacursor.cc:51: `mark' was not declared in this scope formulacursor.cc:52: parse error before `}' formulacursor.cc:55: syntax error before `::' formulacursor.cc:58: warning: ANSI C++ forbids declaration `cursorPos' with no type formulacursor.cc:58: redefinition of `int cursorPos' formulacursor.cc:44: `int cursorPos' previously defined here formulacursor.cc:58: `pos' was not declared in this scope formulacursor.cc:59: parse error before `}' formulacursor.cc:61: syntax error before `::' formulacursor.cc:64: warning: ANSI C++ forbids declaration `markPos' with no type formulacursor.cc:64: redefinition of `int markPos' formulacursor.cc:51: `int markPos' previously defined here formulacursor.cc:64: `mark' was not declared in this scope formulacursor.cc:65: parse error before `}' formulacursor.cc:67: syntax error before `::' formulacursor.cc:77: syntax error before `::' formulacursor.cc:83: syntax error before `*' formulacursor.cc:91: syntax error before `::' formulacursor.cc:96: warning: ANSI C++ forbids declaration `setSelection' with no type formulacursor.cc:97: parse error before `}' formulacursor.cc:104: syntax error before `::' formulacursor.cc:107: `flag' was not declared in this scope formulacursor.cc:107: warning: ANSI C++ forbids declaration `handleSelectState' with no type formulacursor.cc:108: parse error before `if' formulacursor.cc:122: syntax error before `::' formulacursor.cc:125: `flag' was not declared in this scope formulacursor.cc:125: warning: ANSI C++ forbids declaration `handleSelectState' with no type formulacursor.cc:125: redefinition of `int handleSelectState' formulacursor.cc:107: `int handleSelectState' previously defined here formulacursor.cc:126: parse error before `if' formulacursor.cc:140: syntax error before `::' formulacursor.cc:143: `flag' was not declared in this scope formulacursor.cc:143: warning: ANSI C++ forbids declaration `handleSelectState' with no type formulacursor.cc:143: redefinition of `int handleSelectState' formulacursor.cc:125: `int handleSelectState' previously defined here formulacursor.cc:144: syntax error before `->' formulacursor.cc:147: syntax error before `::' formulacursor.cc:150: `flag' was not declared in this scope formulacursor.cc:150: warning: ANSI C++ forbids declaration `handleSelectState' with no type formulacursor.cc:150: redefinition of `int handleSelectState' formulacursor.cc:143: `int handleSelectState' previously defined here formulacursor.cc:151: syntax error before `->' formulacursor.cc:154: syntax error before `::' formulacursor.cc:157: `flag' was not declared in this scope formulacursor.cc:157: warning: ANSI C++ forbids declaration `handleSelectState' with no type formulacursor.cc:157: redefinition of `int handleSelectState' formulacursor.cc:150: `int handleSelectState' previously defined here formulacursor.cc:158: parse error before `if' formulacursor.cc:166: syntax error before `::' formulacursor.cc:169: `flag' was not declared in this scope formulacursor.cc:169: warning: ANSI C++ forbids declaration `handleSelectState' with no type formulacursor.cc:169: redefinition of `int handleSelectState' formulacursor.cc:157: `int handleSelectState' previously defined here formulacursor.cc:170: parse error before `if' formulacursor.cc:178: syntax error before `::' formulacursor.cc:183: syntax error before `::' formulacursor.cc:189: syntax error before `::' formulacursor.cc:192: syntax error before `->' formulacursor.cc:201: `getPos' was not declared in this scope formulacursor.cc:201: warning: ANSI C++ forbids declaration `setMark' with no type formulacursor.cc:202: parse error before `}' formulacursor.cc:205: syntax error before `::' formulacursor.cc:208: syntax error before `*' formulacursor.cc:209: `getMark' was not declared in this scope formulacursor.cc:211: syntax error before `*' formulacursor.cc:212: syntax error before `->' formulacursor.cc:213: syntax error before `*' formulacursor.cc:214: `getPos' was not declared in this scope formulacursor.cc:216: syntax error before `*' formulacursor.cc:217: syntax error before `*' formulacursor.cc:220: warning: ANSI C++ forbids declaration `newElement' with no type formulacursor.cc:220: base operand of `->' is not a pointer formulacursor.cc:221: parse error before `if' formulacursor.cc:223: warning: ANSI C++ forbids declaration `newElement' with no type formulacursor.cc:223: redefinition of `int newElement' formulacursor.cc:220: `int newElement' previously defined here formulacursor.cc:223: `getElement' was not declared in this scope formulacursor.cc:224: warning: ANSI C++ forbids declaration `markChild' with no type formulacursor.cc:224: `element' was not declared in this scope formulacursor.cc:225: warning: ANSI C++ forbids declaration `element' with no type formulacursor.cc:225: base operand of `->' is not a pointer formulacursor.cc:226: parse error before `}' formulacursor.cc:231: syntax error before `->' formulacursor.cc:236: warning: ANSI C++ forbids declaration `pos' with no type formulacursor.cc:236: redefinition of `int pos' formulacursor.cc:214: `int pos' previously defined here formulacursor.cc:236: `getPos' was not declared in this scope formulacursor.cc:237: parse error before `}' formulacursor.cc:240: warning: ANSI C++ forbids declaration `mark' with no type formulacursor.cc:240: redefinition of `int mark' formulacursor.cc:209: `int mark' previously defined here formulacursor.cc:240: `getMark' was not declared in this scope formulacursor.cc:241: parse error before `}' formulacursor.cc:255: warning: ANSI C++ forbids declaration `setTo' with no typeformulacursor.cc:255: warning: initializer list being treated as compound expression formulacursor.cc:256: parse error before `}' formulacursor.cc:259: syntax error before `::' formulacursor.cc:268: syntax error before `::' formulacursor.cc:280: syntax error before `::' formulacursor.cc:283: syntax error before `->' formulacursor.cc:291: syntax error before `::' formulacursor.cc:294: syntax error before `.' formulacursor.cc:295: `list' was not declared in this scope formulacursor.cc:295: warning: ANSI C++ forbids declaration `insert' with no type formulacursor.cc:295: `int insert' redeclared as different kind of symbol symbolelement.h:142: previous declaration of `void insert(...)' formulacursor.cc:295: warning: initializer list being treated as compound expression formulacursor.cc:296: parse error before `}' formulacursor.cc:298: syntax error before `::' formulacursor.cc:303: syntax error before `*' formulacursor.cc:304: syntax error before `->' formulacursor.cc:313: syntax error before `::' formulacursor.cc:318: syntax error before `*' formulacursor.cc:327: syntax error before `->' formulacursor.cc:342: syntax error before `::' formulacursor.cc:347: `BasicElement' was not declared in this scope formulacursor.cc:347: template argument 1 is invalid formulacursor.cc:347: warning: ANSI C++ forbids declaration `list' with no type formulacursor.cc:353: parse error before `if' formulacursor.cc:357: warning: ANSI C++ forbids declaration `insert' with no type formulacursor.cc:357: redefinition of `int insert' formulacursor.cc:295: `int insert' previously defined here formulacursor.cc:357: warning: initializer list being treated as compound expression formulacursor.cc:358: syntax error before `*' formulacursor.cc:361: warning: ANSI C++ forbids declaration `insert' with no type formulacursor.cc:361: redefinition of `int insert' formulacursor.cc:357: `int insert' previously defined here formulacursor.cc:371: syntax error before `->' formulacursor.cc:380: syntax error before `*' formulacursor.cc:384: `BasicElement' was not declared in this scope formulacursor.cc:384: template argument 1 is invalid formulacursor.cc:384: warning: ANSI C++ forbids declaration `childrenList' with no type formulacursor.cc:385: `BasicElement' was not declared in this scope formulacursor.cc:385: template argument 1 is invalid formulacursor.cc:385: warning: ANSI C++ forbids declaration `list' with no type formulacursor.cc:385: redefinition of `int list' formulacursor.cc:347: `int list' previously declared here formulacursor.cc:386: syntax error before `*' formulacursor.cc:387: syntax error before `*' formulacursor.cc:390: warning: ANSI C++ forbids declaration `remove' with no type formulacursor.cc:390: `int remove' redeclared as different kind of symbol symbolelement.h:155: previous declaration of `void remove(...)' formulacursor.cc:391: parse error before `}' formulacursor.cc:392: syntax error before `->' formulacursor.cc:393: warning: ANSI C++ forbids declaration `setSelection' with no type formulacursor.cc:393: redefinition of `int setSelection' formulacursor.cc:96: `int setSelection' previously defined here formulacursor.cc:394: warning: ANSI C++ forbids declaration `remove' with no type formulacursor.cc:394: redefinition of `int remove' formulacursor.cc:390: `int remove' previously defined here formulacursor.cc:394: multiple initializations given for `remove' formulacursor.cc:395: warning: ANSI C++ forbids declaration `insert' with no type formulacursor.cc:395: redefinition of `int insert' formulacursor.cc:361: `int insert' previously defined here formulacursor.cc:395: warning: initializer list being treated as compound expression formulacursor.cc:396: parse error before `if' formulacursor.cc:410: syntax error before `*' formulacursor.cc:414: syntax error before `*' formulacursor.cc:429: syntax error before `::' formulacursor.cc:443: syntax error before `*' formulacursor.cc:448: syntax error before `*' formulacursor.cc:464: syntax error before `::' formulacursor.cc:468: `getPos' was not declared in this scope formulacursor.cc:468: warning: ANSI C++ forbids declaration `setMark' with no type formulacursor.cc:468: redefinition of `int setMark' formulacursor.cc:201: `int setMark' previously defined here formulacursor.cc:469: parse error before `}' formulacursor.cc:477: syntax error before `::' formulacursor.cc:492: syntax error before `*' formulacursor.cc:510: syntax error before `*' formulacursor.cc:528: syntax error before `*' formulacursor.cc:545: syntax error before `*' formulacursor.cc:551: syntax error before `::' formulacursor.cc:556: syntax error before `*' formulacursor.cc:567: syntax error before `::' formulacursor.cc:579: warning: ANSI C++ forbids declaration `setSelection' with no type formulacursor.cc:579: redefinition of `int setSelection' formulacursor.cc:393: `int setSelection' previously defined here formulacursor.cc:580: parse error before `return' formulacursor.cc:582: warning: ANSI C++ forbids declaration `child' with no typeformulacursor.cc:582: base operand of `->' is not a pointer formulacursor.cc:583: parse error before `}' formulacursor.cc:590: syntax error before `::' formulacursor.cc:593: warning: ANSI C++ forbids declaration `setPos' with no type formulacursor.cc:594: warning: ANSI C++ forbids declaration `setMark' with no type formulacursor.cc:594: redefinition of `int setMark' formulacursor.cc:468: `int setMark' previously defined here formulacursor.cc:595: warning: ANSI C++ forbids declaration `setSelection' with no type formulacursor.cc:595: redefinition of `int setSelection' formulacursor.cc:579: `int setSelection' previously defined here formulacursor.cc:596: parse error before `}' formulacursor.cc:601: syntax error before `::' formulacursor.cc:604: `doc' was not declared in this scope formulacursor.cc:605: syntax error before `.' formulacursor.cc:623: syntax error before `::' formulacursor.cc:627: syntax error before `*' formulacursor.cc:645: syntax error before `::' formulacursor.cc:653: syntax error before `&' formulacursor.cc:656: warning: ANSI C++ forbids declaration `cursorPos' with no type formulacursor.cc:656: redefinition of `int cursorPos' formulacursor.cc:58: `int cursorPos' previously defined here formulacursor.cc:656: `other' was not declared in this scope formulacursor.cc:657: warning: ANSI C++ forbids declaration `markPos' with no type formulacursor.cc:657: redefinition of `int markPos' formulacursor.cc:64: `int markPos' previously defined here formulacursor.cc:657: `other' was not declared in this scope formulacursor.cc:658: warning: ANSI C++ forbids declaration `selectionFlag' with no type formulacursor.cc:658: `other' was not declared in this scope formulacursor.cc:659: warning: ANSI C++ forbids declaration `linearMovement' with no type formulacursor.cc:659: `other' was not declared in this scope formulacursor.cc:660: warning: ANSI C++ forbids declaration `readOnly' with no type formulacursor.cc:660: `other' was not declared in this scope formulacursor.cc:661: warning: ANSI C++ forbids declaration `hasChangedFlag' with no type formulacursor.cc:662: parse error before `return' formulacursor.cc:670: syntax error before `::' formulacursor.cc:673: warning: ANSI C++ forbids declaration `cursorPos' with no type formulacursor.cc:673: redefinition of `int cursorPos' formulacursor.cc:656: `int cursorPos' previously defined here formulacursor.cc:673: `data' was not declared in this scope formulacursor.cc:674: warning: ANSI C++ forbids declaration `markPos' with no type formulacursor.cc:674: redefinition of `int markPos' formulacursor.cc:657: `int markPos' previously defined here formulacursor.cc:674: `data' was not declared in this scope formulacursor.cc:675: warning: ANSI C++ forbids declaration `selectionFlag' with no type formulacursor.cc:675: redefinition of `int selectionFlag' formulacursor.cc:658: `int selectionFlag' previously defined here formulacursor.cc:675: `data' was not declared in this scope formulacursor.cc:676: warning: ANSI C++ forbids declaration `linearMovement' with no type formulacursor.cc:676: redefinition of `int linearMovement' formulacursor.cc:659: `int linearMovement' previously defined here formulacursor.cc:676: `data' was not declared in this scope formulacursor.cc:677: warning: ANSI C++ forbids declaration `readOnly' with no type formulacursor.cc:677: redefinition of `int readOnly' formulacursor.cc:660: `int readOnly' previously defined here formulacursor.cc:677: `data' was not declared in this scope formulacursor.cc:678: warning: ANSI C++ forbids declaration `hasChangedFlag' with no type formulacursor.cc:678: redefinition of `int hasChangedFlag' formulacursor.cc:661: `int hasChangedFlag' previously defined here formulacursor.cc:679: parse error before `}' formulacursor.cc:685: syntax error before `*' formulacursor.cc:690: syntax error before `*' make[4]: *** [formulacursor.lo] Error 1 make[4]: Leaving directory `/tools/kde/archive/2.2.1/koffice-1.1/lib/kformula' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tools/kde/archive/2.2.1/koffice-1.1/lib/kformula' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tools/kde/archive/2.2.1/koffice-1.1/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tools/kde/archive/2.2.1/koffice-1.1' make: *** [all-recursive-am] Error 2 (Submitted via bugs.kde.org)