[aspectc-user] aspect compiler error

mathias.kurth at s2000.tu-chemnitz.de mathias.kurth at s2000.tu-chemnitz.de
Sun Sep 21 22:34:39 CEST 2003


I tried to compile some sources with the aspect compiler and 
got the following errors:

/home/kurm/Software/aspectc++/ac++ -v 9 -I /usr/local/mpich-1.2.5/bin/../include
 -I /home/kurm/Software/oompi/include/oompi -I ../../../../src/Aspic/asp -I
../../../../src/Extern/inc -I ../../../../src/Aspic/inc -r ./ac_repository.xml
-D _ASPECT_CPP_RUN_  -c Aspic.cpp -o obj/Aspic_wov.cpp -p.  -a TracingBase.ah 
-a AspicTracer.ah  -a AspicMPI.ah
* Running ac++ 0.7.2
* Creating project repository './ac_repository.xml'
* Handling Translation Unit `Aspic.cpp'.
  - Path "Aspic.cpp"
/usr/include/g++/bits/basic_string.tcc:165: error: redefinition of
`basic_string::_S_construct'
/usr/include/g++/bits/basic_string.h:747: previously defined here
/usr/include/g++/bits/localefwd.h:311: error: `_S_num_categories' undeclared
here
/usr/include/g++/bits/localefwd.h:357: error: invalid member declaration near
token `category'
/usr/include/g++/bits/locale_facets.h:418: error: invalid declaration near token
`<'
/usr/include/g++/bits/locale_facets.h:421: error: invalid declaration near token
`<'
/usr/include/g++/bits/locale_facets.h:534: error: invalid declaration near token
`<'
/usr/include/g++/bits/locale_facets.h:542: error: invalid declaration near token
`<'
/usr/include/g++/bits/locale_facets.h:1134: error: invalid declaration near
token `<'
/usr/include/g++/bits/locale_facets.h:1150: error: invalid declaration near
token `<'
/usr/include/g++/bits/locale_facets.h:1473: error: invalid declaration near
token `<'
/usr/include/g++/bits/locale_facets.h:1476: error: invalid declaration near
token `<'
/usr/include/g++/bits/locale_facets.h:1488: error: invalid declaration near
token `<'
/usr/include/g++/bits/locale_facets.h:1491: error: invalid declaration near
token `<'
/usr/include/g++/bits/basic_ios.h:118: error: invalid member declaration near
token `if'
/usr/include/g++/bits/basic_ios.tcc:50: error: `rdbuf' is not a member of
`basic_ios'
make: *** [obj/Aspic_wov.cpp] Fehler 1

I am using the gcc 3.2 (the one that ships with suse 8.1).
Any suggestions on how to get it working? Thanks.

Mathias Kurth




More information about the aspectc-user mailing list