[aspectc-user] Re: Weaver parsing errors

Thiago A. CorrĂȘa thiagoacorrea at uol.com.br
Wed Mar 31 01:50:54 CEST 2004

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
/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.
> Olaf

More information about the aspectc-user mailing list