[aspectc-user] Re: Weaver parsing errors

Olaf Spinczyk Olaf.Spinczyk at informatik.uni-erlangen.de
Wed Mar 31 09:32:53 CEST 2004


Thiago A. CorrĂȘa wrote:
> The header is the same. Qt crossplatform is done right :o)
> different cpp files ( *_win.cpp, *_unix.cpp ) for each platform, minimal
> number of #ifdefs, most of the code is shared between all platforms, and
> that header is from the shared part. Anyway, I tested it on a gentoo linux
> ( qt 3.2.3 ) and had the same problem, looks like it's not fixed:
> gentoo wolfpack # ac++ -p . -d /root/out -e
> cpp -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include/python2.3 -Isqlite -Ine
> twork -I/usr/qt/3/include -Iobj/ -v9
> * Running ac++ 0.8
> ...
> * Handling Translation Unit `definable.cpp'.
>   - Path "./definable.cpp"
>   - Inserting namespace AC
>   - Parsing ...
> /usr/include/python2.3/pyconfig.h:847: warning: Redefinition of macro
> /usr/include/features.h:131: previous definition here
> /usr/qt/3/include/qptrlist.h:148: error: redefinition of
> `QPtrList::deleteItem'
> /usr/qt/3/include/qptrlist.h:139: previously defined here
> /usr/qt/3/include/qstrlist.h:52: error: invalid declaration near token `<'
>   - Aborting
>>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.

ok, we'll look into this problem today. Maybe it can be fixed in 0.8.1. 
We'll also add a QT application to the standard test procedure.

Thanks for reporting this bug,


PS: I'll keep you informed by direct mail (not on the list).
-------------- 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/20040331/da595813/attachment.bin>

More information about the aspectc-user mailing list