[aspectc-user] Re: Weaver parsing errors

Olaf Spinczyk Olaf.Spinczyk at informatik.uni-erlangen.de
Tue Mar 30 09:46:35 CEST 2004


Hi again,

> Sorry, looks like --vc solves the problem described, althought now it's
> template parsing problems again *g*
> 
> Qt's qptrlist.h:
> c:/qt/3.3.1/include/qptrlist.h(148): error: redefinition of
> `QPtrList::deleteItem'
> c:/qt/3.3.1/include/qptrlist.h(139): previously defined here
> c:/qt/3.3.1/include/qwinexport.h(109): error: invalid declaration near token
> `<'
> 
> c:/qt/3.3.1/include/qstrlist.h(52): error: invalid declaration near token
> `<'
> c:/qt/3.3.1/include/qwinexport.h(127): error: invalid declaration near token
> `<'
> 
> c:/wolfpack/wolfpack/console.h(72): error: invalid member declaration near
> token `commandMutex'
> c:/qt/3.3.1/include/qptrvector.h(104): error: redefinition of
> `QPtrVector::deleteItem'
> c:/qt/3.3.1/include/qptrvector.h(95): previously defined here
> c:/qt/3.3.1/include/qdict.h(95): error: redefinition of `QDict::deleteItem'
> c:/qt/3.3.1/include/qdict.h(86): previously defined here
> c:/wolfpack/wolfpack/network.h(77): error: invalid member declaration near
> token
>  `mutex'
>   - Aborting
> 
> it thinks that  (qptrlist.h:148):
> template<class type> inline void QPtrList<type>::deleteItem(
> QPtrCollection::Item d )
> as in:
> template<class type> inline void QPtrList<type>::deleteItem(
> QPtrCollection::Item d )
> {
>     if ( del_item ) delete (type *)d;
> }
> is a redeclaration, it can't figure that it's acctually the implementation.
> :(

I never tried to parse the QT header files under Windows. On Linux it 
worked quite well. Did you use version 0.8? We had similar problems in 
earlier version and hoped they were fixed now.

Olaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3142 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20040330/d05e8ecb/attachment.bin>


More information about the aspectc-user mailing list