removing gcc parameter

Pupeno pupeno at pupeno.com
Wed Sep 11 09:18:36 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 11 September 2002 04:08, Simon Hausmann wrote:
> Ok, I'm too lazy -- I thought this is about code in the repository :)
I wouldn't allow that kind of code in the repository ;)

> What's the error message you get?
The whole error is a bit long, but it starts this way:
/opt/speech_tools/include/EST_TIterator.h:205: syntax error before `&'
/opt/speech_tools/include/EST_TIterator.h:206: warning: ISO C++ forbids 
declaration of `pos' with no
type
/opt/speech_tools/include/EST_TIterator.h:206: warning: ISO C++ forbids 
initialization of member `pos'
/opt/speech_tools/include/EST_TIterator.h:206: warning: making `pos' static
/opt/speech_tools/include/EST_TIterator.h:206: ISO C++ forbids in-class 
initialization of non-const
static member `pos'
/opt/speech_tools/include/EST_TIterator.h:206: warning: ISO C++ forbids 
declaration of `pointer' with
no type
/opt/speech_tools/include/EST_TIterator.h:206: warning: ISO C++ forbids 
initialization of member
`pointer'
/opt/speech_tools/include/EST_TIterator.h:206: warning: making `pointer' 
static
/opt/speech_tools/include/EST_TIterator.h:206: ISO C++ forbids in-class 
initialization of non-const
static member `pointer'
/opt/speech_tools/include/EST_TIterator.h:206: parse error before `return'

The lines 205 and 206 in EST_TIterator.h:
Iter &operator = (const Iter &orig)
    { cont=orig.cont; pos=orig.pos; pointer=orig.pointer; return *this;}

Iter is defined as
typedef EST_TIterator<Container, IPointer, Entry> Iter;
and EST_TItereator as
template <class Container, class IPointer, class Entry>
class EST_TIterator
in that same file. Tell me what else you need and I'll look for it.
Thank you.
- -- 
Pupeno: pupeno at pupeno.com
http://www.pupeno.com
- ---
Help the hungry children of Argentina, 
please go to (and make it your homepage):
http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9fvxhLr8z5XzmSDQRAq2jAKC2rQ1hcEW0h8cigkUj5oGUeRiSRQCgh/74
aDVdn2rkqTsvaexrim7tEdI=
=qs6h
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list