[aspectc-user] bug in trunk: iterators in .h

Matthias Urban matthias.urban at pure-systems.com
Sun Nov 30 18:33:43 CET 2008


Hi Leandro,

> If I declare an iterator in a .h file like:
> 
> *list<char>::iterator it;*
> 
> it happens:
> 
> #> ag++ -c C.cc -a Tester.ah
> <typeinfo>:2: error: invalid member declaration near token `<'
> <typeinfo>:2: located in the following non-file unit:
> ...

Can you please give more details about C.cc and especially Tester.ah?
That would help me to reproduce it. Thanks.

Regards,
Matthias




More information about the aspectc-user mailing list