nanogui: viewml error with stlport-4.5.3


Previous by date: 28 Oct 2005 07:40:43 +0100 implementing a polling touchscreen driver, Sean Machin
Next by date: 28 Oct 2005 07:40:43 +0100 Jpeg images and dithering, tj
Previous in thread:
Next in thread:

Subject: viewml error with stlport-4.5.3
From: sai baba ####@####.####
Date: 28 Oct 2005 07:40:43 +0100
Message-Id: <20051028064014.8789.qmail@web35903.mail.mud.yahoo.com>

hi,
 i am compiling viewml-0.22 for arm using
stlport-4.5.3  and its giving the parse errors with
the included string class.. the errors are as
following

In file included from ../kdecore/kurl.h:31,
                 from html.cpp:24:
fltk/qstring.h:16: parse error before `{'
fltk/qstring.h:21: parse error before `int'
fltk/qstring.h:22: parse error before `const'
fltk/qstring.h:22: warning: ANSI C++ forbids
declaration `m_bNull' with no type
fltk/qstring.h:22: parse error before `}'
fltk/qstring.h:23: parse error before `const'
fltk/qstring.h:23: warning: ANSI C++ forbids
declaration `m_bNull' with no type
fltk/qstring.h:23: redefinition of `int m_bNull'
fltk/qstring.h:22: `int m_bNull' previously defined
here
fltk/qstring.h:23: parse error before `}'
fltk/qstring.h:24: parse error before `const'
fltk/qstring.h:24: warning: ANSI C++ forbids
declaration `m_bNull' with no type
fltk/qstring.h:24: redefinition of `int m_bNull'
fltk/qstring.h:23: `int m_bNull' previously defined
here
fltk/qstring.h:24: parse error before `}'
fltk/qstring.h:26: non-member function `copy()' cannot
have `const' method qualifier
fltk/qstring.h:26: semicolon missing after declaration
of `class QString'
fltk/qstring.h: In function `int copy()':
fltk/qstring.h:26: invalid use of `this' in non-member
function
fltk/qstring.h: At top level:
fltk/qstring.h:27: non-member function `operator char
*()' cannot have `const' method qualifier
fltk/qstring.h:27: `operator char *()' must be a
nonstatic member function
fltk/qstring.h:27: `operator char *()' must take
exactly one argument
fltk/qstring.h: In function `operator char *()':
fltk/qstring.h:27: warning: implicit declaration of
function `int c_str(...)'
fltk/qstring.h: At top level:
fltk/qstring.h:28: non-member function `operator const
char *()' cannot have `const' method qualifier
fltk/qstring.h:28: `operator const char *()' must be a
nonstatic member function
fltk/qstring.h:28: `operator const char *()' must take
exactly one argument
fltk/qstring.h: In function `operator const char *()':
fltk/qstring.h:28: warning: return to `const char *'
from `int' lacks a cast
fltk/qstring.h: At top level:
fltk/qstring.h:30: non-member function `find(const
QRegExp &, int)' cannot have `const' method qualifier
fltk/qstring.h:31: non-member function `find(char,
int, bool)' cannot have `const' method qualifier
fltk/qstring.h:32: non-member function `find(const
QString &, int, bool)' cannot have `const' method
qualifier
fltk/qstring.h:34: non-member function `isEmpty()'
cannot have `const' method qualifier
fltk/qstring.h: In function `bool isEmpty()':
fltk/qstring.h:34: warning: implicit declaration of
function `int empty(...)'
fltk/qstring.h: In function `class QString
left(unsigned int)':
fltk/qstring.h:35: return-type `class QString' is an
incomplete type
fltk/qstring.h:35: warning: implicit declaration of
function `int substr(...)'
fltk/qstring.h:35: return to `void' from `int'
fltk/qstring.h: In function `class QString
right(unsigned int)':
fltk/qstring.h:36: return-type `class QString' is an
incomplete type
fltk/qstring.h:36: warning: implicit declaration of
function `int length(...)'
fltk/qstring.h:36: return to `void' from `int'
fltk/qstring.h: At top level:
fltk/qstring.h:38: non-member function `mid(unsigned
int, unsigned int)' cannot have `const' method
qualifier
fltk/qstring.h: In function `class QString
mid(unsigned int, unsigned int = 0ffffffff)':
fltk/qstring.h:38: return-type `class QString' is an
incomplete type
fltk/qstring.h:39: aggregate `class QString tmp' has
incomplete type and cannot be initialized
fltk/qstring.h:43: confused by earlier errors, bailing
out
make[1]: *** [html.o] Error 1
make[1]: Leaving directory
`/mnt/browser/cross/viewml-0.22/src'
make: *** [viewml] Error 2


what changes i need to  make so as to compile with
stlport library
..



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

Previous by date: 28 Oct 2005 07:40:43 +0100 implementing a polling touchscreen driver, Sean Machin
Next by date: 28 Oct 2005 07:40:43 +0100 Jpeg images and dithering, tj
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.